Git Product home page Git Product logo

Comments (4)

pengyou200902 avatar pengyou200902 commented on August 14, 2024

说明socket连接不成功,你看看浏览器控制台报的什么错,如果是谷歌或者火狐一类的浏览器应该是快捷键F12打开选择控制台页面

from doctor-friende.

myboyliu avatar myboyliu commented on August 14, 2024

我的也是web页面错误。F12控制台可以看到如下错误:
Access to XMLHttpRequest at 'http://localhost:5000/socket.io/?EIO=3&transport=polling&t=N6vtpwm' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

from doctor-friende.

pengyou200902 avatar pengyou200902 commented on August 14, 2024

可能是rasa旧版的bug,在处理--cors "*"参数(该参数作用是允许跨域请求)的时候出的问题,你可以试试pip install rasa==1.2.5,安装1.2.5版本的rasa尝试一下

from doctor-friende.

pengyou200902 avatar pengyou200902 commented on August 14, 2024

另外提一下,前端html代码中,聊天窗属性hideWhenNotConnected:true,如果设置为false,那么在websocket连接失败的情况下,右下角也会出现那个按钮。

from doctor-friende.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.