mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3985] [bug]: while login via the app, backend hoppscotch shows as 503 service unavailable #1404
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#1404
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 @mrfzy00 on GitHub (Apr 18, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3985
Is there an existing issue for this?
Current behavior
The backend shows as error code of 503 service unavailable

How do i fix it? Do you have any solutions?
Steps to reproduce
Environment
Production
Version
Self-hosted
@balub commented on GitHub (Apr 23, 2024):
Hey @mrfzy00 could you share your nginx config file here ?
@mrfzy00 commented on GitHub (Apr 25, 2024):
hi @balub , i'm using the nginx ingress, not using nginx here's the config:
@balub commented on GitHub (Apr 25, 2024):
@mrfzy00 could you check if the backend service is up and active, maybe calling the ping route? When we spin up the backend for the first time we populate the DB with config props and terminate it, If it's docker we use the
--restart unless-stoppedflag to restart the container when we do this, maybe in your case it didn't restart automatically. Could you just check this once?This explains why you can only see the Hoppscotch app and not the admin app and the Backend because the Hoppscotch app is cached with a service worker so you can use it offline. But can you log in and do other things related to workspaces in it though?
@balub commented on GitHub (May 14, 2024):
@mrfzy00 are you still facing this issue?
@mrfzy00 commented on GitHub (May 14, 2024):
hi @balub , sorry of late updating, my team just resolved the issues, it has been related to our template deployment on helm charts:
while accessing the services, it seems the service wont recognized, but with that code above, we resolved this issue. i will close the issue.