botframework - In Bot-framework, I am not able to connect the socket using "Receive activities from the bot" -


in bot-framework, not able connect socket using "receive activities bot" rest client(refer api document)

please find below response "start conversation" restful api

{     "conversationid": "bok3llphr5i3y2pnajskng",     "token": "0em5dhesphs.daa.qgbpaesamwbsagwauabiahianqbjadmaeqayahaabgbbagoauwbrae4arwa.z0auwimr0we.znmgkfrh6tc.0i6lq2-9fhuq6coaers8oyrgsftth5engqyzy2r89vu",     "expires_in": 1800,     "streamurl": "wss://directline.botframework.com/v3/directline/conversations/bok3llphr5i3y2pnajskng/stream?watermark=-&t=0em5dhesphs.daa.qgbpaesamwbsagwauabiahianqbjadmaeqayahaabgbbagoauwbrae4arwa.z1l1sn8r0we.iqjtkv2cn6s.icdu3otuy3uprep78uutimbz-a4pa7dmdw02kkp_mzk",     "referencegrammarid": "a2e8d13d-bcf4-bb58-b85a-b539c4e5a1c4" } 

i try connect socket "streamurl", unable connect socket. socket return:

connection fails.

for socket connection use io socket library. before connecting socket replace wss https in url.

kindly let me know answer/solution below questions

  1. whether need add "ssl certificate" socket connection?

  2. replacement of wss https in url correct??


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -