Cloud Vision Sample app failed to make API request - google-cloud-vision

I am having trouble getting the Google Vision Sample App to have a successful API request.
I made sure the billing, API-key, were correct. I even tried using a browser key and service key, but had no luck.
The error coming back is:
failed to make API request because of other IOException Unable to
resolve host "vision.googleapis.com": No address associated with
hostname
If you have any ideas, I would surely appreciate it.

Solve:
Something was wrong with the Wifi on my phone. I think it was suffering from being off. I also changed the API-Key to Browser which is not the ideal solution, but will do for now.

Related

BT Web Protect blocking firebase storage urls

At some point yesterday (25/08/21) we started getting errors accessing any documents held in firebase storage.
I can see them in the firebase console, but if I try to view them I get an error.
The exact error depends on which browser but it was along the lines of:
This site can’t provide a secure connection
firebasestorage.googleapis.com uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
After a bit of digging, it seems specific to the BT ISP in the UK, and caused by their BT Web Protect product. If I disable Web Protect from my BT account I can access the urls again, but obviously that is not a solution I can offer to our customers. (Similarly, if I connect via a mobile hotspot on my phone, all is well)
I contacted BT who suggested I email saferbrowsing#bt.com and ask them to unblock it, so if anyone else is having this issue please do the same - the more noise on this the quicker the resolution hopefully.
To the Firebase team - is there anything you can do from your side to expedite this? Firebase Storage is a huge part of our product and it simply doesn't work for anyone on BT at the moment.
Thanks
John
I got a reply from BT this morning saying that firebase has been unblocked, and all seems to be working again. phew!
Several ISP's have anti-spam detection, this is used to hunt down new spikes of traffic that can seem suspicious. If you are getting faults from users from a specific ISP or geolocation, this can indicate outages or blocked requests.
The best solution is to always call their technical support and discuss what could have triggered it and remove any potential blocks from happening again.

How can I see logs of all calls made to the Firebase Realtime Database?

When I request data from Firebase, whatever language or location, I typically send a get request to a node, for instance:
/posts/foo/boo
Is it possible to view somewhere all the logs of the requests sent to Firebase? The reason I am asking is because I am trying to figure out my high costs for Firebase, as I don't see where the requests are made from.
There is no persistent log of such data, but you can use the database profiler to get a log of listens as they are happening.
Also see this recent blog post of someone using the profiler to troubleshoot a performance problem on their database.

why Firebase authentication doesn't work without google dns?

Sorry for my english...
I'm using firebase authentication for first the first time.
I discovered that I cannot create/connect to accounts if my network automatically selects dns and does not use google dns(8.8.8)
I do not understand how my application will work (just I think that not everyone uses this DNS).
Is there any way to fix this so it works for everyone?or is it work correctly?
without google dns
with google dns
Please check any that applies to you,
Is your ISP is blocking DNS queries to Google Authentication servers,
Are you using a proxy, if yes try disabling it, and then try again,
Check the error returned in auth callback when you are requesting authentication,
Check stack trace in LogCat of Android Studio.

Graph Explorer says access denied for view list of Channels. Using Microsoft Graph API

visual representation of graph explorer
"Failed to execute Skype backend request GetThreadsS2SRequest."
Today morning my app failed and when I digged enough I realize that somehow my permission to list the channels is denied. Weird part is if i put channels Id after channels in API, i get valid response.
I went to the documentation and made sure I have groupreadwrite permission, all of the sudden api for viewing channels of specific teams gives me
"Failed to execute Skype backend request GetThreadsS2SRequest." error. Sys admin says that no permissions has been changed.
I would expect graph explorer to list all the channels in that specific teams with the v1 endpoint /teams/teamId/channels
Yes, and yes the issue has been fixed. Whole day I had to debug my app to figure out where did the code went wrong. Sometimes it is better look at the source. I checked with Microsoftgraph dotnet issues forum and found out that channel api has some issue. Graph explorer really helped me understand that it was not my code. By the way, I thought since they are deploying channel with private members features. I thought that could be the reason behind it. Thank you for the all the above comments. I wish there is a page where microsoft could tell us in the future if there is any api that is not working

Does the MS Health API Support CORS?

I'm working on a web app that connects to the MS Health API. I'm able to get my authorization code from the API but then when I execute the POST to get the authorization token I get a CORS error.
Does the service have CORS enabled? If not, what approach should I be taking to get this to work?
Yes.
After spending some time with the MS Health support team on email, they confirmed that the server is set-up to support CORS. The problem is that if you call the Summaries end-point (http://api.microsofthealth.net/v1/me/Summaries) without adding the time period to the end (.../Summaries/Daily) you'll get a CORS error. It would of course be more helpful to get a different, more obvious error.

Resources