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

Install issue #57

Open
ShirinBY opened this issue Apr 3, 2023 · 9 comments
Open

Install issue #57

ShirinBY opened this issue Apr 3, 2023 · 9 comments

Comments

@ShirinBY
Copy link

ShirinBY commented Apr 3, 2023

Hi, After running the exe file for windows 10 and 11, I keep getting "Server shut down unexpectedly with code 1" please file an issue with GitHub

@pimterry
Copy link
Member

pimterry commented Apr 3, 2023

Hi @ShirinBY, can you share your logs after this happens? They're available from the application menu, under 'Help', 'View HTTP Toolkit logs'.

@ShirinBY
Copy link
Author

ShirinBY commented Apr 3, 2023

Hi @pimterry , Thank you for your reply. But I cannot install the app at all to be able to give you any log.

@pimterry
Copy link
Member

pimterry commented Apr 4, 2023

I don't understand - if you're seeing the "Server shut down unexpectedly with code 1" message, then you must already be running the application. The logs are created before the server is launched, so they must already be present.

@ShirinBY
Copy link
Author

ShirinBY commented Apr 4, 2023

Screenshot 2023-04-04 163045

I dont understand it either. After running the exe file I see this error! Its not only me. My other friends get the same error.

@ShirinBY
Copy link
Author

ShirinBY commented Apr 4, 2023

@pimterry , Ok now I searched for it, I can see its installed under the apps, but when I run it I get below error.
Screenshot 2023-04-04 233409

@ShirinBY
Copy link
Author

ShirinBY commented Apr 4, 2023

Have you tried to install the app in windows 10 or 11 lately?

@pimterry
Copy link
Member

pimterry commented Apr 4, 2023

Have you tried to install the app in windows 10 or 11 lately?

I haven't personally reinstalled it recently, but hundreds of users install HTTP Toolkit on Windows every day, and I haven't heard any other reports of issues like this lately.

Interestingly though, looking at your screenshot, that's showing a different error to the previous case ('UI stopped unexpectedly' vs 'Server shut down unexpectedly with code 1'). Any idea why that might be? Does the error change randomly, or is it that you're launching the app in a different way somehow?

Ok now I searched for it, I can see its installed under the apps, but when I run it I get below error.

Ok, yes, that means you have already installed it successfully, it's just that running the application fails.

If you can't see the menu, you can find the logs manually in C:\Users\<username>\AppData\Roaming\httptoolkit\logs\. Can you share the contents from there?

@ShirinBY
Copy link
Author

ShirinBY commented Apr 4, 2023

Hi @pimterry , Sorry for delay, due to time gap. Please see the log file:
last-run.log

@pimterry
Copy link
Member

pimterry commented Apr 5, 2023

Ok, so there's two different errors here: the 'UI crashed case' and the 'Server shut down' case. The log you've shared there is for the UI crash.

For that case, I'm not sure what could cause this, and there's not much I can do. What's happening here is that electron is firing a render-process-gone event saying launch-failed. That doesn't tell us very much. For whatever reason, on your computer when Electron tries to render the UI with Chromium, your computer fails to even launch that process. This could be due to security restrictions on your machine, or corruption in the app somewhere, or serious memory issues, or some major graphics driver problem, or one of a million other small things, but it's definitely not a general issue (HTTP Toolkit has error reporting for this kind of thing, and there's very few reports of this).

Reinstalling the app might help. If it doesn't, checking that your graphics drivers are working etc is probably a good idea.

For the other case, where the server is crashing, that log doesn't help much unfortunately. Is it still possible to reproduce that issue? If you can share a log from that crash I can investigate further - that error is a crash from HTTP Toolkit itself (rather than from Electron) which means it's much more likely to be something fixable.

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