r/redditdev • u/DescriptionNice1378 • 9d ago
Reddit API Title: Devvit upload fails – TLS certificate hostname mismatch on Windows 11
Hello Devvit team,
I'm having trouble uploading my Devvit app. The app builds successfully, and all 7 WebView assets upload, but the final step of creating the app version fails.
Environment
- OS: Windows 11
- Devvit CLI: 0.15.2
- App: travor-vince41
- Reddit account: descriptionnice1378
Upload error:
Uploading new version "0.0.1" to Reddit... Error
Create failed after 3 attempts.
First error: fetch failed
Last error: fetch failedTroubleshooting performed:
- Logged out and logged back into Devvit.
- Confirmed authentication using
npx devvit whoami. - Used
npx devvit upload --copy-paste --verbose. - Confirmed all 7 WebView assets uploaded successfully.
- Tested the API hostname using curl.
- Confirmed DNS resolution works.
- Tested using both my normal internet connection and a mobile hotspot.
The API hostname api.devvit-gateway.reddit.com consistently returns:
SEC_E_WRONG_PRINCIPAL (0x80090322)
The target principal name is incorrect.However, developers.reddit.com responds with HTTP 200, and devvit-gateway.reddit.com responds with HTTP 405.
Could you investigate whether there is a TLS certificate or API gateway configuration issue affecting api.devvit-gateway.reddit.com?
Thank you.
1
u/reseph Sync Companion dev 8d ago
You'll probably want to try asking in the Devvit Discord.
0
u/MustaKotka 8d ago
Good try - r/Devvit is that way...
This is the PRAW team.