insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

[Bug] Insomnia (7.0.3~7.1.0) show white screen on macOS 10.15

Open jerryzhoujw opened this issue 7 years ago • 28 comments

  • Insomnia Version: 7.0.3
  • Operating System: macOS 10.15

Details

After open Insomnia, it keep show white screen, nothing else.

Screen Shot 2019-10-28 at 9 29 54 PM

jerryzhoujw avatar Oct 28 '19 13:10 jerryzhoujw

👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. If you're requesting a feature 🎁, please provide real use cases that would benefit. 👪

To help make this a smooth process, please be sure you have first read the contributing guidelines.

welcome[bot] avatar Oct 28 '19 13:10 welcome[bot]

Do you see anything in View > Toggle DevTools > Console?

gschier avatar Oct 28 '19 16:10 gschier

@gschier it seems because of https://api.insomnia.rest/graphql?projects not returned.

Screen Shot 2019-10-28 at 10 23 49 PM Screen Shot 2019-10-28 at 10 24 18 PM

jerryzhoujw avatar Oct 29 '19 02:10 jerryzhoujw

That's strange that that endpoint doesn't return. Are you behind a corporate proxy by any chance? Can you try right clicking the request, copy as Curl, and running it from your command line to see if you get something similar?

gschier avatar Oct 31 '19 22:10 gschier

Jerrys-MacBook:~ jerryzhou$ curl 'https://api.insomnia.rest/graphql?projects' -H 'Origin: null' -H 'X-Session-Id: 8dabb53305daba1b02e5c7f8f7ba8ae0731a4ef822f633ddeac89452971b2229' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Insomnia/7.0.3 Chrome/66.0.3359.181 Electron/3.1.13 Safari/537.36' -H 'X-Insomnia-Client: production::darwin::7.0.3' -H 'Content-Type: application/json' --data-binary '{"query":"\n query {\n projects {\n id\n name\n rootDocumentId\n }\n }\n ","variables":{}}' --compressed {"data":{"projects":[]}}Jerrys-MacBook:~ jerryzhou$

jerryzhoujw avatar Nov 01 '19 02:11 jerryzhoujw

I have the same issue, but don't even get that far. Getting a blank screen on sending a request

Screenshot 2019-11-04 at 09 12 25

Bosbaba avatar Nov 04 '19 07:11 Bosbaba

@Bosbaba I just close the popover of DevTools was disco..., and click Cmd + R

jerryzhoujw avatar Nov 04 '19 12:11 jerryzhoujw

@jerryzhoujw that just reload my page to the state it was in before sending the request. But I've got a feeling it is related to the bug mentioned in #1743 and #1754

Bosbaba avatar Nov 04 '19 12:11 Bosbaba

I think this issue related to ?projects api, so I think clear user data, and login again may fix this.

~~This issue is solved~~ by complete delete the Insomnia app and it's related file (which make sure it's logout status when I install a new Insomnia, you can use some 3rd app to help compete delete Insomnia's user data files.), and install latest app: Insomnia 7.0.5.

PS: there's 2 error when I open the new app, and login again.

Screen Shot 2019-12-02 at 2 32 03 PM

hi @gschier, is that possible it's caused by the unique constraint about the key

jerryzhoujw avatar Dec 02 '19 06:12 jerryzhoujw

After used for a while, maybe several hours, this issue appear again.

Edit: maybe data are received, but render result is somehow white screen.

Dec-02-2019 17-07-11

jerryzhoujw avatar Dec 02 '19 09:12 jerryzhoujw

I also had this on first opening. (7.0.5, Ubuntu 18.04, tried both the snap and deb installs).

Resolved with the workaround above - open the dev console and hit ctrl-R. Then it loads on opening (there's a moment of white screen before the UI loads). (Also, sometimes it spontaneously resolves if you close the client and open it again).

If you delete ~/.config/Insomnia this recurs, so I'm guessing it's something triggered by initial configuration.

awilkins avatar Dec 02 '19 10:12 awilkins

I also had this on first opening.

I had the same. After restart it has started normally.

prokher avatar Dec 06 '19 09:12 prokher

This was fixed yesterday and will be in the next release

gschier avatar Dec 11 '19 19:12 gschier

wow great news @gschier thank you.

jerryzhoujw avatar Dec 14 '19 03:12 jerryzhoujw

It still happened with 7.0.6 @gschier

jerryzhoujw avatar Dec 19 '19 05:12 jerryzhoujw

can I reopen this ? @gschier

jerryzhoujw avatar Dec 19 '19 05:12 jerryzhoujw

is that possible because of duplicate name workspace ?

Screen Shot 2019-12-19 at 1 21 59 PM

The result is html content can loaded, but will become white soon.

Dec-19-2019 13-40-20

console: Screen Shot 2019-12-19 at 1 43 58 PM

jerryzhoujw avatar Dec 19 '19 05:12 jerryzhoujw

Hmm, ya there was a race condition that I fixed but perhaps there's an edge case that it didn't cover.

Would you be able to go to Help > Show AppData Folder, create a backup of the folder, then delete the folder and relaunch the app? I'm curious if it still happens with fresh data.

gschier avatar Dec 20 '19 20:12 gschier

Also, thanks for the Gif, it helps a lot!

Also also, no the workspace names shouldn't have an impact. They are simple used for display purposes.

gschier avatar Dec 20 '19 20:12 gschier

@gschier After test: remove data -> login again -> after sync for a while, open a request will become white window again.

So it's happened with fresh downloaded data, maybe it related to some data which I input sometime ago ?

jerryzhoujw avatar Dec 23 '19 06:12 jerryzhoujw