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

[Question]反向Websocket始终无法连接 #163

Open
ChaozhongLiu opened this issue Jun 18, 2022 · 0 comments
Open

[Question]反向Websocket始终无法连接 #163

ChaozhongLiu opened this issue Jun 18, 2022 · 0 comments

Comments

@ChaozhongLiu
Copy link

ChaozhongLiu commented Jun 18, 2022

报错信息:
2022-06-19 03:51:09 W/OneBot: Websocket连接出错, 可能被服务器关闭, 将在3秒后重试连接, Host: 172.20.200.176:8087-Client-Universal Path: /ws

settings.yml:

proxy: ''

bots:
xxxxxxxxx:
cacheImage: false
cacheRecord: false
heartbeat:
enable: false
interval: 1500
http:
enable: false
host: 0.0.0.0
port: 5700
accessToken: ''
postUrl: ''
postMessageFormat: string
secret: ''
# 上报超时时间, 单位毫秒, 须大于0才会生效
timeout: 0
ws_reverse:
- enable: true
postMessageFormat: string
reverseHost: 172.20.200.176
reversePort: 8087
accessToken: ''
reversePath: '/ws'
reverseApiPath: '/api'
reverseEventPath: '/event'
useUniversal: true
useTLS: false
reconnectInterval: 3000
ws:
enable: false
postMessageFormat: string
wsHost: 0.0.0.0
wsPort: 6700
accessToken: ''

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

1 participant