Giter Site home page Giter Site logo

Auth issue about getting-started-python HOT 6 CLOSED

b-cannon avatar b-cannon commented on July 19, 2024
Auth issue

from getting-started-python.

Comments (6)

tutnes avatar tutnes commented on July 19, 2024

I am having auth issues as well.
I am getting Invalid request state

from getting-started-python.

waprin avatar waprin commented on July 19, 2024

Reproduced the 502, also had another error before that on json decodes for Python3. Will try to get this fixed asap, thanks for report.

from getting-started-python.

waprin avatar waprin commented on July 19, 2024

Sorry for the delay in fixing this, ran into a bunch of quirky issues, still hoping to get it fixed very soon.

from getting-started-python.

b-cannon avatar b-cannon commented on July 19, 2024

I had the json decodes thing too with python 3, but I believe I switched to python 2 which fixed that problem. I think there's something with python 3 not decoding json the same way as 2.

from getting-started-python.

waprin avatar waprin commented on July 19, 2024

So we have identified the root cause of this issue. Cookies have a maximum size of 4kb and the oauth2 flow stores some data that is close to that in size which is breaking the nginx proxy. There is also a bug in the memcache proxy that prevents storing more then 4kb. We are rolling out a fix this week that will use less session space in the oauth2 proxy to workaround this issue, and long-term there will be a fix to the memcache issue so we can migrate to memcache for session data.

from getting-started-python.

waprin avatar waprin commented on July 19, 2024

Ok, we released a new oauth2client that uses less session data and this repo has been updated so this issue should no longer occur if you follow our guide. Make sure you clear any existing cookies when you test this.

However keep in mind that the 4kb cookie session limit exists so be careful about how much data you put into your session, prefer to use the database option for bigger data. We will switch to memcache sessions ASAP to alleviate the issue at which point you can put 1MB into the session, however we are still waiting for a fix of the memcache proxy to do so.

from getting-started-python.

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.