server icon indicating copy to clipboard operation
server copied to clipboard

[BUG]: Appears to call hardcoded url http://localhost:8088/api/v2/auth/token

Open roadkingvrod opened this issue 1 year ago • 1 comments

Version Information

latest

Hashcat

No response

Description

when i use the docker compose file, i go to log in and when i try, nothing happens. In using dev tools in the browser, I see an error where it's calling the above url. But that url is not in the settings.

roadkingvrod avatar Nov 13 '24 23:11 roadkingvrod

I can't reproduce this, could you send the full error that you see in dev tools?

jessevz avatar Dec 19 '24 08:12 jessevz

Duplicate of issue #1066 (What a headache during initial setup!)

Resolution: The issue was identified as being related to the localStorage in the browser, which retained the old URL (localhost:8080) that was set before the .env changes were applied. This outdated value persisted even after force reloading the page without cache.

Solution: To resolve this issue, you need to manually clear the localStorage in your browser. Here are the steps:

1.	Open your browser’s Developer Tools (usually accessible by pressing F12 or Ctrl+Shift+I).
2.	Navigate to the Application tab.
3.	Under Storage, locate Local Storage.
4.	Select the entry corresponding to your site (e.g., http://new_server.intern:8080).
5.	Manually clear the stored data.

After clearing the localStorage, the frontend should correctly load the updated configuration from assets/config.json, and the login requests should be sent to the new server URL as expected.

Catch229 avatar Jun 25 '25 03:06 Catch229