Comments (9)
I am getting the same error and was able to remove this error when disable https://support.google.com/a/answer/9368756?hl=en. Re-enable causes the same error.
It looks like this happening in the python oauth2 sdk.
from python-storage.
are there any updates on this? I experience the same error...
from python-storage.
Hi @hixus ,
gsutil uses google-reauth-python library as you can see here.
There isn't much documentation out there on how to use that library, but you can try studying how it was implemented in gsutil here.
from python-storage.
Hi,
gsutil asks for re-authentication, and asks for password. Our accounts are SSO enabled, so there is no password. How to proceed with this?
For now, we use a service account gcloud auth activate-service-account --key-file=/creds.json
to bypass this issue. Also we cannot use this for user auth enabled applications
gcloud init
does not work either, it says Re authentication needed.
from python-storage.
@sivakon Can I confirm that you are also under the "Session Length for Google Cloud Services" organization policy as per this page: https://support.google.com/a/answer/9368756?hl=en ?
from python-storage.
@andrewsg Upon talking with the support team, I found out that they implemented new security policy that restricts user auth session length https://support.google.com/a/answer/9368756?hl=en
from python-storage.
I believe this is actually an issue for the google-auth-python
repository, likely already identified in googleapis/google-auth-library-python#261.
from python-storage.
We're making progress on this in the auth side and should have a timeline soon.
from python-storage.
googleapis/google-auth-library-python#727 added reauth support to the synchronous version of user credentials. It was released in [google-auth 1.29.0
]](https://github.com/googleapis/google-auth-library-python/releases/tag/v1.29.0).
googleapis/google-auth-library-python#738 are now supported in added reauth support to the asynchronous version of user credentials. It was released in `google.auth 1.30.0. Note that the async version of the feature is marked as "internal ... for gcloud developers only" in the release notes.
from python-storage.
Related Issues (20)
- Need to be able to download objects without storage.bucket.get permission same as gsutil HOT 1
- BlobWriter should abort multipart upload during exception handling HOT 7
- docs: add object retention samples
- Add http.client.RemoteDisconnected to list of retryable exceptions HOT 1
- Add 503 to list of retriable HTTP response codes HOT 4
- Warning: a recent release failed HOT 1
- Discussion: Contribution Idea - Python Code Sample for Handling Large JSON Files on Google Cloud HOT 3
- Sign blob URL using workload identity instead of common service account credentials HOT 9
- blob.upload_from_string get error Caused by SSLError(SSLEOFError HOT 2
- Support Storage Control Quickstart HOT 2
- `Blob.content_type` is `None` when created `from_string()` HOT 1
- match_glob keyword argument on google.cloud.storage.Client().list_blobs() has disappeared HOT 2
- Blob Writer's close function causes latency > 15s under load. HOT 6
- FR: Support HNS enablement in bucket metadata
- Can't set Cache-Control on GCS object HOT 2
- media_link & self_link in blob do not update when client option "api_endpoint" is set HOT 2
- Bypass 8MB limit to allow file to be uploaded in single request HOT 1
- Retry batch delete blob on 503
- Some unit tests require real credentials files
- Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-storage.