Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch SSH terminal : "Script error" #1272

Open
digideo opened this issue Jan 21, 2025 · 8 comments
Open

Unable to launch SSH terminal : "Script error" #1272

digideo opened this issue Jan 21, 2025 · 8 comments
Labels

Comments

@digideo
Copy link

digideo commented Jan 21, 2025

Bug description

Hi,
I upgraded your app two weeks ago. I can login to servers as usual but I see only a black screen.
I uninstalled and installed once again your app, however it didn't solve the issue.
I use another SSH tool and it works properly. I can see the editor and can run scripts.
Please see below some debug data. If you need more I

[2025-01-21 13:26:51 +0000] [INFO] Thank you so much for using WebSSH 28.3.1465 on macOS Version 15.2 (Build 24C101) 🙏

[2025-01-21 13:30:30 +0000] [DEBUG] Private Key seems to be encrypted because we can't load it as it.
[2025-01-21 13:30:30 +0000] [DEBUG] Private Key is encrypted : 1
[2025-01-21 13:30:31 +0000] [DEBUG] Now resolving 'xxxxxx' using 'ipv4-ipv6' strategy...A
[2025-01-21 13:30:31 +0000] [INFO] Knocking on xxxxxx...
[2025-01-21 13:30:31 +0000] [INFO] End of knocking.
[2025-01-21 13:30:31 +0000] [DEBUG] Connecting to SSH...
[2025-01-21 13:30:31 +0000] [DEBUG] No SOCKS Tunnel launched. SSH connection will be established without any SOCKS hostname.
[2025-01-21 13:30:32 +0000] [DEBUG] Connected to : xxxxxxxx
[2025-01-21 13:30:32 +0000] [DEBUG] Authentication using login/privatekey
[2025-01-21 13:30:33 +0000] [DEBUG] Dismissing prompt...
[2025-01-21 13:30:34 +0000] [DEBUG] Is now connected to SSH, displaying terminal
[2025-01-21 13:30:34 +0000] [DEBUG] [HeadlessTerminal] Headless Terminal Fixtures Applied
[2025-01-21 13:30:34 +0000] [DEBUG] [HeadlessTerminal] Headless Terminal is loading...
[2025-01-21 13:30:34 +0000] [DEBUG] [HeadlessTerminal] Headless Terminal is now loaded
[2025-01-21 13:30:34 +0000] [DEBUG] Loading Xterm.js terminal...
[2025-01-21 13:30:35 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:35 +0000] [DEBUG] Xterm.js terminal WKWebView has been successfully loaded
[2025-01-21 13:30:37 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:38 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:40 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:41 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:43 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:44 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:46 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:47 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:49 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:50 +0000] [DEBUG] End editing is not allowed on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:50 +0000] [DEBUG] End editing is not allowed on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:50 +0000] [DEBUG] End editing is not allowed on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:50 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:50 +0000] [DEBUG] End editing is not allowed on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:52 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:53 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:53 +0000] [DEBUG] End editing is not allowed on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:55 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:55 +0000] [DEBUG] End editing is not allowed on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:55 +0000] [DEBUG] Will end edit on scene 265831E2-DC83-4CF2-BA56-7B428F317FA6
[2025-01-21 13:30:56 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0
[2025-01-21 13:30:58 +0000] [ERROR] Error has been reported by the terminal : Script error. : null : 0

I didn't change my settings.

Screenshots

If applicable, add screenshots to help explain your problem
https://monosnap.com/file/CJGnAzlkafF4FmtNrtZ1KstjAG7hsc

Steps to reproduce

  1. simply login to the server on my Mac
  2. Error is thrown - Error has been reported by the terminal : Script error. : null : 0

Please let me know if you need anything else from my side.

Copy link

Thank you for your feedback! 🙏 Arnaud (@isontheline) will respond within a few hours. In the meantime, please feel free to add any additional information that may help us resolve or improve WebSSH.

@isontheline
Copy link
Owner

Hi @digideo 👋

I will provide you my help.

Could you firstly try the latest beta release please : https://testflight.apple.com/join/QSrBK59z

If the problem persists:

  1. Inside WebSSH settings : enable developer mode
  2. Launch your connection again
  3. Open Safari (be sure to enable developer mode inside Safari too)
  4. On Develop menu bar choose your WebSSH tab to inspect
  5. Does any error shown in the console?

@isontheline
Copy link
Owner

Could you also check that this setting is set to deny :
WebSSH Settings > SSH > "Window Title Set Strategy"

@digideo
Copy link
Author

digideo commented Jan 23, 2025

Hi, it is deny. I installed it and have a time to test

@isontheline
Copy link
Owner

Feel free to come back to me at any time

@digideo
Copy link
Author

digideo commented Jan 23, 2025

Hi, yes, I see one error: TypeError: undefined is not an object (evaluating 'terminal._core._coreBrowserService.isFocused = enable')

Image

@digideo
Copy link
Author

digideo commented Jan 23, 2025

and font is not loaded - MasloLGS.
I hope it is helpful.

@isontheline isontheline changed the title Error has been reported by the terminal : Script error. : null : 0 Unable to launch SSH terminal : "Script error" Jan 23, 2025
@isontheline
Copy link
Owner

@digideo

I hope it is helpful.

Yes! 🙏

Please try WebSSH 28.4.1467 : https://testflight.apple.com/join/QSrBK59z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants