httptoolkit / httptoolkit-desktop

Electron wrapper to build and distribute HTTP Toolkit for the desktop
https://httptoolkit.com
GNU Affero General Public License v3.0
606 stars 83 forks source link

No UI is shown on Linux #8

Closed dessant closed 4 years ago

dessant commented 4 years ago

I've tried to test HTTP.Toolkit-linux-x64-0.1.14.zip on Arch Linux, but when httptoolkit is launched from the command line, only an empty Electron window is shown.

$ ./httptoolkit 
Config checked in 2 ms
Certificates setup in 3 ms
Server started in 22 ms
Total startup took 28 ms

Screenshot from 2019-09-26 10-26-50

jamezrin commented 4 years ago

The deb package works fine, there is an AUR package for it https://aur.archlinux.org/packages/httptoolkit

pimterry commented 4 years ago

Yep, that's not supposed to happen. Not sure what's going on here since the two packages should be identical, I'll take a look today.

jamezrin commented 4 years ago

I think the package is fine, I tried to reproduce it and the zip package worked just fine. image

pimterry commented 4 years ago

I've given it a test myself, and I can't reproduce this either @dessant.

The UI loads initially on the first start from the network (the hosted UI lives at https://app.httptoolkit.tech). After that, it runs from a service worker, so it works offline and loads quickly, but for the first run it needs to be able to load the page. Is there some reason that might not work on your machine?

You can also check the developer console in the app, which might have some tips. You can access it from the menu: go to View -> Toggle Developer Tools -> Console, and let me know if there are any errors that appear there.

dessant commented 4 years ago

I have ran it twice and got the same result, but now it loads instantly, despite the offline cache having been cleared. At the time the project was trending on HN, so maybe it was a network error. Sorry for the false alarm. :yum:

pimterry commented 4 years ago

Ok, great to hear, thanks for letting me know!