You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
We can not access the URL currently. Please download the content and pass it in. #2276
When working on the remote label detection i get this message on many (like really many) accessible and existing images.
e.g. http://heizung-dinges.de/assets/images/Koebig2.jpg
Also some other times i will get the message Bad image data. On different existing and accessible images. Re-requesting the API is not working, same exact errors will occur.
Reacted by Travis Fischer, Ihor Klimov, Vlad Tsepelev, Dylan Pierce, TedLLH, Alejandro Fuentes, Anthony Dellavecchia and Guanyu Zhou
@yamennassif could you provide more detail about what API and method you are using? Sample code would be helpful to figure out what may be causing the problem.
with a small change :
replaced : ImageSource imgSource = ImageSource.newBuilder().setGcsImageUri(gcsPath).build();
with : ImageSource imgSource =ImageSource.newBuilder().setImageUri(gcsPath).build();
We are also facing this issue .
Out of 50 requests, we receive below error for 45 images: We can not access the URL currently. Please download the content and pass it in
I get this error repeatedly, and I wonder if it is because the images I am trying to process via URL have a noindex header (they're on a sandbox website of a hosting company that noindexes all websites until they're paid accounts).
hi, i will be glad to help you. can you please elaborate the use case. this repository is a collection of integration examples. it is hard to track the problem without a concrete code excerpt and additional information.
the information in previous comments is outdated and often unavailable.
Glad to find this thread. I've got this exact issue in my application. I use Google Vision API and I have images on public https sites and on google cloud storage buckets. Google vision api client can process hundred or thousands images for a few hours and suddenly none of the images can be processed (either on https or on google storage buckets) with this message The URL does not appear to be accessible by us. Please double check or download the content and pass it ..
It seemed that I have to restart the application to stop those errors from Google Vision API.
Those failed images are perfectly accessible and if I use the gcUri (or uri out of google storage) of the failed images in google vision api client, it can be processed again.
I check that my quota on vision api is fine. This issue repeatedly happens and I am surprised that this is a known issue for 5 years without a solution. I could load all images to google storage as one of the suggested solutions above, but I confirmed that this error happens for images on google storage buckets.
This bit us as well. Our images are stored on Amazon S3, and switching to Google Storage isn't a viable option.
This means we have to upload the image data thrice, once to our server, then to both S3 and Google vision. If we could use the S3 url, we wouldn't have to send the image data to our server at all, since Google could collect it from S3, and we could upload to S3 directly from the frontend.
This bit us as well. Our images are stored on Amazon S3, and switching to Google Storage isn't a viable option.
This means we have to upload the image data thrice, once to our server, then to both S3 and Google vision. If we could use the S3 url, we wouldn't have to send the image data to our server at all, since Google could collect it from S3, and we could upload to S3 directly from the frontend.
Just experienced this same issue. This is definitely not a bug and on purpose Google made it so you cant use s3 url's even if they are signed or publicly accessible. This is a huge issue for us as we dont want to have to download the image from s3 and convert to base64. We use AWS Lambdas and could have a batch size of 100, so I really do not want to have to download that for each record, or worse decrease the batch size just for a simple logo detection.
I doubt you're still having this issue, but for anyone who is, I highly recommend Azure instead as the logo detection is much better and also works with s3 signed urls. I have zero affiliation with Azure btw, I dont work there never have and never will. I strongly dislike Azure for everything other than their computer vision suite of products.
Google you guys are absolutely awful for limiting your service this way. There's no way this is on accident as this was opened in 2017. Its now 2024. The same s3 signed url works on azure and any other logo detection service I looked into, the only one that did not work was Google Cloud Vision. So ironic the company slogan is "do no evil", you guys are the epitome of evil tech companies. Making your service worse on purpose for users who are paying money is definitely evil.
There's no way this is on accident as this was opened in 2017. Its now 2024. The same s3 signed url works on azure and any other logo detection service I looked into, the only one that did not work was Google Cloud Vision. [...] Making your service worse on purpose for users who are paying money is definitely evil.
I found them dropping packets (to googleapis, eg: oauth) when accessed from specific (competing) hosting provider, messing with SSL over IPv6 from specific (competing) datacenter, and doing all sorts of subtle (and less subtle) things at the network/network-quality level to maintain monopoly and supremacy.
Nowadays they even attack Europeans VPN providers and segment the internet using reCaptcha (hand in hand with Cloudflare) and so on and so on...
If only it was just about GoogleVision API 🤣 ! (Looking at the rear-view, the situation was much better back in 2017)
NB: The "do not evil" moto is long gone (but was actually a smart trick to bootstrap in the early 2000')
Activity
tcoffee-google commentedon Jul 27, 2017
@yamennassif could you provide more detail about what API and method you are using? Sample code would be helpful to figure out what may be causing the problem.
yamennassif commentedon Jul 28, 2017
@tcoffee-google i am using the example provided here
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/vision/cloud-client/src/main/java/com/example/vision/Detect.java
detectLabelsGcs
with a small change :
replaced :
ImageSource imgSource = ImageSource.newBuilder().setGcsImageUri(gcsPath).build();with :
ImageSource imgSource =ImageSource.newBuilder().setImageUri(gcsPath).build();tcoffee-google commentedon Jul 28, 2017
From https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2215, this appears to be a problem with the backend API, which can be worked around by fetching the image data independently.
The issue has been recently posted on StackOverflow, where it should be picked up by the API team.
kenyangzj commentedon Nov 8, 2017
Hello any update on this issue?
drzraf commentedon Nov 9, 2017
Same issue:
We're not allowed to access the URL on your behalf. Please download the content and pass it in.(code 7)We can not access the URL currently. Please download the content and pass it in.(code 4 or 13)yamennassif commentedon Nov 21, 2017
@tcoffee-google can you maybe check if there is any updates on this ?
nitishgargiitd commentedon Mar 6, 2018
Getting this error quite a lot too while using ruby library for Google Cloud Vision
credi-himanshu commentedon Apr 2, 2018
@nitishgargiitd Were you able to resolve it? If yes, please let me know how.
pass content not uri for images
ankit-joinwal commentedon Jul 20, 2018
We are also facing this issue .
Out of 50 requests, we receive below error for 45 images:
We can not access the URL currently. Please download the content and pass it in
Any help is highly appreciated.
hashwin commentedon Aug 18, 2018
Facing the same issue. The API is not working consistently even though the images should all be publicly accessible.
tobycheese commentedon Aug 26, 2018
Also getting this now. Same code worked back in September 2017.
visox commentedon Oct 23, 2018
Same here
it did work few days ago :/
kjj77 commentedon Nov 2, 2018
Same error here for a node.js API call :
{
"responses": [
{
"error": {
"code": 14,
"message": "We can not access the URL currently. Please download the content and pass it in."
}
}
]
}
Used to work without problems, it seems to happen randomly on the same image, sometimes the image is processed sometimes this code is returned
15 remaining items
benupham commentedon Mar 8, 2022
I get this error repeatedly, and I wonder if it is because the images I am trying to process via URL have a noindex header (they're on a sandbox website of a hosting company that noindexes all websites until they're paid accounts).
minherz commentedon Apr 13, 2022
hi, i will be glad to help you. can you please elaborate the use case. this repository is a collection of integration examples. it is hard to track the problem without a concrete code excerpt and additional information.
the information in previous comments is outdated and often unavailable.
mdInuvo commentedon Apr 27, 2022
Glad to find this thread. I've got this exact issue in my application. I use Google Vision API and I have images on public https sites and on google cloud storage buckets. Google vision api client can process hundred or thousands images for a few hours and suddenly none of the images can be processed (either on https or on google storage buckets) with this message
The URL does not appear to be accessible by us. Please double check or download the content and pass it ..It seemed that I have to restart the application to stop those errors from Google Vision API.
Those failed images are perfectly accessible and if I use the gcUri (or uri out of google storage) of the failed images in google vision api client, it can be processed again.
I check that my quota on vision api is fine. This issue repeatedly happens and I am surprised that this is a known issue for 5 years without a solution. I could load all images to google storage as one of the suggested solutions above, but I confirmed that this error happens for images on google storage buckets.
Please help.
jontebol commentedon Aug 17, 2023
This bit us as well. Our images are stored on Amazon S3, and switching to Google Storage isn't a viable option.
This means we have to upload the image data thrice, once to our server, then to both S3 and Google vision. If we could use the S3 url, we wouldn't have to send the image data to our server at all, since Google could collect it from S3, and we could upload to S3 directly from the frontend.
jowo-io commentedon Jan 24, 2024
this is still an issue, happening in my project too. it was working just fine last week, this week: nope.
jordmax12 commentedon Jun 5, 2024
Just experienced this same issue. This is definitely not a bug and on purpose Google made it so you cant use s3 url's even if they are signed or publicly accessible. This is a huge issue for us as we dont want to have to download the image from s3 and convert to base64. We use AWS Lambdas and could have a batch size of 100, so I really do not want to have to download that for each record, or worse decrease the batch size just for a simple logo detection.
I doubt you're still having this issue, but for anyone who is, I highly recommend Azure instead as the logo detection is much better and also works with s3 signed urls. I have zero affiliation with Azure btw, I dont work there never have and never will. I strongly dislike Azure for everything other than their computer vision suite of products.
Google you guys are absolutely awful for limiting your service this way. There's no way this is on accident as this was opened in 2017. Its now 2024. The same s3 signed url works on azure and any other logo detection service I looked into, the only one that did not work was Google Cloud Vision. So ironic the company slogan is "do no evil", you guys are the epitome of evil tech companies. Making your service worse on purpose for users who are paying money is definitely evil.
drzraf commentedon Jun 6, 2024
I found them dropping packets (to googleapis, eg: oauth) when accessed from specific (competing) hosting provider, messing with SSL over IPv6 from specific (competing) datacenter, and doing all sorts of subtle (and less subtle) things at the network/network-quality level to maintain monopoly and supremacy.
Nowadays they even attack Europeans VPN providers and segment the internet using reCaptcha (hand in hand with Cloudflare) and so on and so on...
If only it was just about GoogleVision API 🤣 ! (Looking at the rear-view, the situation was much better back in 2017)
NB: The "do not evil" moto is long gone (but was actually a smart trick to bootstrap in the early 2000')
deps: update dependency org.json:json to v20231013 - abandoned (#2276)
chore(main): release 2.44.1 (#2286)
feat: Adding CDC sample (#2263)
chore(main): release 2.34.0 (googleapis#2276)
deps: update dependency com.google.protobuf:protobuf-java-util to v4.…
deps: update dependency com.google.protobuf:protobuf-java-util to v4.…
chore(main): release 2.40.1-SNAPSHOT (googleapis#2276)