mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #5737] [bug]: Errors with Desktop Import - Auth Flow - CORs - AIO Nightmare #2240
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FreeSoftwareServers on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5737
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Platform
Web App
Browser
Chrome
Operating System
Windows
Bug Description
I spent a good day messing with installing this software and it's sort of works, but still a number of issues that will have to be resolved before adoption.
Issues:
Backend:
hoppscotch | Webapp Server | 2025/12/29 13:01:33 Successfully sent bundle for download (size: 31700389 bytes)DesktopApp:
I'm using Cloudflare as a proxy/SSL termination and docker to host software.
Here is compose:
Here is ENV:
Do you see anything wrong?
My proxies are pretty straightforward w/ CF, I have on for hoppscotch.example.com which goes to 5000 and another for hoppscotch.example.com/desktop-app-server to 3200.
Deployment Type
Self-hosted (on-prem deployment)
Version
latest as of 12/29/25
@FreeSoftwareServers commented on GitHub (Dec 29, 2025):
Ok, so first issue mostly resolved, except the env isn't picking up variables, but I did get auth working by using
backend/inside the auth call back. I also had to turn offALLOW_SECURE_COOKIES=trueeven though I am loading via SSL....I now was able to get the app to sync to backend, but I am getting CORs issues... Looks like I need to whitelist:
'http://app.hoppscotch_example_com' even though I have no "app" subdomain configured, this should be documented, but should be easy to resolve. The final issue is that the "graphql" is failing.... Will keep plugging away. Overall the app looks great, just, the docs/setup is a nightmare.
@FreeSoftwareServers commented on GitHub (Dec 29, 2025):
So whitelisting the http://app. resolved CORs and not sure if that resolved graphql, but it's working now. I tested in incognito mode and it worked, but in regular browser failed, even with CTRL F5, had to clear cookies/data and now it works.
Final issue(s):
Admin dash should pickup env vars...
wss:// failing.
It appears as though you are pushing users towards AIO, but docs don't reflect that and AIO seems to have a lot of routing issues and caching issues.
@FreeSoftwareServers commented on GitHub (Dec 29, 2025):
So more weirdness, turns our GraphQL works if I don't sign in, if I do, it breaks, and then the only fix is sign out + hard refresh. Thankfully, I can put everything behind Cloudflare OIDC and just have no auth for this personal instance.
Looks like I will be the only user and backup via DB tars likely. I need to get moving testing API and stop messing with this project lol. Too bad, it really is well polished, but the separate vs AIO and routing issues are a nightmare. WAY to many config options in environment IMO for URLs/Ports etc.
@SeoHyeonMyeong commented on GitHub (Dec 30, 2025):
I experienced a similar issue. Even after changing the
VITE_BACKEND_GQL_URLvalue in the.envfile, it wasn't applied until I refreshed the cache and reloaded.It was resolved after disabling Service Workers in Developer Tools > Application > Service Workers and clearing Site data in Storage.
@FreeSoftwareServers commented on GitHub (Dec 30, 2025):
Honestly I sort of given up but it's hard for me to do I'll try tomorrow... I did just find a new piece of software that looks pretty promising though called Voiden that I'm pretty excited to give a good try!
https://voiden.md/
@d1hr2uv commented on GitHub (Jan 14, 2026):
Thanks for the endorsement.