"You must be logged in to upload a new app version" when trying to upload or run a playtest
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 43/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- node.js, typescript
- Domaine
- authentication, cli
Piste de recherche
Start by tracing the CLI upload flow that prints “Uploading new version” and the code that handles Reddit’s login error; the issue does not name files or tests. Compare the credentials used by devvit whoami with those used for upload, and reproduce with the provided Windows CLI details if possible. Done means a logged-in user can upload or run a playtest without the erroneous login failure, with a regression test for the cause.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
When I try to upload new versions of my Devvit apps or run a playtest, I'm getting You must be logged in to upload a new app version. This seems like a pretty common issue, but nothing I've tried has worked so far:
devvit logout/devvit login(confirmed the new session with devvit whoami each time)- Rebooted the computer
- Cleared the cache:
devvit logout,Remove-Item -Recurse -Force "$env:USERPROFILE\.devvit",devvit login(many, many, many times!) - Ran
npx clear-npx-cache - Installed the CLI globally with
npm install -g devvit(had been usingnpx devvitbefore) - Retried the above by running powershell as admin
- Tested on a second, unrelated Reddit account. It uploaded an initial version, but would not upload an update, failing with the login error.
- Confirmed it's not specific to this one app: attempted to update to the existing, previously-working app under the original account, which failed identically.
- I downgraded the devvit CLI to version 0.12.14. I was able to successfully upload for about 24 hours before it stopped working again. I then re-installed the latest devvit CLI and downgraded again, but that didn't have any effect and it hasn't worked since.
- Manual version bump in package.json (a workaround reported by another developer): I set the version to 1.0.1, confirmed it saved, and ran a full logout/cache-clear/login/upload cycle. The CLI still attempted "0.0.7", so the version it uploads doesn't appear to come from the local package.json.
- Tested from a different network.
I can't really say when the issue started. But I haven't been able to upload anything since August 22nd, except for August 29th when it worked after I downgraded the devvit CLI to 0.12.14. After about 24 hours it stopped working and it hasn't worked since.
Output of npx devvit upload --verbose:
Verifying app builds... done
Automatically bumped app version to: 0.0.73
Building... done
We'll create a default playtest subreddit for your app!
Couldn't find README.md, so not setting an 'about' for this app version (you can update this later)
Uploading new version "0.0.73" to Reddit... Error
» Error: You must be logged in to upload a new app version.
Specs:
Windows 10
Powershell 7.4.19 and 5.1.19041.6456
@devvit/cli/0.15.2 win32-x64 node-v24.14.0
I opened a ticket in the Devvit Discord support channel and followed up with results after doing what was suggested. It received no further response and was auto-closed after 30 days of inactivity. The "Reopen ticket" button doesn't work, so I'm filing here instead.
I'm not sure what else to try. Happy to provide any missing info!
- Langage dominant
- TypeScript
- Étoiles
- 217
- Forks
- 89
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de reddit/devvit
-
redis.expireTime() returns relative TTL seconds on live host instead of Unix timestamp secondsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
-
Bound concurrent filesystem reads during asset discovery and source ZIP generationPeut-être pris @CR29-22-2805 l’a pris il y a 138 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Toutes les issues de reddit/devvit
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 95/100
amosblomqvist/learnharness#1141 ·
Les mainteneurs répondent en général sous 4 jours
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
ranxianglei/billion-context#8319 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
tencent-connect/dsh-qqbot#148 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
JimLiu/open-artifact#126 ·
-
Claude Code: replace stub has no cut cue, a 6128 B Bash output reads as the one line `END6000`Ouvertebug repro-ready
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
mksglu/context-mode#1454 ·