Azure / BatchExplorer

A client tool to help create, debug and monitor Azure Batch Applications
https://azure.github.io/BatchExplorer/
Other
205 stars 68 forks source link

Batch explorer version 2.19 and 2.20 show white screen on Ubuntu #2885

Open mfathi91 opened 8 months ago

mfathi91 commented 8 months ago

Describe the bug I have azure batch explorer version 2.18, and it works properly. After I installed version 2.20 (it's also the same for 2.19), I get white screen upon opening azure batch explorer.

To Reproduce Steps to reproduce the behavior:

  1. Go to the release page. Download AppImage file (it has the same result for the debain package).
  2. Double click on the AppImage file to run azure batch explorer.
  3. You will see the white screen after a couple of seconds.

Expected behavior There should be no white screen, rather the expected appearance of azure batch explorer.

Screenshots image

Version (please complete the following information):

tonyabbott commented 4 months ago

I experience the same blank window with 2.19 and 2.20, also on Ubuntu 22.04. After downgrading to 2.18, it works.

It gets past the signin process successfully, and then the window goes blank. From the console output below, it appears some process is crashing:

I'm using the debian package (I haven't tried the AppImage.)

OS: Ubuntu 22.04.4 GNOME Version: 42.9 Windowing System: X11 Memory: 64GB Processor: 11th Gen Intel Core i7-1165G7 @ 2.80GHz x 8 Graphics: Mesa Intel Xe Graphics (TGL GT2) Kernel: 6.5.0-35-generic (64-bit)

Console output:

$ batch-explorer 
info: [BatchExplorer Main] Program arguments {"_actionHandler":null,"_aliases":[],"_allowExcessArguments":true,"_allowUnknownOption":true,"_args":[],"_combineFlagAndOptionalValue":true,"_defaultCommandName":null,"_description":"","_enablePositionalOptions":false,"_events":{},"_eventsCount":5,"_executableFile":null,"_executableHandler":false,"_exitCallback":null,"_hasHelpOption":true,"_helpCommandDescription":"display help for command","_helpCommandName":"help","_helpCommandnameAndArgs":"help [command]","_helpConfiguration":{},"_helpDescription":"display help for command","_helpFlags":"-h, --help","_helpLongFlag":"--help","_helpShortFlag":"-h","_hidden":false,"_lifeCycleHooks":{},"_name":"batch-explorer","_optionValueSources":{},"_optionValues":{},"_outputConfiguration":{},"_passThroughOptions":false,"_scriptPath":"/opt/BatchExplorer/batch-explorer","_showHelpAfterError":false,"_showSuggestionAfterError":false,"_storeOptionsAsProperties":false,"_version":"2.20.0-stable.966","_versionOptionName":"version","args":[],"commands":[],"options":[{"description":"output the version number","flags":"-V, --version","hidden":false,"long":"--version","mandatory":false,"negate":false,"optional":false,"required":false,"short":"-V","variadic":false},{"description":"Disables autoupdate for one instance of opening up the application","flags":"--disable-auto-update","hidden":false,"long":"--disable-auto-update","mandatory":false,"negate":false,"optional":false,"required":false,"variadic":false},{"description":"If the application was just updated","flags":"--updated","hidden":false,"long":"--updated","mandatory":false,"negate":false,"optional":false,"required":false,"variadic":false},{"description":"Change the user data directory. Used for tests","flags":"--user-data-dir <path>","hidden":false,"long":"--user-data-dir","mandatory":false,"negate":false,"optional":false,"required":true,"variadic":false},{"description":"Ignore https certificate errors","flags":"--ignore-certificate-errors","hidden":false,"long":"--ignore-certificate-errors","mandatory":false,"negate":false,"optional":false,"required":false,"variadic":false}],"parent":null,"processedArgs":[],"program":{"_actionHandler":null,"_aliases":[],"_allowExcessArguments":true,"_allowUnknownOption":true,"_args":[],"_combineFlagAndOptionalValue":true,"_defaultCommandName":null,"_description":"","_enablePositionalOptions":false,"_events":{},"_eventsCount":5,"_executableFile":null,"_executableHandler":false,"_exitCallback":null,"_hasHelpOption":true,"_helpCommandDescription":"display help for command","_helpCommandName":"help","_helpCommandnameAndArgs":"help [command]","_helpConfiguration":{},"_helpDescription":"display help for command","_helpFlags":"-h, --help","_helpLongFlag":"--help","_helpShortFlag":"-h","_hidden":false,"_lifeCycleHooks":{},"_name":"batch-explorer","_optionValueSources":{},"_optionValues":{},"_outputConfiguration":{},"_passThroughOptions":false,"_scriptPath":"/opt/BatchExplorer/batch-explorer","_showHelpAfterError":false,"_showSuggestionAfterError":false,"_storeOptionsAsProperties":false,"_version":"2.20.0-stable.966","_versionOptionName":"version","args":[],"commands":[],"options":[{"description":"output the version number","flags":"-V, --version","hidden":false,"long":"--version","mandatory":false,"negate":false,"optional":false,"required":false,"short":"-V","variadic":false},{"description":"Disables autoupdate for one instance of opening up the application","flags":"--disable-auto-update","hidden":false,"long":"--disable-auto-update","mandatory":false,"negate":false,"optional":false,"required":false,"variadic":false},{"description":"If the application was just updated","flags":"--updated","hidden":false,"long":"--updated","mandatory":false,"negate":false,"optional":false,"required":false,"variadic":false},{"description":"Change the user data directory. Used for tests","flags":"--user-data-dir <path>","hidden":false,"long":"--user-data-dir","mandatory":false,"negate":false,"optional":false,"required":true,"variadic":false},{"description":"Ignore https certificate errors","flags":"--ignore-certificate-errors","hidden":false,"long":"--ignore-certificate-errors","mandatory":false,"negate":false,"optional":false,"required":false,"variadic":false}],"parent":null,"processedArgs":[],"program":"[Circular]","rawArgs":["","/opt/BatchExplorer/batch-explorer"]},"rawArgs":["","/opt/BatchExplorer/batch-explorer"]}
error: [BatchExplorer Main] Failed to register ms-batch-explorer:// as a protocol for Batch Explorer
error: [BatchExplorer Main] Failed to register ms-batchlabs:// as a protocol for Batch Explorer
debug: [BatchExplorer Main] [organizations] Trying to silently acquire token
info: [BatchExplorer Main] Python path is: '/opt/BatchExplorer/resources/python-rpc/main', Args: 45032
info: [BatchExplorer Python] ========================= STARTING PYTHON RPC SERVER PROCESS =========================
info: [BatchExplorer Main] Python Rpc server started!
debug: [BatchExplorer Main] [organizations] Trying silent auth code flow (Error: [internal] No account for silent token acquisition)
info: [BatchExplorer Python] server listening on 127.0.0.1:45032

info: [BatchExplorer Main] Checking for update
info: [BatchExplorer Main] Generated new staging user ID: 2e119824-d9e1-5936-b08e-3e77aa9f7fc9
info: [BatchExplorer Main] Checking for update (already in progress)
info: [BatchExplorer Python] connection open

info: [BatchExplorer Main] Update for version 2.20.0-stable.966 is not available (latest version: 2.20.0-stable.966, downgrade is allowed).
debug: [BatchExplorer Main] [organizations] Silent auth failed (Error: login_required: AADSTS50058: A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com). Trace ID: 3f298df9-7d80-41e0-8ac5-c4cc361fd400 Correlation ID: e70efa89-408d-4404-91c5-72e942eb3267 Timestamp: 2024-06-06 15:06:22Z)
debug: [BatchExplorer Main] [organizations] Trying interactive auth code flow (Error: login_required: AADSTS50058: A silent sign-in request was sent but no user is signed in. The cookies used to represent the user's session were not sent in the request to Azure AD. This can happen if the user is using Internet Explorer or Edge, and the web app sending the silent sign-in request is in different IE security zone than the Azure AD endpoint (login.microsoftonline.com). Trace ID: 3f298df9-7d80-41e0-8ac5-c4cc361fd400 Correlation ID: e70efa89-408d-4404-91c5-72e942eb3267 Timestamp: 2024-06-06 15:06:22Z)
debug: [BatchExplorer Main] [organizations] Trying to silently acquire token
debug: [BatchExplorer Main] [organizations] Trying silent auth code flow (Error: [internal] No account for silent token acquisition)
error: [BatchExplorer Main] Render process crashed {"details":{"exitCode":139,"reason":"crashed"},"event":{}}
info: [BatchExplorer Python] Websocket connection closed.
connection closed

(node:724567) electron: Failed to load URL: file:///opt/BatchExplorer/resources/app.asar/build/client/recover-window/recover-window.html with error: ERR_FILE_NOT_FOUND
(Use `batch-explorer --trace-warnings ...` to show where the warning was created)
sendToFrame() failed: Error: Render frame was disposed before WebFrameMain could be accessed
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: app.0c48e524c0830658ad14.bundle.js:348730:30
sendToFrame() failed: Error: Render frame was disposed before WebFrameMain could be accessed
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: app.0c48e524c0830658ad14.bundle.js:348730:30
sendToFrame() failed: Error: Render frame was disposed before WebFrameMain could be accessed
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: app.0c48e524c0830658ad14.bundle.js:348730:30