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

"Unix socket is not available for non Unix platform", error from a Windows client trying to create -R connection at Linux server. #333

Closed
yuan-thomas opened this issue Aug 13, 2024 · 3 comments
Labels

Comments

@yuan-thomas
Copy link

Describe the bug

This should be a simple description:
I am trying to establish a reverse connection by creating a unix socket at the server (Linux). My client is Windows.

When I run client command:
wstunnel client -R unix:///var/tmp/test.sock:www.google.com:80 wss://wstunnel.myserver.com

I get this error:
thread 'main' panicked at src\main.rs:1084:25:
Unix socket is not available for non Unix platform

Whereas I get that Unix Socket isn't available under Windows, it's probably not applicable because the socket will be created at server side.

To Reproduce

Steps to reproduce the behavior:
wstunnel client -R unix:///var/tmp/test.sock:www.google.com:80 wss://wstunnel.myserver.com

Expected behavior

A clear and concise description of what you expected to happen.

Your wstunnel setup

Paste your logs of wstunnel, started with --log-lvl=DEBUG, and with the command line used

  • client
  • server

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@erebe
Copy link
Owner

erebe commented Aug 15, 2024

Indeed going to fix it for next release

@erebe
Copy link
Owner

erebe commented Aug 15, 2024

it is fixed in v10.0 release

@yuan-thomas
Copy link
Author

v10.0, what an honor! Thank you.

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