Turing-Project / AntiFraudChatBot

A simple prompt-chatting AI based on wechaty and fintuned NLP model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

连不上自己的服务器

Kevinwu901113 opened this issue · comments

用的华为云服务器,服务器已经运行wechaty
然后自己本机运行dialog.py时遇到
wechaty_puppet.exceptions.WechatyPuppetConfigurationError: WechatyPuppetConfigurationError("can't not ping endpoint: 我服务器的虚拟ip和端口8788", None, None)
当我注释掉代码中的
os.environ['WECHATY_PUPPET_SERVICE_ENDPOINT']
报错里面的虚拟ip会变成我服务器的ip
token检查是没问题的,服务器有jsonrpc
VERB Io on(jsonrpc) send({"id":-9007199254689482,"jsonrpc":"2.0","result":8788})
要怎么解决?

已解决

@Kevinwu901113 请问,大佬怎么解决的?

@Kevinwu901113 请问,大佬怎么解决的?

额我不是大佬,到今天这个都还跑不起来,服务器的话是安全组策略里面我是tcp和udp的这个端口全放开

好的谢谢

image
@Kevinwu901113 tcp和udp的这个端口全放开是这样的吗