Krafpy / KSP-MGA-Planner

An online tool providing automatic design of trajectories with multiple gravity assists for Kerbal Space Program.
https://krafpy.github.io/KSP-MGA-Planner/
GNU General Public License v3.0
29 stars 32 forks source link

All dropdown menus are empty, map display gone #42

Open SeoReadeHenn opened 1 month ago

SeoReadeHenn commented 1 month ago

I let the window sit for a few days, and when I came back all the menus were completely empty and the map missing despite reloading the page several times and opening it again in a new tab. Screenshot 2024-09-23 193158

Krafpy commented 1 month ago

Hello, which browser are you using? Does the page work correctly if you open it in a private window?

My best guess would be it's a cache issue after having the page open for a long time, though I have no idea why this would happen. Try to reload the page (in a regular window, not private) after disabling cache: Right click somewhere in the page > Inspect > Network tab > check Disable cache, and reload the page (these steps should be similar both for Chrome and Firefox).

Let me know if this works. If not, please send me what's written in the Console tab of the dev tools just after reloading the page (right click > Inspect > Console tab).

SeoReadeHenn commented 1 month ago

I'm using Firefox and it didn't work in a private window, nor in any new tab or window after disabling the cache. Here's what's going on in the console. image

Krafpy commented 1 month ago

So it seems that Firefox fails to find the WebGL driver. What's your PC configuration (CPU, GPU, OS)? Did any update happen before the website was broken?

Have you tried if other apps/websites that rely on WebGL work? You can for example check if this website correctly displays pictures/animations or a big error message.

If WebGL fails on other websites as well, a few things you can try:

Let me know of the results.

SeoReadeHenn commented 1 month ago

I'm on windows 10 and i dont think any updates have happened for it? The website you linked seems to work fine. image Updating firefox seems to have fixed it tho, thanks!

Krafpy commented 1 month ago

Glad you got it fixed! I'm not sure what caused this bug though. I'll close the issue, don't hesitate to re-open it if the it happens again.

SeoReadeHenn commented 1 month ago

Bad news, it's broken again, and other applications that use webgl don't work either. I updated my graphics drivers which didnt fix it, and things seem to all be as they should be in about:support (also it seems i cant reopen the issue)

Krafpy commented 1 month ago

This is a problem beyond the MGA website then, probably some misconfiguration on firefox.

Is the output in the dev console the same as in the previous occurence of the bug? Or is it a different error message? (please send me what's in the console in that case).

What I can suggest is go to about:config (this will show a warning page, press on accept the risk and continue). In the search bar search for:

Another thing I would try is clearing all saved data in firefox settings: cookies and site data, temporary cached files and pages, site settings.

If none of this works the only thing left I can suggest is doing a fresh reinstall of firefox (save your bookmarks or whatever you need before).

Krafpy commented 1 month ago

Another thing you can try is to set webgl.disable-angle to true (don't forget to restart firefox afterwards).