Coder Social home page Coder Social logo

Comments (4)

droidpl avatar droidpl commented on May 23, 2024 1

I would say so, this is what it does on GHES so I believe cloud would do the same at a bigger scale. Read can read from any replica while write goes to the main database and replicates.

from auth-app.js.

steve-norman-rft avatar steve-norman-rft commented on May 23, 2024

@gr2m I think I've been seeing this problem in a Probot app as well. Had something running as a test with very little activity happening on it and have seen a few Bad credentials logged when there is nothing actually happening.

I think it is probably the stats page refreshing the popular repositories list at https://github.com/probot/probot/blob/master/src/apps/stats.ts#L57. The log entries are are happening at around the same time past the hour which also corresponds to when the app was last started.

Just another example of something that might be where you've spotted the 401 errors and flagging it for anyone else that sees the problem.

from auth-app.js.

gr2m avatar gr2m commented on May 23, 2024

I am very certain that this problem only applies to GET and HEAD requests, because read-only requests can hit replica of the main database where the newly created installation access token might not have yet propagated to, while all mutating requests hit the main database.

@droidpl can you confirm?

from auth-app.js.

github-actions avatar github-actions commented on May 23, 2024

🎉 This issue has been resolved in version 2.4.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

from auth-app.js.

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.