Skip to content

WebTransport server startup failure #494

@tysmith

Description

@tysmith
[2025-04-21 16:02:35] Starting Grizzly Replay
[2025-04-21 16:02:35] Ignoring: log-limit, timeout
[2025-04-21 16:02:35] Using time limit: 30s, timeout: 45s
[2025-04-21 16:02:35] Repeat: 10, Minimum crashes: 1, Relaunch 10
Exception in thread Thread-1 (_start_service):
Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/home/user/code/grizzly/src/grizzly/services/webtransport/core.py", line 97, in _start_service
    self._loop.run_until_complete(
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/user/workspace/venv/dev/lib/python3.12/site-packages/aioquic/asyncio/server.py", line 204, in serve
    _, protocol = await loop.create_datagram_endpoint(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/base_events.py", line 1423, in create_datagram_endpoint
    raise exceptions[0]
  File "/usr/lib/python3.12/asyncio/base_events.py", line 1407, in create_datagram_endpoint
    sock.bind(local_address)
OSError: [Errno 98] Address already in use
[2025-04-21 16:02:40] Shutting down...
[2025-04-21 16:02:40] Done.
Traceback (most recent call last):
  File "/home/user/workspace/venv/dev/bin/grizzly-replay-crash", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/user/code/grizzly/src/grizzly/replay/crash.py", line 35, in main
    return ReplayManager.main(modify_args(args, crash, bucket))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/code/grizzly/src/grizzly/replay/replay.py", line 708, in main
    ext_services = WebServices.start_services(certs.host, certs.key)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/code/grizzly/src/grizzly/services/core.py", line 98, in start_services
    services[ServiceName.WEB_TRANSPORT].start()
  File "/home/user/code/grizzly/src/grizzly/services/webtransport/core.py", line 114, in start
    raise RuntimeError("WebTransport server did not start in time")
RuntimeError: WebTransport server did not start in time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions