mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4093] [bug]: Open the PORT 3100 prompt in the management panel or browser, indicating that it has been blocked by CORS #1464
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#1464
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 @lvreninfo on GitHub (May 29, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4093
Originally assigned to: @balub on GitHub.
Is there an existing issue for this?
Current behavior
Open the PORT 3100 prompt in the management panel or browser, indicating that it has been blocked by CORS,As shown in the figure:

According to the documents provided by hoppswitch, including the search and understanding of issues, the problem cannot be solved. Could you please help me? Thank you
Steps to reproduce
This is a self hosted accessible test address:
Hoppscotch frontend:https://hoppscotch-frontend.mackoala.com
Hoppscotch backend:https://hoppscotch-backend.mackoala.com
Hoppscotch admin: https://hoppscotch-admin.mackoala.com
My. env configuration file is shown in the figure:
Running migrations:
参考:https://github.com/hoppscotch/hoppscotch/issues/3696#issuecomment-2045490622


【hoppscotch-backend】Service startup screenshot:
【hoppscotch-frontend】Service startup screenshot:
【hoppscotch-admin】Service startup screenshot:
Environment
Production
Version
Self-hosted
@balub commented on GitHub (Jun 13, 2024):
Hey @lvreninfo, could you try removing the double quotes enclosing the values for the environment variables in the
.envfile? similar to how the values for theVITE_BASE_URLare.Adding the relevant URL to the
WHITELISTED_ORIGINSenv variable should be enough to prevent CORS issues so could you trying remove the double quotes everywhere and trying again?