-
Notifications
You must be signed in to change notification settings - Fork 29
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
bug: PyCqBot: 无法连接 websocket 服务 host: ws://127.0.0.1:8080 #34
Comments
[2023-06-16 13:52:28,247][go-cqhttp/WARNING] PyCqBot: go-cqhttp 警告 Protocol -> device lock is disable. http api may fail. |
以下是我的 go-cqhttp 默认配置文件 output: 日志等级 trace,debug,info,warn,errorlog-level: warn 日志时效 单位天. 超过这个时间之前的日志将会被自动删除. 设置为 0 表示永久保留.log-aging: 15 是否在每次启动时强制创建全新的文件储存日志. 为 false 的情况下将会在上次启动时创建的日志文件续写log-force-new: true 是否启用日志颜色log-colorful: true 是否启用 DEBUGdebug: false # 开启调试模式 默认中间件锚点default-middlewares: &default 访问密钥, 强烈推荐在公网的服务器设置access-token: '' 事件过滤器文件目录filter: '' API限速设置该设置为全局生效原 cqhttp 虽然启用了 rate_limit 后缀, 但是基本没插件适配目前该限速设置为令牌桶算法, 请参考:https://baike.baidu.com/item/%E4%BB%A4%E7%89%8C%E6%A1%B6%E7%AE%97%E6%B3%95/6597000?fr=aladdinrate-limit: database: # 数据库相关设置 连接服务列表servers: 添加方式,同一连接方式可添加多个,具体配置说明请查看文档#- http: # http 通信
正向WS设置
|
我也是这种情况 |
尝试一下 http 和 ws 的 address 的 127.0.0.1 改为 0.0.0.0 |
我也一样 |
不知道为什么,一直无法连接服务
The text was updated successfully, but these errors were encountered: