Code Monkey home page Code Monkey logo

Comments (6)

martindurant avatar martindurant commented on June 2, 2024

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.

mrocklin avatar mrocklin commented on June 2, 2024

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.

martindurant avatar martindurant commented on June 2, 2024

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.

mrocklin avatar mrocklin commented on June 2, 2024

Can we periodically update the same token to keep it alive?

from gcsfs.

mrocklin avatar mrocklin commented on June 2, 2024

Short term, a gcsfs release would be helpful. The upcoming Strata demo relies on this.

from gcsfs.

martindurant avatar martindurant commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.