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

Broken on v1.0.216; Failed to convert napi value String into rust type u32 on ssh connection #10135

Closed
AwesomeDog opened this issue Dec 30, 2024 · 4 comments
Labels

Comments

@AwesomeDog
Copy link

Describe the problem:
[A clear and concise description of what the bug is.]

when ssh to a connection, it will show " Failed to convert napi value String into rust type u32"

To Reproduce:
[Steps to reproduce the behavior]

probably when u define a ssh port on ssh connection, and connect it, it will broken.

v1.0.215 ok
v1.0.216 not ok

@Eugeny
Copy link
Owner

Eugeny commented Jan 1, 2025

Please paste the config chunk corresponding to that connection here or send it to [email protected] if you prefer

@AwesomeDog
Copy link
Author

Please paste the config chunk corresponding to that connection here or send it to [email protected] if you prefer

profiles:
  - name: my-vm
    options:
      host: 127.0.0.1
      port: '2200'
      keepaliveInterval: '30'
      keepaliveCountMax: '3'

the problem resides in keepaliveInterval and keepaliveCountMax , if the two lines were deleted, the error vanished.

@Eugeny
Copy link
Owner

Eugeny commented Jan 1, 2025

Does these parameters revert back to normal if you edit them once via the UI?

@AwesomeDog
Copy link
Author

Does these parameters revert back to normal if you edit them once via the UI?

well, like a charm , when I deleted the parameters, and restarted tabby, the parameters came back , and the problem described in the title disappeared!

now everything seems fine, and I have no way to reproduce the problem.

mark it as done if there are no new clues.

@Eugeny Eugeny closed this as completed Jan 2, 2025
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