Invalid url for api.rev.pm

I’m running sanic on server with command

sanic main.app --port=8080 --host=0.0.0.0 --workers=4

but I’m constantly receive errors like

[2024-04-07 08:38:27 +0300] [25038] [ERROR] protocol.connection_task uncaught
Traceback (most recent call last):
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 160, in __init__
    self._parsed_url = parse_url(url_bytes)
  File "httptools/parser/url_parser.pyx", line 105, in httptools.parser.url_parser.parse_url
httptools.parser.errors.HttpParserInvalidURLError: invalid url b'api.rev.pm:443'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 115, in http1
    await self.http1_request_header()
  File "http1_request_header", line 68, in http1_request_header
    "response",
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 163, in __init__
    raise BadURL(f"Bad URL: {url}")
sanic.exceptions.BadRequest: Bad URL: api.rev.pm:443

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 160, in __init__
    self._parsed_url = parse_url(url_bytes)
  File "httptools/parser/url_parser.pyx", line 105, in httptools.parser.url_parser.parse_url
httptools.parser.errors.HttpParserInvalidURLError: invalid url b'api.rev.pm:443'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "connection_task", line 15, in connection_task
    from asyncio import CancelledError
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 145, in http1
    await self.error_response(e)
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 417, in error_response
    self.create_empty_request()
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 447, in create_empty_request
    self.request = self.protocol.request_class(
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 163, in __init__
    raise BadURL(f"Bad URL: {url}")
sanic.exceptions.BadRequest: Bad URL: api.rev.pm:443
ERROR:sanic.error:protocol.connection_task uncaught
Traceback (most recent call last):
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 160, in __init__
    self._parsed_url = parse_url(url_bytes)
  File "httptools/parser/url_parser.pyx", line 105, in httptools.parser.url_parser.parse_url
httptools.parser.errors.HttpParserInvalidURLError: invalid url b'api.rev.pm:443'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 115, in http1
    await self.http1_request_header()
  File "http1_request_header", line 68, in http1_request_header
    "response",
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 163, in __init__
    raise BadURL(f"Bad URL: {url}")
sanic.exceptions.BadRequest: Bad URL: api.rev.pm:443

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 160, in __init__
    self._parsed_url = parse_url(url_bytes)
  File "httptools/parser/url_parser.pyx", line 105, in httptools.parser.url_parser.parse_url
httptools.parser.errors.HttpParserInvalidURLError: invalid url b'api.rev.pm:443'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "connection_task", line 15, in connection_task
    from asyncio import CancelledError
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 145, in http1
    await self.error_response(e)
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 417, in error_response
    self.create_empty_request()
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/http/http1.py", line 447, in create_empty_request
    self.request = self.protocol.request_class(
  File "/usr/local/www/new-zmanim/sanic/lib/python3.10/site-packages/sanic/request/types.py", line 163, in __init__
    raise BadURL(f"Bad URL: {url}")
sanic.exceptions.BadRequest: Bad URL: api.rev.pm:443

I see no my code which do request on that domain, so it looks like internal sanic error. Is it it?

Try not throug domain to access the web serber

like 127.0.0.1:8000 to see if any error came out

As I can see it doesn’t related to my requests to the server. For example my requests was at 6:38 and errors starts at 8:17

moreover, I launched sanic on another port, so no one is using it and I still got that errors