botkit-starter-web icon indicating copy to clipboard operation
botkit-starter-web copied to clipboard

Websocket connection issue

Open Abgaryan opened this issue 6 years ago • 3 comments

I am trying to implement mobile client app for chatbot, but can't connect with the server by WebSocket, could you tell me please what could be the issue? how can I connect with server form different origin?

Abgaryan avatar Sep 09 '18 10:09 Abgaryan

Where do you have botkit deployed? And how are u implementing the client in Mobile?

adantoscano avatar Sep 09 '18 11:09 adantoscano

I deployed the botkit in AWS ,it works fine for web chat client, I am using Flutter frameWork for build natvie mobile app, I was flowing to this cook book : https://flutter.io/cookbook/networking/web-sockets/

Abgaryan avatar Sep 09 '18 21:09 Abgaryan

You have to expose ports that app is using and also take care in you are using secure or not protocol (wss or ws). I can not help you more with that info sorry.

adantoscano avatar Sep 17 '18 11:09 adantoscano