bluedazzle / wechat_sender

随时随地发送消息到微信
http://wechat-sender.readthedocs.io/zh_CN/latest/
BSD 2-Clause "Simplified" License
469 stars 94 forks source link

Sender.send(msg)---->error #17

Closed AlbertChanX closed 2 years ago

AlbertChanX commented 6 years ago

requests.exceptions.**ConnectionError**: HTTPConnectionPool(host='localhost', port=10245): Max retries exceeded with url: /message (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000000007352898>: Failed to establish a new connection: [Errno 10061] ',))

iostony commented 6 years ago

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=10245): Max retries exceeded with url: /message (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001F9BB07EBA8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',)) ———————— 我也是遇到同样的问题,在win10 py3.6 及 ubuntu下一样。不知道怎么解决?

hillerliao commented 6 years ago

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=10245): Max retries exceeded with url: /message (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001F9BB07EBA8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。',)) ———————— 我也是遇到同样的问题,在win10 py3.6 及 ubuntu下一样。不知道怎么解决?

解决了吗?

hillerliao commented 6 years ago

调用发消息方法的时候,指定port,好像能解决这个问题,但会出现新问题。