chrome extension using google.payments.inapp fails - google-chrome

I'm trying to enable in-app purchase inside my chrome extension. For that I've integrated with Google's buy.js lib.
Now when I attempt to purchase using this endpoint - google.payments.inapp.buy
I get the following error -
An unexpected error has occurred. Please try again later.
When I look at the console of the prompted paymet screen I see that there's a failed attempt to call a service at url -
https://224.32.32.55/29753 Failed to load resource:
net::ERR_ADDRESS_UNREACHABLE
It used to work in the past and stopped. What could be causing this?

Related

Google Chrome always crashes after opening a page

Opening google-chrome and starting any page will lead to "freezing". When start with terminal, it shows some errors:
ERROR: gpu_process_host.cc(956)] GPU process exited unexpectedly: exit_code=139
ERROR: gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
ERROR: command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
ERROR: chrome_browser_main_extra_parts_metrics.cc(228)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
ERROR: chrome_browser_main_extra_parts_metrics.cc(231)] crbug.com/1216328: Checking Bluetooth availability ended.
ERROR: chrome_browser_main_extra_parts_metrics.cc(234)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
ERROR: chrome_browser_main_extra_parts_metrics.cc(238)] crbug.com/1216328: Checking default browser status ended.
ERROR: platform_thread_posix.cc(147)] pthread_create: Resource temporarily unavailable (11)
I delete the repeated lines. Actually, this situation arise when I upgraded Ubuntu 18.04 to 20.04, and updated chrome to newest. I have no idea what's the problem about. I searched these output but seems nobody has similar problem.
By the way, vscode sometimes freeze like chrome after that upgrade. I don't know if there are any relationships...
What are you trying to do? Where these errors are getting displayed ? If you are using Selenium and you are getting these errors in the console then add these options into your Selenium code-
options = webdriver.ChromeOptions()
options.add_experimental_option('excludeSwitches', ['enable-logging'])
driver = webdriver.Chrome(options=options)

Error: getaddrinfo ENOTFOUND api.appcenter.ms api.appcenter.ms:443 throws on uploading files to appcenter

I am working on sample tests for mobile application and to upload and run in AppCenter. I have tried with XamarinUITest and C# combination; test files uploaded and ran successfully. On trying test files with Appium, Java and Junit and tried to upload it in AppCenter throws Error: getaddrinfo ENOTFOUND api.appcenter.ms api.appcenter.ms:443 in Terminal.
The snippet I am using to upload is:
appcenter test run appium --app "Appium/JunitiOS" --devices "Appium/iphone" --app-path pathToFile.ipa --test-series "test" --locale "en_US" --build-dir target/upload
Note: given corresponding file paths in the snippet.
and get the below in Terminal:
Preparing tests... done.
Validating arguments... done.
Creating new test run... done.
Validating application file... done.
Uploading files... failed.
Error: getaddrinfo ENOTFOUND api.appcenter.ms api.appcenter.ms:443
Environment: darwin
App Upload Id: Appium/JunitiOS
Timestamp: 1554114371409
Operation: RunAppiumTestsCommand
Exit Code: 3
This error usually occurs when there's some sort of network issue (either WiFi dropping out, a corporate firewall or proxy or a DNS issue are likely culprits)
Things to try if the successful upload is running on a different machine or a different network
Check the failing upload over a different network
Make sure you can see the URLs and IPs from the machine you're running on
If that fails - reach out to support using the App Center portal and a support engineer will help you get up and running
Things to try if the successful upload is running on the same machine on the same network
Double check that the UITest tests are still working successfully
Check that you don't have any corporate firewall policies which could be blocking specific files
If that fails - reach out to support using the App Center portal and a support engineer will help you get up and running
I would also recommend running the command again using --debug - you should be able to see the API calls being sent and identify at which point the uploads are failing (and if it's the same point every time).

Xcode Server Bot, ipatool error

We have an Xcode Server bot set up for CI for our project, using Xcode 7.1. It's set to produce an IPA. We only recently noticed, but a few weeks ago, it started giving this warning every build:
Bot Issue for CareConsult Bot (develop) (build service warning)
Assertion: exportArchive: ipatool failed with an exception:
File: (null):(null)
This prevents it from producing an IPA, which is a problem.
I've tried:
- Creating a new bot
- updating gems (saw a similar issue that was resolved this way)
Doing an archive & export on my local machine gives the same error if I choose to "Export for specific device". So the problem is not specific to the build server.
Any ideas?
My suspicion is that this has to do with enabling bit code, and the build bot is using the "compile from bitcode" option by default. I'm still digging into this, but figured I'd share what I have found thus far.

Failed to load resource: net::ERR_EMPTY_RESPONSE

I came across the following error in chrome for this url.
Failed to load resource: net::ERR_EMPTY_RESPONSE http://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/Nuvola_apps_kaboodle.svg/16px-Nuvola_apps_kaboodle.svg.png
I'm able to open the url provided in the error message without any errors.
So, What is the reason for the error?
I have this issue in my website with the file indexMob.js since I installed Avast Antivirus.
When I disabled the web shield feature its solved the issue.

Failed to generate code for the service reference 'RouteService'.in wp8

I have developed a wp7 app,
and i have upgraded that into wp8.
when i build the app it shows the following error
1)Custom tool error: Failed to generate code for the service reference 'RouteService'. Please check other error and warning messages for details.
2)Custom tool error: Failed to generate code for the service reference 'GeoCodecService'. Please check other error and warning messages for details.
I tried, delete that service references and added that again, but no use.
how can i solve this errors.
Can anybody help me.
Thank you.
Why don't you just use the new API's for Wp8, they are very easy:
for routing: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj244363(v=vs.105).aspx#BKMK_showroute
and check this for all other functions: http://www.developer.nokia.com/Resources/Library/Lumia/#!guide-to-the-maps.html