[GH-ISSUE #3212] [bug]: localhost:3170 auth is not working #1062

Closed
opened 2026-03-16 18:20:58 +03:00 by kerem · 7 comments
Owner

Originally created by @Cybilltek on GitHub (Jul 26, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3212

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Hello, I tried to create a self-hosted hoppscotch but I'm having issues right now with localhost port 3170. How do I configure this/resolve this issue? Apologies but I'm just new to this kind of environment.

Will appreciate the help. Thank you!

image

image

image

Steps to reproduce

The only steps I made so far was to

  1. compose build the docker and now I am planning to have users login using the EMAIL but having issues with it.

Environment

Production

Version

Self-hosted

Originally created by @Cybilltek on GitHub (Jul 26, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3212 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior Hello, I tried to create a self-hosted hoppscotch but I'm having issues right now with localhost port 3170. How do I configure this/resolve this issue? Apologies but I'm just new to this kind of environment. Will appreciate the help. Thank you! ![image](https://github.com/hoppscotch/hoppscotch/assets/140045722/72fc9fce-3e40-4c29-96d3-d4f1ed09ff7b) ![image](https://github.com/hoppscotch/hoppscotch/assets/140045722/7eb11c36-6bed-4f98-814e-f484dcd51a1a) ![image](https://github.com/hoppscotch/hoppscotch/assets/140045722/834fda66-1c06-4582-8127-c13e18efa53a) ### Steps to reproduce The only steps I made so far was to 1. compose build the docker and now I am planning to have users login using the EMAIL but having issues with it. ### Environment Production ### Version Self-hosted
kerem 2026-03-16 18:20:58 +03:00
Author
Owner

@balub commented on GitHub (Jul 28, 2023):

Hey @Cybilltek , could you share your .env file with us so that we can see if anything is proper?

<!-- gh-comment-id:1655319644 --> @balub commented on GitHub (Jul 28, 2023): Hey @Cybilltek , could you share your .env file with us so that we can see if anything is proper?
Author
Owner

@balub commented on GitHub (Jul 28, 2023):

@Cybilltek next time please gray out or simply just delete when sharing things like secret keys or client secrets.

<!-- gh-comment-id:1655442988 --> @balub commented on GitHub (Jul 28, 2023): @Cybilltek next time please gray out or simply just delete when sharing things like secret keys or client secrets.
Author
Owner

@webysther commented on GitHub (Jul 30, 2023):

auth don't work without HTTPS, use this image with .env SCHEMA=http

<!-- gh-comment-id:1657205070 --> @webysther commented on GitHub (Jul 30, 2023): auth don't work without HTTPS, use [this image](https://hub.docker.com/r/webysther/hoppscotch) with .env SCHEMA=http
Author
Owner

@li-xunhuan commented on GitHub (Aug 17, 2023):

I also encountered this problem. I modified VITE_BACKEND_GQL_URL and other configurations in the .env file, but the browser console still shows the requested localhost:3170, which is completely different from my settings.

<!-- gh-comment-id:1682264652 --> @li-xunhuan commented on GitHub (Aug 17, 2023): I also encountered this problem. I modified VITE_BACKEND_GQL_URL and other configurations in the .env file, but the browser console still shows the requested localhost:3170, which is completely different from my settings.
Author
Owner

@webysther commented on GitHub (Aug 18, 2023):

I also encountered this problem. I modified VITE_BACKEND_GQL_URL and other configurations in the .env file, but the browser console still shows the requested localhost:3170, which is completely different from my settings.

Please use my image as a test and read the logs, is expected all ENV changed, but if not probally is a TYPO or a misunderstood.

<!-- gh-comment-id:1683983257 --> @webysther commented on GitHub (Aug 18, 2023): > I also encountered this problem. I modified VITE_BACKEND_GQL_URL and other configurations in the .env file, but the browser console still shows the requested localhost:3170, which is completely different from my settings. Please use my image as a test and read the logs, is expected all ENV changed, but if not probally is a TYPO or a misunderstood.
Author
Owner

@webysther commented on GitHub (Aug 18, 2023):

Paste the log output here if the same error persists.

<!-- gh-comment-id:1683984186 --> @webysther commented on GitHub (Aug 18, 2023): Paste the log output here if the same error persists.
Author
Owner

@mirarifhasan commented on GitHub (May 1, 2024):

Hi @Cybilltek,
Are you still facing this issue? If not, we will be closing this issue in a few days.

<!-- gh-comment-id:2088152718 --> @mirarifhasan commented on GitHub (May 1, 2024): Hi @Cybilltek, Are you still facing this issue? If not, we will be closing this issue in a few days.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1062
No description provided.