René's URL Explorer Experiment


Title: Sign-in callback 500s: replayed/cookie-less /google/auth throws MismatchingStateError as a bare GAE error page · Issue #210 · vpython/glowscript · GitHub

Open Graph Title: Sign-in callback 500s: replayed/cookie-less /google/auth throws MismatchingStateError as a bare GAE error page · Issue #210 · vpython/glowscript

X Title: Sign-in callback 500s: replayed/cookie-less /google/auth throws MismatchingStateError as a bare GAE error page · Issue #210 · vpython/glowscript

Description: Field report "glowscript.org is throwing 500s" — first morning of fall semester, from a classroom. The site was in fact healthy (910 successful sign-ins before 8:40am Pacific); what the classroom saw was the sign-in callback failing with...

Open Graph Description: Field report "glowscript.org is throwing 500s" — first morning of fall semester, from a classroom. The site was in fact healthy (910 successful sign-ins before 8:40am Pacific); what the classroom s...

X Description: Field report "glowscript.org is throwing 500s" — first morning of fall semester, from a classroom. The site was in fact healthy (910 successful sign-ins before 8:40am Pacific); what the c...

Opengraph URL: https://github.com/vpython/glowscript/issues/210

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sign-in callback 500s: replayed/cookie-less /google/auth throws MismatchingStateError as a bare GAE error page","articleBody":"## Field report\n\n\"glowscript.org is throwing 500s\" — first morning of fall semester, from a classroom. The site was in fact healthy (910 successful sign-ins before 8:40am Pacific); what the classroom saw was the sign-in callback failing with Google's bare \"500 Server Error\" page.\n\n## The mechanism\n\nThe authlib OAuth state is **single-use** and lives in the session cookie. `/google/auth` therefore 500s with `MismatchingStateError` for two real populations:\n\n1. **Anyone who refreshes the callback URL.** The state was consumed on the first attempt, so every subsequent load of the same URL can only fail. Observed live: one machine (a classroom podium or projector box, from the IP) retried a single dead callback **68 times**, each retry rendering the bare 500 page. From inside that room, the site is down.\n2. **Browsers that refuse the session cookie** — no state is ever stored, so the first attempt fails the same way.\n\n## How long has this been happening?\n\nAs far back as log retention reaches — a steady **1–2% of all sign-ins**, at summer traffic (~150/day) and semester traffic (900+/day) alike:\n\n| day | ok | 500 | rate |\n|---|---|---|---|\n| Aug 04 | 156 | 2 | 1.3% |\n| Aug 18 | ~896 | 4 | 0.4% |\n| Aug 25 | ~887 | 13 | 1.4% |\n| Aug 28 | ~883 | 17 | 1.9% |\n| Sep 01 | 910 | 90 | 9% raw / ~2.4% excluding the one 68-retry machine |\n\nThe last deploy was July 15; the rate is unchanged across it. Nothing regressed — semester start just made a chronic failure loud enough to be reported.\n\n## The fix\n\nA retry of the same callback URL can never succeed, so the only useful response is a clean landing where the user can start over. Catch `OAuthError` around `authorize_access_token()` and redirect to `/`; same for the bare-`/google/auth`-with-no-state branch, which currently logs \"Yikes!\" and then falls through to a guaranteed crash.\n\nPR follows with tests that reproduce the exact production exception.\n\n(Separately observed while diagnosing, not part of this issue: a ~7-minute whole-site outage 15:46–15:53 UTC today caused by App Engine declining to schedule instances for 37 minutes — no quota, billing, or config cause visible, no declared GCP incident. `min_instances: 1` would have ridden through it; worth its own discussion.)","author":{"url":"https://github.com/sspickle","@type":"Person","name":"sspickle"},"datePublished":"2026-09-01T16:01:02Z","url":"https://github.com/vpython/glowscript/issues/210"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:930677a6-6be8-0f09-b939-13a03ea1f36d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED7A:7B930:706198:9998A5:6B007A20
html-safe-nonced208099c52f336a00ff3ee2ed8f3c2566c5aa30658d133e0efd3a7bbc352e98c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDdBOjdCOTMwOjcwNjE5ODo5OTk4QTU6NkIwMDdBMjAiLCJ2aXNpdG9yX2lkIjoiNTQ4NjcyMjQyMzUxODY4OTgyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca91717ee1f1f26fff9027def6040396e9eb2b7e23ecfa905cbe2082082830204
hovercard-subject-tagissue:5314038359
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vpython/glowscript/210/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7745960814daa2c7da1105560398977f62c65fc967135e09dfbc8258fafd2c19/vpython/glowscript/issues/210
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7745960814daa2c7da1105560398977f62c65fc967135e09dfbc8258fafd2c19/vpython/glowscript/issues/210
og:image:altField report "glowscript.org is throwing 500s" — first morning of fall semester, from a classroom. The site was in fact healthy (910 successful sign-ins before 8:40am Pacific); what the classroom s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesspickle
hostnamegithub.com
expected-hostnamegithub.com
None82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83
turbo-cache-controlno-preview
go-importgithub.com/vpython/glowscript git https://github.com/vpython/glowscript.git
octolytics-dimension-user_id1280757
octolytics-dimension-user_loginvpython
octolytics-dimension-repository_id187905631
octolytics-dimension-repository_nwovpython/glowscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id187905631
octolytics-dimension-repository_network_root_nwovpython/glowscript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1bc2aa1939001689f5ce935982c10a6138f745c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/vpython/glowscript/issues/210#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvpython%2Fglowscript%2Fissues%2F210
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvpython%2Fglowscript%2Fissues%2F210
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=vpython%2Fglowscript
Reloadhttps://github.com/vpython/glowscript/issues/210
Reloadhttps://github.com/vpython/glowscript/issues/210
Reloadhttps://github.com/vpython/glowscript/issues/210
vpythonhttps://github.com/vpython
glowscripthttps://github.com/vpython/glowscript
Codehttps://github.com/vpython/glowscript
Issues9 (9)https://github.com/vpython/glowscript/issues
Pull requests2 (2)https://github.com/vpython/glowscript/pulls
Actionshttps://github.com/vpython/glowscript/actions
Projectshttps://github.com/vpython/glowscript/projects
Security and qualityhttps://github.com/vpython/glowscript/security
Insightshttps://github.com/vpython/glowscript/insights
https://github.com/vpython/glowscript
New issuehttps://github.com/login?return_to=https://github.com/vpython/glowscript/issues/210
New issuehttps://github.com/login?return_to=https://github.com/vpython/glowscript/issues/210
#211https://github.com/vpython/glowscript/pull/211
Sign-in callback 500s: replayed/cookie-less /google/auth throws MismatchingStateError as a bare GAE error pagehttps://github.com/vpython/glowscript/issues/210#top
#211https://github.com/vpython/glowscript/pull/211
https://github.com/sspickle
sspicklehttps://github.com/sspickle
on Sep 1, 2026https://github.com/vpython/glowscript/issues/210#issue-5314038359
sspicklehttps://github.com/sspickle
completedhttps://github.com/vpython/glowscript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#211https://github.com/vpython/glowscript/pull/211
on Nov 1, 2026https://github.com/vpython/glowscript/issues/210#event-34827710960
Sign up for freehttps://github.com/signup?return_to=https://github.com/vpython/glowscript/issues/210
Sign in to commenthttps://github.com/login?return_to=https://github.com/vpython/glowscript/issues/210
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.