mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3080] [bug]: hoppscotch UI not loading after self server setup #1006
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#1006
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 @saikrishna434 on GitHub (May 25, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3080
Is there an existing issue for this?
Current behavior
i see this error in console
index.3f127683.js:68 POST http://localhost:3170/graphql net::ERR_CONNECTION_REFUSED
(anonymous) @ index.3f127683.js:68
uu @ index.3f127683.js:68
pO @ index.3f127683.js:68
Os.request @ index.3f127683.js:68
Os. @ index.3f127683.js:68
(anonymous) @ index.3f127683.js:67
o$ @ index.3f127683.js:70
Ay @ index.3f127683.js:79
performAuthInit @ index.3f127683.js:79
(anonymous) @ index.3f127683.js:94
(anonymous) @ index.3f127683.js:94
index.3f127683.js:67 Uncaught (in promise) Error: Network Error
at tu (index.3f127683.js:67:8560)
at w.onerror (index.3f127683.js:68:1947)
Steps to reproduce
After setting up as per the documentation i see this error, when i did last week it worked pefect but with a new server and new installation setup, may be with any recent changes i was throwing this exception
Environment
Deploy preview
Version
Self-hosted
@liyasthomas commented on GitHub (May 26, 2023):
Hi @saikrishna434, it seems the backend server is not configured properly.
Can you share the link to the documentation that you followed to self-host Hoppscotch?
I am afraid you're using an outdated installation process. I would like to inform you that, starting with v2023.4.0;
To ensure a smooth installation process, we have made updates to the documentation.
The latest version can be found at Getting started with Self-Host Hoppscotch.
Look out for the latest prerequisites and build steps sections.
Please refer to this updated documentation for the most accurate and up-to-date instructions.
We apologize for any inconvenience caused by the recent changes to the steps for self-hosting Hoppscotch.
In case you encounter any issues or have any questions while following the new steps, please don't hesitate to ask for further assistance. We are here to help you resolve any problems and make your experience with Hoppscotch as seamless as possible.
I hope that the updated documentation will help you to self-host Hoppscotch on your new server.
@saikrishna434 commented on GitHub (May 26, 2023):
Yeah @liyasthomas , am using the same process see the version as mentioned and still i see the same error
@liyasthomas commented on GitHub (May 26, 2023):
@saikrishna434 can you share your
.envfile contents to better understand the error? You can mask the variable values if there's any sensitive information in it.@saikrishna434 commented on GitHub (May 26, 2023):
@liyasthomas am using the default file no changes there just did cp from .env.example to .env
@liyasthomas commented on GitHub (May 26, 2023):
You're required to setup a backend server in order to self-host Hoppscotch.
To ensure a smooth installation process, we have made updates to the documentation.
Read the documentation: Getting started with Self-Host Hoppscotch for information.
Look out for the latest prerequisites and build steps instructions.
Please refer to this updated documentation for the most accurate and up-to-date instructions.
@saikrishna434 commented on GitHub (May 26, 2023):
@liyasthomas Again to mention i followed the same documentation and am getting the aforementioned error
@liyasthomas commented on GitHub (May 26, 2023):
You need to populate the
.envfile with your own keys as described in the Install and build section. The sample given in.env.examplewon't work.To help us debug the error, you need to share the masked contents of your
.envfile.@saikrishna434 commented on GitHub (May 26, 2023):
@liyasthomas thanks, after updating the env file with local public ip instead of localhost i see this page

may be i need to configure OAUTH for getting in
@liyasthomas commented on GitHub (May 26, 2023):
Glad it worked out for you. Feel free to reopen the issue if you need any further assistance with Hoppscotch.