IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

[BUG] White Page and nothing with error(in chrome dev tool console) Page blocked because of a disallowed MIME type "text/plain"

Open AndrewDrimer opened this issue 1 year ago • 11 comments

2024-02-23_040903 Server loading but only White web. Nothing else. What wrong?

AndrewDrimer avatar Feb 23 '24 02:02 AndrewDrimer

It may be that there are errors in the front-end webpage. Could you please open the developer tools in Chrome to see if there are any errors? Thank you.

Other people have also encountered this problem, and it seems that refreshing the page can solve the issue.

Sanster avatar Feb 23 '24 02:02 Sanster

2024-02-23_041934

AndrewDrimer avatar Feb 23 '24 02:02 AndrewDrimer

2024-02-23_043643 I Change This. Reload Working. 2024-02-23_043850

AndrewDrimer avatar Feb 23 '24 02:02 AndrewDrimer

wow, thank you for your report, I will investigate why this is happening.

Sanster avatar Feb 23 '24 02:02 Sanster

I had the same issue. Thank you for the solution.

ffoofooffof avatar Feb 23 '24 02:02 ffoofooffof

I had the same issue, try to refresh page. It helped to me.

ggardlo avatar Feb 23 '24 03:02 ggardlo

I had the same issue.I try this, and donnot work. but I change this, it is working. Thank you. 屏幕截图(65)

2024-02-23_043643 I Change This. Reload Working. 我改变这个。重新加载工作。 2024-02-23_043850

Xiuzhenpeng avatar Feb 25 '24 08:02 Xiuzhenpeng

+1 white screen - console log: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

nikolaiusa avatar Mar 03 '24 14:03 nikolaiusa

works at Microsoft edge doesn't work in chrome, cent browser... (white screen)

nikolaiusa avatar Mar 03 '24 14:03 nikolaiusa

Also got this error, changing registry does not work for me and It happens on all my browsers (chrome,edge,opera,firefox) msedge_yYkYm1ZqWw firefox_zGq7zfUKb5

Pudzianos avatar Mar 10 '24 22:03 Pudzianos

Also got this error, changing registry does not work for me and It happens on all my browsers (chrome,edge,opera,firefox) msedge_yYkYm1ZqWw firefox_zGq7zfUKb5

I found some issues in other projects that encountered this problem, they are basically related to Windows registry settings. Perhaps you can refer to how others have solved problems in these issues:

  • https://github.com/invoke-ai/InvokeAI/issues/3702
  • https://github.com/voxel51/fiftyone/issues/2010
  • https://github.com/golang/go/issues/32350

Sanster avatar Mar 11 '24 10:03 Sanster

In my case pull request still didn't work It helped after I changed this in both places AND then restarted my PC https://github.com/voxel51/fiftyone/issues/2522#issuecomment-1457862951

Thank you :)

Pudzianos avatar Mar 21 '24 12:03 Pudzianos