Critical Issue: GitHub sync totally broken on all projects

How do you create a totally empty project btw?

you can prompt for a blank project, and then it will create a project with some random minimal functionality. Manually delete all files and folders of your file tree (there will be two files that cannot be deleted, but will be overriden when uploading the zip file)

It was working 2-3 hours ago for me.

Now it says sign in. But nothing happens even when are re sign in.

it still hasnt been fixed and i am still updating my web app

I’m having the same issue.

I have the same issue !!

I wanted to add consolidated context and low-level diagnostics that may help isolate the failure point. (For Google, users with the same problem can ignore)

This GitHub sync integration worked recently for me and then entered an unrecoverable state.

Timeline / regression context:

  • Sync worked previously for the same AI Studio project and same GitHub repo

  • It was working during my session 24 hours ago

  • I did not close the browser, clear storage, log out, or change accounts

  • Same machine, same browser session, same Google account, same GitHub account

  • Repo is a personal GitHub repo (no org, no SAML/SSO)

  • At some point between yesterday and today, sync stopped working without any local change

Once it entered this state, it could not be recovered via revoke/reinstall of the GitHub app, reauth, cookie clearing, incognito, or new browser profiles.

Precise failure sequence:

  1. When loading the AI Studio project, I consistently see a successful backend RPC call:
    POST MakerSuiteService/GetGitHubAuthStatus
    Host: alkalimakersuite-pa.clients6.google.com
    Response: 200 OK

    Auth/session details look healthy:

    • Valid SID / __Secure-* cookies are set

    • access-control-allow-credentials is true

    • Origin is accepted (https://aistudio.google.com)

    • Authorization headers (SAPISIDHASH) present

  2. Clicking “Sync to GitHub” opens a new GitHub authorization window.

  3. In the GitHub window:

    • Authorization completes successfully

    • I explicitly select “All repositories”

    • GitHub shows no error

  4. After returning to AI Studio, the UI immediately shows:
    “Something went wrong, please try logging in again”

  5. At this point:

    • No GitHub write occurs

    • No commit/push attempt is made

    • No token exchange or refresh call is visible

    • No OAuth callback or sync-init RPC appears in Network

    • No 4xx/5xx errors related to GitHub are surfaced

The only network activity after the error is logging/analytics (e.g. log?hasfast=true, collect?…).

Key implication:

  • AI Studio is able to read GitHub auth state (GetGitHubAuthStatus succeeds)

  • GitHub OAuth consent completes successfully

  • But the system never transitions into the backend sync pipeline

This suggests the failure is after OAuth success, likely in backend state persistence or gating logic, not in GitHub permissions, cookies, or browser auth.

Why this may matter for debugging:

  • This appears to be a regression or state-related backend issue, not user configuration

  • It cannot be recovered via reauth or reinstall once it occurs

  • The UI error suggests an auth problem, but network traces show the sync logic is never entered

Because this worked recently and broke without any local/environment change, it feels consistent with a backend rollout, feature gate, or stale persisted auth state preventing the transition from “auth OK” → “perform sync”.

2 Likes

.github/workflows/deploy.yml 파일 변동사항을 커밋할때마다 계속 재시도 하라는 문제가 있었어요.
원래는 저 파일만 안되길래 경로에 .이 들어가면 인식이 안되는 버그인거 같아서, 저 파일만 직접 업로드 하면 다른 변경사항들을 커밋하는데 문제가 없었거든요. 그러다가, 완전히 같은 코드인데도 변경사항이 있다고 하는 버그가 새로 또 생겨버려서, 전부 연결을 해제했다가 같은 문제가 발생했습니다. 쿠키를 삭제하거나, 다른 브라우저를 쓰거나 하는 모든 방법을 시도해봐도 똑같아요.

Hey! We are looking into some issues around GitHub re-authentication. Will share an update once resolved. Apologies for the delay

4 Likes

Please fix this I have a fantasy platform for the olympics in beta testing and this is killing my ability to navigate. They start in a few days. Please.

Any update on the GitHub re-authentication issue?

What I did in my own case is to download the app and take it to VS Code and work on it there test using local terminal if need be. npm run dev. But the most interesting part is that I can push it to git hub from VS Code. Then send to any platform to deploy.

Still the same issue here. Only manual download to github works

Same issue, bad experience…

Same issue here.

Tried all the usual fixes:

• Uninstall/reinstall GitHub App

• Revoke OAuth permissions and re-authorize

• Logout/login from GitHub

• Incognito mode

• Different browsers

• Cleared cache with single Google account logged in

Nothing works. Error appears immediately when opening the sync panel for ANY repository.

This was working fine before — broke without any changes on my end.

Going to try @Joshua_Kinertia’s workaround (sharing project to another Gmail account).

Same here… Tried every workaround possible, nothing works. Please help us Google team, clock is ticking for this project.

Yes, the ‘normal’ fixes aren’t working and any access to github has the ‘Something went wrong, please try logging in again’ error. Any luck yet with this fix?

Same issue here. So frustrating…

Its appalling this has been broken for around 4 weeks and the last update from anyone at Google was 9 days ago… this is still a problem Google, come on!

Is this even a priority for your dev teams or is the plan just to leave your core integration with Github broken? Its not great really is it… over 4 weeks with no fix in sight…