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

2022/11/27 15:53:22 [ERROR]invalid handshake from 172.16.17.136:50278 + (/github/home/go/pkg/mod/github.com/lwch/logging@v0.0.0-20221013035348-e250895ebb72/log.go:30) github.com/lwch/logging.Error + (/github/workspace/code/server/handler/handler.go:64) github.com/lwch/natpass/code/server/handler.(*Handler).Handle #59

Closed
chaiwanliang opened this issue Nov 10, 2022 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@chaiwanliang
Copy link

2022/11/27 15:53:22 [ERROR]invalid handshake from 172.16.17.136:50278

  • (/github/home/go/pkg/mod/github.com/lwch/logging@v0.0.0-20221013035348-e250895ebb72/log.go:30) github.com/lwch/logging.Error
  • (/github/workspace/code/server/handler/handler.go:64) github.com/lwch/natpass/code/server/handler.(*Handler).Handle
@lwch lwch added the help wanted Extra attention is needed label Nov 10, 2022
@lwch
Copy link
Owner

lwch commented Nov 10, 2022

你好,请检查客户端与服务器端所在机器的时间是否一致

@chaiwanliang
Copy link
Author

你好,之前确实不一致,改回来还会报同样的问题

@lwch
Copy link
Owner

lwch commented Nov 11, 2022

在握手过程中会用到当前时间戳与common.yaml配置文件中的secret,如果这两个参数不一致的话会出现握手失败的情况

@chaiwanliang
Copy link
Author

已解决

@lwch lwch closed this as completed Nov 14, 2022
@SkewwG
Copy link

SkewwG commented Dec 30, 2022

控制端出现上述的报错内容,控制端和服务端的时间一致,common.yaml配置文件的secret的值也一致
报错内容
image

控制端的时间
image
服务端的时间
image
服务端的common.yaml
image
控制端的common.yaml
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants