Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Server not online #77

Open
FreshImmuc opened this issue Nov 8, 2024 · 3 comments
Open

Error: Server not online #77

FreshImmuc opened this issue Nov 8, 2024 · 3 comments

Comments

@FreshImmuc
Copy link

This is the log:

....
INFO: Account store initialized
INFO: UI store initialized
INFO: Proxy settings loaded
INFO: API store initialized
WARN: Third-party cookie will be blocked. Learn more in the Issues tab.
WARN: Third-party cookie will be blocked. Learn more in the Issues tab.
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Service worker loaded
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Previous server version was 1.19.1
INFO: Reporting error: Error: Failed to initialize application [object Object]
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch
INFO: Server initialization failed TypeError: Failed to fetch

@FreshImmuc
Copy link
Author

It actually works now but the load time was really long. Sorry for opening this..

@FreshImmuc
Copy link
Author

FreshImmuc commented Nov 8, 2024

Just to address the issue: The app takes very long to load. I tested some versions and Version 17 and below: no issues.

@FreshImmuc FreshImmuc reopened this Nov 8, 2024
@pimterry
Copy link
Member

Are you still seeing this now @FreshImmuc? How long is 'very long'?

The failing server initialization logs here mean that the UI can't connect to the server. That usually means the server is the part that's starting very slowly - in some cases this can be caused by antivirus, which blocks the startup of the server while it carefully scans the whole thing the first time it runs. Does that sound possible in your case?

Is there any other info in the logs (Help -> View HTTP Toolkit logs) that might explain why the server isn't starting up? There should be a message with its internal startup metrics like so:

Config checked in 11 ms
Certificates setup in 12 ms
Standalone server started in 5 ms
Server started in 16 ms
Total startup took 45 ms

If those numbers are large, then you'll be able to see what's taking the time. If that number is small, that probably means something else on your machine is blocking the server from starting in the first place for a while for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants