-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
storage: read -> connection reset by peer #108
Comments
The problem still persists, and with non-slow downloads too. I'm using a simple reader to stream download a file from GCS into GCE at about 2-3 MB/s, and GCS still manages to interrupt the download after some time (last time it was a bit more than 2 hours in (yes, it's a huge file :P). |
I have a theory that the oauth token is expiring during the transfer, but I could be totally wrong. |
Hey Glenn, actually I opened that discussion too :P Note however, that this issue is not about upload, but rather download. There shouldn't be any auth issues there, since after the initial read grant, GCS is never queried for further permissions. This issue could probably be solved by using a resumable download, but I'm reluctant to suggest that since I would expect GCS -> GCE to work flawlessly and not get dropped randomly (maybe occasionally is understandable, but definitely not regularly). |
ping @gmlewis do you have for an update for ResumableMedia for this almost 2 years? my app is doing constantly uploading relatively large files (hundreds MBs to GBs); with current ResumableMedia seems available in the raw api library https://godoc.org/google.golang.org/api/storage/v1 |
@c0b We do use resumable media for upload. Can you give us more information on your problem? Preferably in a different issue—this one is about reads, not writes. |
@karalabe Are you still experiencing download problems? We haven't heard any other reports of this problem. I'm going to close, but re-open if it's still an issue for you and we'll look into it. |
Hah, I opened this request sooo long ago :) My old project got abandoned a few years back so no more data point for you. Feel.free to close, someone can repost if they hit it. |
I'm hitting this. I'm not sure what I did wrong. Any help would be appreciated.
This was v0.7.0. I'll try upgrading first. UPDATE: Sorry, self-signed SSL error 😏 |
@jba I've experienced this intermittent failure with Python Cloud Functions. I've attached a traceback. I'll leave this here as a data point, but if the issue persists I'll add more detail. |
As this is happening regularly for me in Python, I've reported it here: https://issuetracker.google.com/issues/113672049 . (Will also post to the Google cloud python repo) |
I get the same error as OP @karalabe and @brianmhunt. It happens during:
This is running Google Cloud Functions with Python 3.7 and Not all the time, about 10% failure rate. Function deployed to |
I still get this issue regularly. Failure rates are low - something like 2-3 percent, but they are regular. |
I still get this with Go on Google Cloud Functions (both cloud-functions-go and Google Cloud Functions for Go). Both on uploads and downloads. It seems to be a property of the environment? Instances, when not used, are left in a frozen state. Server drops the connection but client doesn't realize it because it's frozen. Node.js package authors have avoided My particular function downloads a file, converts it to something else, then uploads it. The error pattern I get is: Fix for me is: check the error for this particular error ( My question is, why isn't this particular error retried? |
@ncruces We're doing some investigating but would love more details on what's going on. Would it be possible to open a new issue, in which you describe what you're doing and what you're seeing? Specifically which operations you're running and so on. Also, could you email me at [email protected] your app-id so that we can go inspect logs? |
I'm sorry for not responding sooner. I'm sending you an email, and opened #1253. |
'smee again :D :P
I'm probably missing something, but I've hit this snag and thought I'd ask if it's something occasional, or if it's by design, and I missed the docs for it.
I was slowly streaming a download from GCS to GCE, processing some data and pushing stuff back up to GCS. After about 10-15 minutes, my reader crashed with
read tcp 64.233.182.132:443: connection reset by peer
. I haven't really found any reason why GCS would disrupt a running download (apart from maybe deeming it too slow). Is there some time/rate/whatev limit that CGS imposes, or should I look for the culprit somewhere else?Thanks
The text was updated successfully, but these errors were encountered: