关于自建服务器的问题
#133
Replies: 3 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
是不是有状态的可以看一下扫描二维码之后的状态列表,有存储设备信息才表示是有状态的。 这个client是表示用于发送消息的客户端,App是接收消息的客户端。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我扫码后,那个存储设备信息按钮是有的,但默认是没有开的,是需要我手动开吗? 我对比你文档中无状态和有状态的两个启动命令,发现区别是,有状态的不用secert,但是有一个datapath,而无状态有secret无datapath chanify serve --host=<ip address> --port=<port> --secret=<secret key> --name=<node name> --endpoint=http://<address>:<port>
chanify serve --host=<ip address> --port=<port> --name=<node name> --datapath=~/.chanify --endpoint=http://<address>:<port> 我启动的时候是有指定datapath的,看了日志也是serverless:false,双重否定那就是有状态了,我确认了一下,register enable为false且不设置白名单时,真的能添加上,你看这日志 2022/11/16 18:04:10 Shutting down server...
2022/11/16 18:04:10 Shutdown service success.
2022/11/16 18:04:10 Launching service...
2022/11/16 18:04:10 Using config file: /root/.chanify.yml
2022/11/16 18:04:10 Register user disabled
2022/11/16 18:04:10 Find 0 user(s) in whitelist
2022/11/16 18:04:10 Open sqlite database: /data/chanify.db
2022/11/16 18:04:10 Files path: /data/files
2022/11/16 18:04:10 Load plugins: /root/.chanify/plugin
2022/11/16 18:04:10 Node server name: Bruce's Chanify Server, version: 1.4.2, serverless: false, node-id: AEMIEYPWDDXWGJVMSJOTIUUDBFECUDJPKA
2022/11/16 18:04:10 Launch service 127.0.0.1:8081
2022/11/16 18:04:10 Node server endpoint: https://pnz2-chanify.xiebruce.cf
2022/11/16 18:04:29 200 | 113.91.210.211 | GET /rest/v1/info 69.382µs "Chanify/1.4.5-68 (iPhone12,1; iOS 16.1; Scale/2.00)"
2022/11/16 18:04:32 Bind user: ABLGYLOWPHIQFWHY6XZXEVTMGWQ44YZ7VM
2022/11/16 18:04:32 200 | 113.91.210.211 | POST /rest/v1/bind-user 1.359715ms "Chanify/1.4.5-68 (iPhone12,1; iOS 16.1; Scale/2.00)" 另外,client我能理解了,谢谢 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
dburl
,是必须的吗?我感觉不是吧?datapath
和dburl
是不是二者取其一就行?文档我看了,感觉好多都没有说明,又或者是这个工具太复杂功能太多,我理解不了?
Beta Was this translation helpful? Give feedback.
All reactions