Comments (6)
Hi. Thanks for reporting. However, further information is needed to investigate the issue
Please provide:
- Output of
./rathole --version
- Full configuration, with sensitive information (IP etc.) masked
- Full log of the server and the client
from rathole.
BTW, Failed to run the data channel
indicates unstable network, and is not fatal. Failed to run the control channel
is fatal and causes the forwarding unusable. These two errors can happen when the server or the client restarts, or network interrupts.
from rathole.
The server runs on mobile data.
rathole
Build Timestamp: 2022-01-08T11:48:49.677820900+00:00
Build Version: 0.3.4
Commit SHA: Some("1240dd8df93d966e6c357ac67ffcecb6fcf0b1c4")
Commit Date: Some("2022-01-08T11:39:52+00:00")
Commit Branch: Some("detached HEAD")
cargo Target Triple: x86_64-pc-windows-msvc
cargo Profile: release
cargo Features: base64,client,default,hot_reload,noise,notify,server,snowstorm,tls,tokio_native_tls
clent-side configuration:
[client]
remote_addr = "archguy-rathole-server.xyz:2333"
[client.transport]
type = "noise"
[client.transport.noise]
remote_public_key = "Sh/DMjEyzCzd7CTqZlQbK9+aS6RGhlMVZnJSfwBTrU8="
[client.services.my_ssh]
type = "tcp"
token = "WuBo2929470442"
local_addr = "127.0.0.1:22"
server-side configuration:
[server]
bind_addr = "[::]:2333" # 2333 specifies the port that rathole listens for clients
[server.transport]
type = "noise"
[server.transport.noise]
local_private_key = "vB4TDHu41He1X7Up/SbmMJiiyZSN6UqMHBRyuFGxPOw="
[server.services.my_ssh]
type = "tcp"
token = "WuBo2929470442"
bind_addr = "[::]:5202"
I'm sorry,I just forgot to bring the server log:
`Jan 13 04:51:11.932 INFO handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8315}: rathole::server: Try to handshake a control channel
Jan 13 04:51:12.033 WARN handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8315}: rathole::server: Dropping previous control channel for service my_ssh
Jan 13 04:51:12.033 INFO handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8315}: rathole::server: Control channel established service=my_ssh
Jan 13 04:51:12.034 INFO handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8305}:new{service=my_ssh}:run{service=my_ssh}: rathole::server: Control channel shutdown
Jan 13 04:51:12.035 INFO handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8305}:new{service=my_ssh}:run_tcp_connection_pool: rathole::server: TCPListener shutdown
Jan 13 04:51:12.036 INFO handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8305}:new{service=my_ssh}:run_tcp_connection_pool: rathole::server: Shutdown
Jan 13 04:51:12.036 INFO handle_connection{addr=[2001:da8:c802:232:a44c:d47e:4f6d:1ce1]:8315}:new{service=my_ssh}:run_tcp_connection_pool: rathole::server: Listening at [::]:5202`
It seems that the the errors Failed to run the control channel and Failed to run the data channel caused by the failure to handshake in the server-side.
from rathole.
It's possibly due to unstable network or short TCP keepalive interval since you're using mobile data.
I will expose TCP_KEEPALIVE
setting in the next version and set it a smaller value could solve your issue.
from rathole.
Thank you a lot,I'll test that again in the next version.
from rathole.
v0.3.7 is released
You may adjust the following parameters to decrease the downtime
keepalive_secs = 10 # Optional. Specify `tcp_keepalive_time` in `tcp(7)`, if applicable. Default: 10 seconds
keepalive_interval = 5 # Optional. Specify `tcp_keepalive_intvl` in `tcp(7)`, if applicable. Default: 5 seconds
from rathole.
Related Issues (20)
- 开个微信群吧 HOT 1
- Allow use of DNS resolution from proxy server HOT 1
- Add to Entware repo
- Is it possible to use websocket for transport and noise for encryption? HOT 2
- 能否支持proxy protocol协议,实现获取real ip HOT 1
- openssl static build HOT 1
- 怎么使用rathole的udp进行通信 HOT 3
- Latest Release: error while loading shared libraries HOT 5
- easy musl support HOT 1
- Windows怎么做客户端?提示不是内部命令 HOT 1
- Connection dies after a while when deploying on fly.io
- On aarch64 architecture. 'tokio-runtime-worker' panicked. The feature 'websocket' is not compiled in this binary. HOT 2
- rathole::server: Failed to deserialize hello: invalid value: integer `66326`, expected variant index 0 <= i < 2 HOT 8
- Server and client dashboard HOT 1
- Data channel commands aren't flushed, so the check to see if the connection is healthy doesn't always work
- Is this still under maintenance? HOT 1
- OS can't spawn a new worker thread HOT 1
- Add armv7 support in docker images
- what the poolsize mean?
- Add support for adjustable multiplexing (MUX) to the tunnel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rathole.