sanic: Exception occured while handling uri: unknown

Describe the bug Randomly I get the exception:

[2020-08-24 04:50:26 +0100] [2348] [ERROR] Exception occurred while handling uri: unknown
NoneType: None

Code snippet No code as I don’t know causes this error.

Expected behavior No exception.

Environment (please complete the following information):

  • OS: Windows 10
  • Version: 19.12.2

Additional context I’ve got a websocket server running in the same script but when receiving/connecting/sending messages, the exception isnt raised then, it’s raised randomly.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

I will try and add a best practices document for communication between two servers using a queue

I can do you one better. I am working on a user guide (will send you the repo) to hold lots of examples and a more tutorial style walk through of Sanic.