Comments (6)
Google seems to have cancelled the client access ID used by gcsfs, which is required for the "device code" method of creating a token. Is this six months?
Alternatively, it may be that your refresh token is six month old, in which case you should be able to login again using the google CLI and pass the token JSON file from there token="path/to.json"
.
Note that you probably need a "project="
at instantiation. I think the default is set to ""
, and you are not getting the appropriate warning.
I can create another client id for the device code, and have tested this works, but not immediately sure how to propagate this as a fix for everyone.
from gcsfs.
I can create another client id for the device code, and have tested this works, but not immediately sure how to propagate this as a fix for everyone.
Does this mean that the not_secret
data in gcsfs is what expired? If so then there must be some way to make this more durable. Short term would a release with a new code work?
from gcsfs.
Exactly.
Yes, an immediate release with a new code would work, but I can't thing of a way to prevent this in the future, except to have a new code for every release, every three months or less. For most users, they would need this once or nonce.
I think the cached refresh tokens may also expire, and there is no check for this - I don't know if it would give the same error.
from gcsfs.
Can we periodically update the same token to keep it alive?
from gcsfs.
Short term, a gcsfs release would be helpful. The upcoming Strata demo relies on this.
from gcsfs.
I can certainly to that today.
To be sure, though, are you generally providing a project= (or is this defined by environment variable?), and/or token='cloud'?
from gcsfs.
Related Issues (20)
- _put_file does not allow to specify content encoding HOT 4
- __init__() got multiple values for keyword argument 'listings_expiry_time' HOT 1
- Is there already a way to list metadata attributes? HOT 2
- gcsfs: Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object HOT 3
- Inconsistent `STORAGE_EMULATOR_HOST` format HOT 2
- GCSFileSystem does not accept token, file.json or instance of service credentials HOT 13
- Errors when deleting a directory with huge number of files HOT 13
- The info object in GCSFS does not have mtime/ctime HOT 2
- `find` performance regression HOT 4
- Stale cache info leading to failing isfile check HOT 2
- _find does not support maxdepth
- GCS High Performance Parallel Listing
- Strange behavior with `HTTPError` and multiprocessing HOT 3
- isdir/info method works incorrectly HOT 20
- Clarify how to pass JSON credentials HOT 2
- Is it needed to be so strict about dependency on fsspec HOT 1
- Release 2023.10.0 and consider relaxing fsspec dependency HOT 3
- Error when listing large directory with versions=True
- Request: add chmod
- Issues when using identity_pool.Credentials for connecting GCSFileSystem HOT 2
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 gcsfs.