thunderhub icon indicating copy to clipboard operation
thunderhub copied to clipboard

Front-end crash: Application error: a client-side exception has occurred

Open joediggs111 opened this issue 3 years ago • 1 comments

Describe the problem/bug Application error: a client-side exception has occurred (see the browser console for more information). ^When loading the main thunderhub page (via btcpayserver).

Ubuntu x86_64

  • Version of ThunderHub: 0.12.31 - The latest in btcpayserver 1.3.6.0
  • Deployment method: btcpayserver-docker
  • Other relevant environment details: Web interface access: Using TorBrowser with NoScript, but scripts,fetch on (no webgl) on for my onion site.

To Reproduce Steps to reproduce the behavior:

  1. vitising the onion/thub or from within btcpayserver's menus: Server Settings -> Services -> Thunderhub "More Information" -> Browser connection "clicking here"
  2. Thunderhub begins to load
  3. Thunderhub web interface throws the error: "Application error: a client-side exception has occurred (see the browser console for more information)."

Expected behavior I expect the thunderhub dashboard to display

Actual behavior Error above

Browser Console Error Messages:

Content Security Policy: Couldn’t process unknown directive ‘noscript-marker’ 3 TypeError: e is undefined NextJS 7 framework-d9c9992982ceff03.js:1:83586 TypeError: e is undefined NextJS 7 main-57a8ce8b6442ec54.js:1:14602 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred main-57a8ce8b6442ec54.js:1:14619 TypeError: e is undefined NextJS 7 framework-d9c9992982ceff03.js:1:83586 TypeError: e is undefined NextJS 7 main-57a8ce8b6442ec54.js:1:14602 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred main-57a8ce8b6442ec54.js:1:14619 TypeError: e is undefined NextJS 7 framework-d9c9992982ceff03.js:1:83586 TypeError: e is undefined NextJS 7 main-57a8ce8b6442ec54.js:1:14602 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred main-57a8ce8b6442ec54.js:1:14619 TypeError: e is undefined NextJS 7 framework-d9c9992982ceff03.js:1:83586 TypeError: e is undefined NextJS 7 main-57a8ce8b6442ec54.js:1:14602 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred main-57a8ce8b6442ec54.js:1:14619 TypeError: e is undefined NextJS 7 framework-d9c9992982ceff03.js:1:83586 TypeError: e is undefined NextJS 7 main-57a8ce8b6442ec54.js:1:14602 A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred main-57a8ce8b6442ec54.js:1:14619

joediggs111 avatar Dec 07 '21 01:12 joediggs111

I figured out that this is caused by Thunderhub not working properly in TorBrowser if TB's "Security Level" set to "Safest". It needs to be set on "Safer" or "Standard" for Thunderhub to work. Are the "Unsafe" javascript functions really necessary?

joediggs111 avatar Mar 01 '22 15:03 joediggs111