mirro-rs icon indicating copy to clipboard operation
mirro-rs copied to clipboard

Could not establish connection

Open technobirb opened this issue 3 months ago • 1 comments

Describe the bug mirro-rs could not load the mirror list, says "ERROR: message: could not establish connection". I couldn't get it to work despite multiple retries. However, https://archlinux.org/mirrors/status/json/ can be loaded in browser and curl.

To Reproduce Steps to reproduce the behavior:

  1. sudo pacman -S mirro-rs
  2. Run mirro-rs in terminal
  3. See error "ERROR: message: could not establish connection"

Expected behavior Mirror list loads

Screenshots Image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Terminal: ghostty
  • Shell: Fish

Additional context

technobirb avatar Sep 13 '25 20:09 technobirb

Here is what get when i try to use it witthout an config file:

$ RUST_LOG=DEBUG mirro-rs -d

2025-10-27T08:02:59.023638Z  INFO mirro_rs::dbg: mirro-rs has started version="0.2.3"
2025-10-27T08:02:59.023820Z DEBUG reqwest::connect: starting new connection: https://archlinux.org/
2025-10-27T08:02:59.023856Z DEBUG hyper::client::connect::dns: resolving host="archlinux.org"
2025-10-27T08:02:59.025400Z DEBUG hyper::client::connect::http: connecting to [2a01:4f9:c010:6b1f::1]:443
2025-10-27T08:02:59.077109Z DEBUG hyper::client::connect::http: connected to [2a01:4f9:c010:6b1f::1]:443
2025-10-27T08:02:59.077139Z DEBUG rustls::client::hs: No cached session for DnsName("archlinux.org")
2025-10-27T08:02:59.077229Z DEBUG rustls::client::hs: Not resuming any session
2025-10-27T08:02:59.129244Z DEBUG rustls::client::hs: Using ciphersuite TLS13_AES_256_GCM_SHA384
2025-10-27T08:02:59.129272Z DEBUG rustls::client::tls13: Not resuming
2025-10-27T08:02:59.129342Z DEBUG rustls::client::tls13: TLS1.3 encrypted extensions: [ServerNameAck, Unknown(UnknownExtension { typ: EllipticCurves, payload: 001011ec001d0017001e0018001901000101 }), Protocols([ProtocolName(6832)])]
2025-10-27T08:02:59.129354Z DEBUG rustls::client::hs: ALPN protocol is Some(b"h2")
2025-10-27T08:02:59.130429Z DEBUG h2::client: binding client connection
2025-10-27T08:02:59.130447Z DEBUG h2::client: client connection bound
2025-10-27T08:02:59.130470Z DEBUG h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
2025-10-27T08:02:59.130586Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
2025-10-27T08:02:59.130620Z DEBUG hyper::client::pool: pooling idle connection for ("https", archlinux.org)
2025-10-27T08:02:59.130677Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x5: END_HEADERS | END_STREAM) }
2025-10-27T08:02:59.180297Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x0), max_concurrent_streams: 128, initial_window_size: 65536, max_frame_size: 16777215 }
2025-10-27T08:02:59.180313Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Settings { flags: (0x1: ACK) }
2025-10-27T08:02:59.180324Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=WindowUpdate { stream_id: StreamId(0), size_increment: 2147418112 }
2025-10-27T08:02:59.181020Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x1: ACK) }
2025-10-27T08:02:59.181034Z DEBUG Connection{peer=Client}: h2::proto::settings: received settings ACK; applying Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
2025-10-27T08:02:59.234242Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
2025-10-27T08:02:59.234274Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.249590Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.249608Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.249619Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.289764Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.291147Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.291161Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.291168Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.309612Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.344137Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.344159Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.344170Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.348524Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.349938Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.349953Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.357391Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.357409Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.361156Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.361167Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.361175Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.399868Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.407124Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.407143Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.414548Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.414568Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.417815Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.417834Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.420072Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.420088Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.423607Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.423620Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.423631Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.430184Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.444709Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.444728Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.458018Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.458038Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.463815Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.463834Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.467227Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.467241Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.469796Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.469808Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.469819Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.480740Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.488736Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.488758Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.489408Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.489430Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.491385Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.491403Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.491414Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.499883Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.501765Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.501785Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.511260Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.511273Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.513813Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1) }
2025-10-27T08:02:59.513826Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
2025-10-27T08:02:59.513892Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=GoAway { error_code: NO_ERROR, last_stream_id: StreamId(0) }
2025-10-27T08:02:59.513909Z DEBUG Connection{peer=Client}: h2::proto::connection: Connection::poll; connection error error=GoAway(b"", NO_ERROR, Library)
2025-10-27T08:02:59.513971Z DEBUG Connection{peer=Client}: rustls::common_state: Sending warning alert CloseNotify
2025-10-27T08:02:59.515393Z ERROR mirro_rs::direct: could not establish connection
2025-10-27T08:02:59.515426Z ERROR mirro_rs: could not read cache file

stop5 avatar Oct 27 '25 08:10 stop5