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
BigQuery: 400 PUT: Unknown upload notification type: 5 #115
Comments
This appears to be happening from the shared resumable media handling backend. I would expect similar errors to occur in Google Cloud Storage and other APIs that use it. Moving this issue to the resumable media repo for further investigation. CC @tseaver or @plamut Could one of you investigate? I haven't worked much in this library. |
@tswast I haven't worked much myself either, but if nobody can take it over, I'll try to find some time and investigate in the near future, since it's a P1. |
+1 Seeing the same intermittent exception. |
Hmm, that error message is odd: we don't send any "upload notification type" along to the server anywhere. For each chunk of a resumable upload, the payload is the chunk bytes, and the headers sent along consist only of |
There's a similar report against Ruby with roughly the same time range reported, which indicates there may have been issues around Dec 17-18. Internal issue that may be related to this: 146493477 For @nmatare it would be great to have more details about the requests that are failing, since that particular error can mask multiple possible causes. Is this still BigQuery in your case, or a different API/service such as cloud storage? When you observed failures, what was the file size/type/etc? |
+1 Seeing the same intermittent exception when using BigQuery client.load_table_from_json() |
We haven't seen reports of this since January and are still missing some info from @nmatare - the internal bug doesn't have more info (seemed transient? but can't 100% tell?) so for lack of next steps, I'm tempted to close this out. If you have repro info or have seen this error since, please add details below. In the meantime, since it doesn't seem actually related to BigQuery but rather the resumable media backend as per Tim's original triage, I'm going to unassign from Tres/Peter. |
Please follow up / reopen if more information becomes available. |
This error seems to happen randomly, running again with the same configuration usually succeeds. The CSV has around 10M rows / 1G compressed.
Environment details
OS type and version
Linux 58900130398d 4.9.184-linuxkit googleapis/google-cloud-python#1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 GNU/Linux
Python version and virtual environment information:
python --version
Python 3.6.8
google-cloud- version:
pip show google-<service>
orpip freeze
google-cloud-bigquery==1.23.0
Steps to reproduce
Unable to reproduce, seems to happen randomly.
Code example
https://github.com/keboola/google-bigquery-writer/blob/ef75b76208510a23dec840446623c75bb2d73286/google_bigquery_writer/writer.py#L127
Stack trace
The text was updated successfully, but these errors were encountered: