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

Socks proxy fails soon with TypeError: Cannot read properties of undefined (reading 'on') #7674

Open
einot opened this issue Dec 19, 2022 · 5 comments

Comments

@einot
Copy link

einot commented Dec 19, 2022

Version: 1.0.187
Platform: macOS x64 22.2.0
Plugins: none
Frontend: xterm-webgl

Tried to configure socks proxy with Tabby. Initially it seems to work but fails quickly with a red error message on bottom of the Tabby window: "TypeError: Cannot read properties of undefined (reading 'on')".

Tested with FireFox 108.0.1

@steve-sbfi
Copy link

Hi, I am also getting this.
On Win10 With Firefox 115.02
It works OK once you are on a web app via the proxy, But the refresh button (on the browser) seems to trigger the error above.

Doing the same with the old ssh client is stable.

@tom709
Copy link

tom709 commented Aug 30, 2024

Problem still exists with Tabby 1.0.211 and Firefox 129.0.2 as a SOCKS client on Windows 10.
The host configuration I use is imported from .ssh/config and looks like this:

Host myhost
	hostname myhost.domain.com
	user myuser 
        DynamicForward 9001
	ProxyCommand ssh -W %h:%p [email protected]

Initially the SOCKS forwarding works. But always after a few minutes, the connection fails with error messages in Tabby like:
"TypeError: Cannot read properties of undefined (reading 'on')"
"RangeError: Buffer allocation failed"
"Error: Bad packet length"
This is completely reproducible. After it happens, Firefox cannot connect to the server through SOCKS any more. Sometimes it is enough to reconnect in Tabby, sometimes I have to quit Tabby and restart it completely to get going again. But the problem always re-occurs after around 5 min which makes it completely unusable for me.

@Eugeny
Copy link
Owner

Eugeny commented Aug 30, 2024

Check out #9810

@tom709
Copy link

tom709 commented Sep 2, 2024

I have always wondered why Tabby does not use OpenSSH. It is a kind of de-facto standard and well maintained. Where's the point in tying to find another, more exotic implementation or writing your own?

@Eugeny
Copy link
Owner

Eugeny commented Sep 2, 2024

Because some things can't be done by wrapping a 3rd party binary, e.g. SFTP

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

No branches or pull requests

4 participants