question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running socket client throws errors during Interactive Learning

See original GitHub issue

The socket client points to the rasa server, and if you don’t change the defaults, rasa interactive runs on the same port as rasa run – therefore, socket is listening for events during rasa interactive. However, since the socket endpoint is not available during this, it leads to an error:

<span class="error">[2019-08-01 11:45:37 +0200]</span> <span class="error">[23200]</span> <span class="error">[ERROR]</span> Exception occurred while handling uri: ‘http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MnCaWoQ’ Traceback (most recent call last): File “c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\app.py”, line 893, in handle_request handler, args, kwargs, uri = self.router.get(request) File “c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py”, line 407, in get return self._get(request.path, request.method, “”) File “c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py”, line 469, in _get raise NotFound(“Requested URL {} not found”.format(url)) sanic.exceptions.NotFound: Requested URL /socket.io/ not found <span class="error">[2019-08-01 11:45:37 +0200]</span> <span class="error">[23200]</span> <span class="error">[ERROR]</span> Exception occurred while handling uri: ‘http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MnCaXHh’ Traceback (most recent call last): File “c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\app.py”, line 893, in handle_request handler, args, kwargs, uri = self.router.get(request) File “c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py”, line 407, in get return self._get(request.path, request.method, “”) File “c:\users\appdata\local\continuum\anaconda3\lib\site-packages\sanic\router.py”, line 469, in _get raise NotFound(“Requested URL {} not found”.format(url)) sanic.exceptions.NotFound: Requested URL /socket.io/ not found <span class="error">[2019-08-01 11:45:37 +0200]</span> <span class="error">[23200]</span> <span class="error">[ERROR]</span> Exception occurred while handling uri: ‘http://localhost:5005/socket.io/?EIO=3&transport=polling&t=MnCaXHi

If we are in interactive mode, we should probably consume this exception since it’s not relevant.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
erohmensingcommented, Mar 23, 2020

HI @MadPr0grammer! Sorry for missing your message. You absolutely can, i’ll assign you to the issue.

0reactions
sync-by-unito[bot]commented, Dec 19, 2022

➤ Maxime Verger commented:

💡 Heads up! We’re moving issues to Jira: https://rasa-open-source.atlassian.net/browse/OSS.

From now on, this Jira board is the place where you can browse (without an account) and create issues (you’ll need a free Jira account for that). This GitHub issue has already been migrated to Jira and will be closed on January 9th, 2023. Do not forget to subscribe to the corresponding Jira issue!

➡️ More information in the forum: https://forum.rasa.com/t/migration-of-rasa-oss-issues-to-jira/56569.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running socket client throws errors during Interactive Learning
The socket client points to the rasa server, and if you don't change the defaults, rasa interactive runs on the same port as...
Read more >
Troubleshooting connection issues | Socket.IO
First and foremost, please note that disconnections are common and expected, even on a stable Internet connection:
Read more >
Java Socket Programming - Socket Server, Client example
To test java socket programming of server-client communication, first we need to run SocketServerExample class. When you will run socket server, ...
Read more >
Chapter 11. Network Programming with Sockets and RMI
An application (or thread) acting as a server creates a ServerSocket object and waits, blocked in a call to its accept( ) method,...
Read more >
juven - Rasa Community Forum
Hi, I always got the error messages while I use rasa interactive, ... Running socket client throws errors during Interactive Learning ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found