We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the Bug Error occurs when client connects to server through proxy:
2022-11-07 15:26:10,758 netunnel_client - DEBUG - Connecting to `http://myexampleserver.com` 2022-11-07 15:26:10,848 netunnel_client - DEBUG - Starting channel `1`. Server version: `1.0.10` Traceback (most recent call last): File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.9/site-packages/netunnel/client.py", line 580, in <module> loop.run_until_complete(main()) File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/usr/local/lib/python3.9/site-packages/netunnel/client.py", line 555, in main async with NETunnelClient(server_url=args.server, proxy_url=args.proxy_url, proxy_username=args.proxy_username, File "/usr/local/lib/python3.9/site-packages/netunnel/client.py", line 515, in __aenter__ await self.connect() File "/usr/local/lib/python3.9/site-packages/netunnel/client.py", line 191, in connect websocket: EventClientWebSocketResponse = await websocket_async_context_manager.__aenter__() File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1141, in __aenter__ self._resp = await self._coro File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 795, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandshakeError: 400, message='Invalid response status', url=URL('http://myexampleserver.com/channels/1/connect')
The client command: python3.9 -m netunnel.client --remote-port 22 --remote-address 172.0.0.1 --server "http://myexampleserver.com" --proxy-url "http://proxy_host:3128" -d
python3.9 -m netunnel.client --remote-port 22 --remote-address 172.0.0.1 --server "http://myexampleserver.com" --proxy-url "http://proxy_host:3128" -d
Netunnel version 1.0.10
Python version 3.9.9
Environment Server: Centos 7.9 Client: Centos 7.7 Netunnel client and Netunnel server are not in the same network.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the Bug
Error occurs when client connects to server through proxy:
The client command:
python3.9 -m netunnel.client --remote-port 22 --remote-address 172.0.0.1 --server "http://myexampleserver.com" --proxy-url "http://proxy_host:3128" -d
Netunnel version
1.0.10
Python version
3.9.9
Environment
Server: Centos 7.9
Client: Centos 7.7
Netunnel client and Netunnel server are not in the same network.
The text was updated successfully, but these errors were encountered: