Socketio problems

zaefp,zepfnazepfz

@nik202 any idea? , i’m going to drop linking to rasa OS and dashbot xD

@aymane258 Ok!

First make the change in credentials:

session_persistence: true OR session_persistence: false. choose only one

What is your front end?

1 Like

<div id="rasa-chat-widget" data-websocket-url="http://20.101.249.47:8000"></div>

@nik202

@aymane258 do you have a website? yes or no?

1 Like

Yes I added it to an index.html

@aymane258 can I suggested alternative widget i.e rasa/botfront ? Or you want to stick on this?

Sure

I’ll go ahead and use botfront , lets see if that one works

The chat doesn’t appear

Access to XMLHttpRequest at ‘http://20.101.249.47:8000/socket.io/?EIO=3&transport=polling&t=Ntq9Zyp’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. VM317:1 GET http://20.101.249.47:8000/socket.io/?EIO=3&transport=polling&t=Ntq9Zyp net::ERR_FAILED 504

Same error

Wait I am having technical issue 403

1 Like

I’m going to redeploy one sec

http://51.124.82.235:8000/

@aymane258 Is that you also seeing 403 error?

@aymane258 I can’t share the snippet code.

1 Like

VM563:1 GET http://51.124.82.235:8000/socket.io/?EIO=3&transport=polling&t=NtqBPEk 400 (Bad Request)

what do you think could be the issue?

it says ““The client is using an unsupported version of the Socket.IO or Engine.IO protocols””

@aymane258

check this link and try copy the snippet code and paste in index.html even change the URL.

1 Like