René's URL Explorer Experiment


Title: Started getting random ValueError: Bad response: not multi-part exceptions · Issue #404 · googleapis/python-storage · GitHub

Open Graph Title: Started getting random ValueError: Bad response: not multi-part exceptions · Issue #404 · googleapis/python-storage

X Title: Started getting random ValueError: Bad response: not multi-part exceptions · Issue #404 · googleapis/python-storage

Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response. Plea...

Open Graph Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...

X Description: Thanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...

Opengraph URL: https://github.com/googleapis/python-storage/issues/404

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Started getting random ValueError: Bad response:  not multi-part exceptions ","articleBody":"Thanks for stopping by to let us know something could be better!\r\n\r\n**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.\r\n\r\nPlease run down the following list and make sure you've tried the usual \"quick fixes\":\r\n\r\n  - Search the issues already opened: https://github.com/googleapis/python-storage/issues\r\n  - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python\r\n\r\nIf you are still having issues, please be sure to include as much information as possible:\r\n\r\n#### Environment details\r\n\r\n  - OS type and version: Debian GNU/Linux 10 (buster)\r\n  - Python version:  Python 3.7.7\r\n  - pip version: pip 21.0.1\r\n  - `google-cloud-storage` version: 1.37.0\r\n\r\n#### Steps to reproduce\r\n\r\n  1. I cannot reproduce this because it is happening periodically, and only in my production flask app, not even on the same docker image running in staging with less traffic.  This makes me think its related to some threading related issue, but I can't isolate the problem. \r\n  2. This problem started without any code changes on our side, and without changing the docker image, so something changed in the google cloud storage server response behavior that started triggering this sometime starting on March 30, and then ramping up in frequency on April 1st and 2nd. \r\n\r\n#### Code example\r\n\r\nI don't have a concise code example. But it's being triggered with\r\nget_blob(key).\r\n\r\n\r\n#### Stack trace\r\n```\r\ntraceback: [\r\n0: \"Traceback (most recent call last):\r\n\"\r\n1: \"  File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1950, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n\"\r\n2: \"  File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1936, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n\"\r\n3: \"  File \"/usr/local/lib/python3.7/site-packages/middle_auth_client/decorators.py\", line 171, in decorated_function\r\n    return f(*args, **kwargs)\r\n\"\r\n4: \"  File \"/usr/local/lib/python3.7/site-packages/middle_auth_client/decorators.py\", line 253, in decorated_function\r\n    return f(*args, **kwargs)\r\n\"\r\n5: \"  File \"./pychunkedgraph/app/meshing/v1/routes.py\", line 75, in handle_get_manifest\r\n    return common.handle_get_manifest(table_id, node_id)\r\n\"\r\n6: \"  File \"./pychunkedgraph/app/meshing/common.py\", line 204, in handle_get_manifest\r\n    flexible_start_layer=flexible_start_layer\r\n\"\r\n7: \"  File \"./pychunkedgraph/meshing/meshgen_utils.py\", line 152, in get_highest_child_nodes_with_meshes\r\n    existence_dict = stor.files_exist(filenames)\r\n\"\r\n8: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/storage/storage.py\", line 584, in files_exist\r\n    self.wait(desc)\r\n\"\r\n9: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/threaded_queue.py\", line 234, in wait\r\n    self._check_errors()\r\n\"\r\n10: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/threaded_queue.py\", line 191, in _check_errors\r\n    raise err\r\n\"\r\n11: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/threaded_queue.py\", line 153, in _consume_queue\r\n    self._consume_queue_execution(fn)\r\n\"\r\n12: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/threaded_queue.py\", line 180, in _consume_queue_execution\r\n    fn()\r\n\"\r\n13: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/storage/storage.py\", line 575, in exist_thunk\r\n    results.update(interface.files_exist(paths))\r\n\"\r\n14: \"  File \"/usr/local/lib/python3.7/site-packages/cloudvolume/storage/storage_interfaces.py\", line 240, in files_exist\r\n    result[file_path] = self._bucket.get_blob(key)\r\n\"\r\n15: \"  File \"/usr/local/lib/python3.7/site-packages/google/cloud/storage/batch.py\", line 296, in __exit__\r\n    self.finish()\r\n\"\r\n16: \"  File \"/usr/local/lib/python3.7/site-packages/google/cloud/storage/batch.py\", line 281, in finish\r\n    responses = list(_unpack_batch_response(response))\r\n\"\r\n17: \"  File \"/usr/local/lib/python3.7/site-packages/google/cloud/storage/batch.py\", line 334, in _unpack_batch_response\r\n    raise ValueError(\"Bad response:  not multi-part\")\r\n\"\r\n18: \"ValueError: Bad response:  not multi-part\r\n```\r\n\r\nMaking sure to follow these steps will guarantee the quickest resolution possible.\r\n\r\nThanks!\r\n","author":{"url":"https://github.com/fcollman","@type":"Person","name":"fcollman"},"datePublished":"2021-04-02T21:45:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/404/python-storage/issues/404"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:36b4e40e-07b3-065f-f5ca-c445b9f66448
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD49A:44273:749AB:A69BB:6A4E240A
html-safe-nonce100540c6cac1881f1bf809020726423e7dc4d8e730102aff4e79adee5872e70b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDlBOjQ0MjczOjc0OUFCOkE2OUJCOjZBNEUyNDBBIiwidmlzaXRvcl9pZCI6IjQwMDE3Nzk1NDE1Mjk3MzIxMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac26a270c902052dc4a75fa9db9c7ec7cc7c7fb5d145d0c1be6e8db471a9e45cb4
hovercard-subject-tagissue:849497669
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-storage/404/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ac98601ad33c84f8ac0a42d551d00014896fecd6a4d7e979119d068be33edc85/googleapis/python-storage/issues/404
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac98601ad33c84f8ac0a42d551d00014896fecd6a4d7e979119d068be33edc85/googleapis/python-storage/issues/404
og:image:altThanks for stopping by to let us know something could be better! PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefcollman
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-storage git https://github.com/googleapis/python-storage.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992639
octolytics-dimension-repository_nwogoogleapis/python-storage
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992639
octolytics-dimension-repository_network_root_nwogoogleapis/python-storage
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5fe497b4815fcce3df76c0e246faa739a82c3124
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-storage/issues/404#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-storage%2Fissues%2F404
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-storage%2Fissues%2F404
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fpython-storage
Reloadhttps://github.com/googleapis/python-storage/issues/404
Reloadhttps://github.com/googleapis/python-storage/issues/404
Reloadhttps://github.com/googleapis/python-storage/issues/404
Please reload this pagehttps://github.com/googleapis/python-storage/issues/404
googleapis https://github.com/googleapis
python-storagehttps://github.com/googleapis/python-storage
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-storage
Fork 172 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-storage
Star 502 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-storage
Code https://github.com/googleapis/python-storage
Issues 0 https://github.com/googleapis/python-storage/issues
Pull requests 0 https://github.com/googleapis/python-storage/pulls
Actions https://github.com/googleapis/python-storage/actions
Projects https://github.com/googleapis/python-storage/projects
Security and quality 0 https://github.com/googleapis/python-storage/security
Insights https://github.com/googleapis/python-storage/pulse
Code https://github.com/googleapis/python-storage
Issues https://github.com/googleapis/python-storage/issues
Pull requests https://github.com/googleapis/python-storage/pulls
Actions https://github.com/googleapis/python-storage/actions
Projects https://github.com/googleapis/python-storage/projects
Security and quality https://github.com/googleapis/python-storage/security
Insights https://github.com/googleapis/python-storage/pulse
#609https://github.com/googleapis/python-storage/pull/609
Started getting random ValueError: Bad response: not multi-part exceptions https://github.com/googleapis/python-storage/issues/404#top
#609https://github.com/googleapis/python-storage/pull/609
https://github.com/cojenco
api: storageIssues related to the googleapis/python-storage API.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22api%3A%20storage%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/fcollman
fcollmanhttps://github.com/fcollman
on Apr 2, 2021https://github.com/googleapis/python-storage/issues/404#issue-849497669
support consolehttps://cloud.google.com/support/
https://github.com/googleapis/python-storage/issueshttps://github.com/googleapis/python-storage/issues
https://stackoverflow.com/questions/tagged/google-cloud-platform+pythonhttps://stackoverflow.com/questions/tagged/google-cloud-platform+python
cojencohttps://github.com/cojenco
api: storageIssues related to the googleapis/python-storage API.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22api%3A%20storage%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-storage/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.