-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vision: '503 ServiceUnavailable Connect Failed' raised during 'annotate_image' #6190
Comments
@DowneyTung Can you please show the version of |
Odd... Unlike #6121, the Vision GAPIC configuration shows I'm guessing that the API call must have been retried, but that the 503 error persisted beyond the count / timeout. |
|
I am not sure I am following your comment. Do you need extra info for investigate this issue? |
Might be related to the service outage mentioned in #6172. /cc @beccasaurus, @zinjiggle. |
Hi @tseaver Here is some more stacktrace for resolving this issue:
|
@tseaver I think there is some connection issue, but I am not sure whether this is something related to google. I solved this issue by just retrying to instantiate a new client, usually it works after I instantiate a new client.
|
@DowneyTung Interesting. The core error in that set of stacktraces is |
I would think it is not related to |
I'm not sure where that would be: maybe with your hosting provider (if their DNS infrastructure was flapping?) If you think the issue was with the "root" DNS entry for |
please check your local network. |
I see this happening too and believe it's ISP-specific. |
OS type and version
HostOS: MacOS High Sierra 10.13.6
Docker Version: 18.06.10-ce
Python version: 3.6
google-cloud-python version
pip show google-cloud
,pip show google-<service>
orpip freeze
Google-cloud version: 0.34.0
Stacktrace if available
To reproduce it, we can try to instantiate multiple instances of google vision client and call the text detection service multiple times and in parallel. All these should be run inside docker containers
Here is the small python snippet that you can use to run multiple times in parallel by instantiate multiple client instances and do text detection
The text was updated successfully, but these errors were encountered: