httptoolkit-desktop
httptoolkit-desktop copied to clipboard
Error: Server not online
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
It actually works now but the load time was really long. Sorry for opening this..
Just to address the issue: The app takes very long to load. I tested some versions and Version 17 and below: no issues.
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.