Cannot connect bot to Bale messenger API: network connection disconnected

milad

I was trying my first bot in bale messenger but I couldn't and faced this error. Is there any one here to help me?

 2018-05-05 11:13:47,938  network.py:112  WARNING:"network connection disconnected."
 2018-05-05 11:13:47,939  network.py:36  ERROR:"connect error: 500,   message='Invalid response status'"
 Traceback (most recent call last): 
 File "/home/ehsan/PycharmProjects/example_bots/venv/lib/python3.5/site-packages/balebot/connection/network.py", line 31, in connect self._ws = await self._session.ws_connect(self.construct_url()) 
 File "/home/ehsan/PycharmProjects/example_bots/venv/lib/python3.5/site-packages/aiohttp/helpers.py", line 109, in __await__ ret = yield from self._coro
 File "/home/ehsan/PycharmProjects/example_bots/venv/lib/python3.5/site-packages/aiohttp/client.py", line 465, in _ws_connect
 headers=resp.headers) aiohttp.client_exceptions.WSServerHandshakeError: 500, message='Invalid response status'
Ehsan Barkhordar

it seems you use a websocket to connect your bot to server. and its a handshake error now. make sure the Token you have given from botfather was correct. If there is no problem with that it may be with your server address.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

API authentication from a facebook messenger bot conversation

分類Dev

How to send photo message by Bale Bot?

分類Dev

Cannot connect to WiFi network on Windows 8 / 8.1

分類Dev

Ionic Client network socket disconnected

分類Dev

Connect a computer to the same printer via a direct USB connection and a network connection simultaneously?

分類Dev

Signalr - endless $.connection.hub.disconnected event?

分類Dev

“Get Started” button does not appear for FB Messenger bot on Messenger app

分類Dev

Pinterest OAuth API - connect: connection refused - Error Code '12'

分類Dev

Facebook Messenger bot using Spring Boot?

分類Dev

Facebook messenger integration - bot does not provide the responses

分類Dev

Graph disconnected: cannot obtain value for tensor Tensor

分類Dev

Windows 10 laptop often disconnected from WIFI network and not auto reconnect

分類Dev

Network/Socket Connection Issue

分類Dev

Connect network namespace to internet

分類Dev

Not able to connect to Oracle DB getting error as java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

分類Dev

Facebook Messenger Bot sharing structured message with postback button

分類Dev

How to use a database with a messenger chat bot to store responses of users?

分類Dev

The URL couldn't be validated Facebook Messenger Chat Bot

分類Dev

Calling Facebook Messenger API in a synchronous fashion

分類Dev

Disconnected received Connect: can't connect to amqp://guest@{rabbitTestHost:5672}:5672

分類Dev

Juniper Network Connect couldn't connect to server

分類Dev

Cannot delete wired connection

分類Dev

Cannot Import VPN connection

分類Dev

Cannot Import VPN connection

分類Dev

Network connection problem in react native

分類Dev

LTE network connection with USB stick

分類Dev

tmux - connect failed: Connection refused

分類Dev

pymysql cannot connect to mysql

分類Dev

Cannot connect users

Related 関連記事

  1. 1

    API authentication from a facebook messenger bot conversation

  2. 2

    How to send photo message by Bale Bot?

  3. 3

    Cannot connect to WiFi network on Windows 8 / 8.1

  4. 4

    Ionic Client network socket disconnected

  5. 5

    Connect a computer to the same printer via a direct USB connection and a network connection simultaneously?

  6. 6

    Signalr - endless $.connection.hub.disconnected event?

  7. 7

    “Get Started” button does not appear for FB Messenger bot on Messenger app

  8. 8

    Pinterest OAuth API - connect: connection refused - Error Code '12'

  9. 9

    Facebook Messenger bot using Spring Boot?

  10. 10

    Facebook messenger integration - bot does not provide the responses

  11. 11

    Graph disconnected: cannot obtain value for tensor Tensor

  12. 12

    Windows 10 laptop often disconnected from WIFI network and not auto reconnect

  13. 13

    Network/Socket Connection Issue

  14. 14

    Connect network namespace to internet

  15. 15

    Not able to connect to Oracle DB getting error as java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

  16. 16

    Facebook Messenger Bot sharing structured message with postback button

  17. 17

    How to use a database with a messenger chat bot to store responses of users?

  18. 18

    The URL couldn't be validated Facebook Messenger Chat Bot

  19. 19

    Calling Facebook Messenger API in a synchronous fashion

  20. 20

    Disconnected received Connect: can't connect to amqp://guest@{rabbitTestHost:5672}:5672

  21. 21

    Juniper Network Connect couldn't connect to server

  22. 22

    Cannot delete wired connection

  23. 23

    Cannot Import VPN connection

  24. 24

    Cannot Import VPN connection

  25. 25

    Network connection problem in react native

  26. 26

    LTE network connection with USB stick

  27. 27

    tmux - connect failed: Connection refused

  28. 28

    pymysql cannot connect to mysql

  29. 29

    Cannot connect users

ホットタグ

アーカイブ