Skip to content

QUIC client fails to connect and keeps retrying (Linux) #27

@dlotfi

Description

@dlotfi

First of all, thanks for the great tools and the work you’ve put into it, really appreciated 🙏
When running the gfw-knocker client on Linux, the QUIC connection consistently fails to establish and enters a retry loop.
Client and server communication for Paqet works fine, so basic connectivity and setup seem correct.

The server reports no issues and all checks pass:

═══════════════════════════════════════════════════════════════
  HEALTH CHECK
═══════════════════════════════════════════════════════════════

  ✓ GFW-knocker scripts found
  ✓ Python dependencies OK (scapy, aioquic)
  ✓ GFK configuration found
  ✓ QUIC certificates found
  ✓ GFW-knocker is running
  ✓ VIO port 45000 INPUT blocked
  ✓ VIO port 45000 RST DROP in place
  ✓ Internet connectivity: OK
  ✓ Auto-start on boot: enabled

  All checks passed!

Client Logs

Starting GFK client...
WARNING:QuicClient:Attempting to connect to QUIC server...
INFO:QuicClient:UDP cleanup task running!
GFK running. Press Ctrl+C to stop.

INFO:VioClient:Linux mode: using L3 socket
INFO:VioClient:sniffer started
WARNING:VioClient:listen quic:30000 -> violated tcp:45000
INFO:VioClient:NEW DGRAM listen created
INFO:VioClient:<asyncio.TransportSocket fd=8, family=2, type=2, proto=17, laddr=('0.0.0.0', 30000)>
INFO:VioClient:Task QUIC to vio started
INFO:VioClient:Task vio to Quic started
INFO:QuicClient:Quic FAILED to connect
INFO:QuicClient:close all tcp
INFO:QuicClient:QUIC connection lost. exit
INFO:QuicClient:close all tcp
INFO:QuicClient:close all udp
INFO:quic:[c361f21399cd6027] Connection close sent (code 0x0, reason )
INFO:QuicClient:connectivity SystemExit:
INFO:QuicClient:Connection lost:
INFO:QuicClient:close all tcp
INFO:QuicClient:QUIC connection lost. exit
INFO:QuicClient:cancelling error: . Retrying...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions