r/Devvit • • 3d ago

Bug devvit upload hangs on AppVersion/Create (no response for 300s), new app skyline-daily

Hi! I'm building "skyline-daily" for the Game of the Day hackathon (CLI 0.15.4, Windows, Node 22).

WebView assets upload fine, but the AppVersion/Create request never returns: no response headers for 300 seconds, then a timeout. No version gets created.

I set dev.subreddit to r/SkylineGauntlet (I'm the mod), so it shouldn't need to create a playtest subreddit.

Looks like GitHub issue reddit/devvit#302. Could someone check my account/app on the server side? Thanks!

2 Upvotes

6 comments sorted by

•

u/flair-auto-responder 3d ago

Bug report requirements

Hi u/Independent_Hat6716!

We require all bug submissions to include the following information. Please make sure you’re following this format, or your post may be removed:

Describe the bug

Provide a clear and concise description of the bug.

Steps to reproduce

  1. Go to “…”
  2. Click or tap “…”
  3. Scroll to “…”
  4. Describe the error or unexpected behavior

Expected behavior

Explain clearly what you expected to happen instead.

Screenshots or recordings

If applicable, include screenshots or a screen recording that demonstrates the problem. Please remove any sensitive or personal information first.

Desktop information

  • Operating system: [e.g. macOS 15, Windows 11]
  • Browser or app: [e.g. Chrome, Safari, Reddit]
  • Version: [e.g. 22.1]

Mobile information

  • Device: [e.g. iPhone 16, Pixel 10]
  • Operating system: [e.g. iOS 18, Android 16]
  • Browser or app: [e.g. Safari, Chrome, Reddit]
  • Version: [e.g. 22.1]

Additional context

Add any other details that might help reproduce or diagnose the problem.


You can edit your post to add any missing information.

Post: https://www.reddit.com/r/Devvit/comments/1y3fupo/devvit_upload_hangs_on_appversioncreate_no/

1

u/Icy-Examination-2255 2d ago

I think this is a good idea but i would have loved to control it by my keyboard as it would be easy rather than hovering over the targets and clicking through mouse to kill it. This is really a unique product.

1

u/Icy-Examination-2255 2d ago

Hey there i am juust another dev here so I can't check the server side, but I've seen AppVersion/Create hang at 300s like that before. Since your assets are uploading fine, try these three quick things while you wait for a Reddit admin to look into it:

  1. **Reset your CLI login:**Run npx devvit logout, delete your ~/.devvit folder, and run npx devvit login again. Stale auth tokens often cause version creation to just hang.
  2. Check the developer portal: Make sure skyline-daily actually shows up under your account at ://reddit.com.
  3. Check your subreddit formatting: Double-check that your config uses SkylineGauntlet without the r/ prefix, since formatting quirks can sometimes trip up backend validation

1

u/kabhi3001 2d ago

Not a server-side fix, but I had devvit uploads hang and time out like this on my network. It turned out to be a broken IPv6 route to Reddit. Forcing Node to prefer IPv4 fixed it for me. In PowerShell: $env:NODE_OPTIONS="--dns-result-order=ipv4first"; npx devvit upload. A quick way to tell if it's your network or Reddit's side: try the upload once from a phone hotspot. If it works there, it's the network.

1

u/razu-mikhin 1d ago

A couple other things worth trying before waiting on server-side logs (I hit upload stalls on Node 22 too while pushing my hackathon builds):

First, check if Vite is outputting `.map` source maps into `dist/client/` and strip them before uploading (either `sourcemap: false` in `vite.config.ts` or removing `dist/client/*.map` in your build script). That cut my client payload by ~80% and made uploads way more reliable.

Also noticed `@devvit/cli` bumped to `0.15.6` recently, so updating the CLI is worth a quick shot. If it still hangs for 300s specifically on `AppVersion/Create` on Windows + Node 22, try running the upload once on Node 20 LTS and check `developers.reddit.com/apps/skyline-daily` to make sure the app slug isn't stuck half-created from an earlier failed attempt.

1

u/Due_Ingenuity_9301 1d ago

One detail worth testing is the local Node version. Your report uses Node 22. Reddit moved Devvit to Node 24 in 0.14.0 and recommends matching it locally. We got a private app version created on Windows with Devvit 0.15.6. To narrow it down, I’d keep your CLI at 0.15.4 for the first retry and change only Node to 24. If AppVersion/Create still gets no response headers, note the UTC start time and the app slug. That gives the Devvit team a specific upload to look for after the assets have already succeeded.

Reddit’s runtime note: https://www.reddit.com/r/Devvit/comments/1vkvjlt/release_0140_nodejs_v24_wiki_integration_devvit/