AlyoshaVasilieva / luminous-ttv

Avoid Twitch ads by grabbing video playlists from Russia
GNU General Public License v3.0
108 stars 7 forks source link

New error #17

Closed elnoxgdl closed 9 months ago

elnoxgdl commented 10 months ago

2023-08-26T03:35:39.788597Z DEBUG luminous_ttv::hello: bg_init using UUID Some(0cc58115-ad49-41c1-9f42-8bcbafeed045)
2023-08-26T03:35:39.789273Z DEBUG reqwest::connect: starting new connection: https://client.hola.org/
2023-08-26T03:35:39.789519Z DEBUG hyper::client::connect::dns: resolving host="client.hola.org"
2023-08-26T03:35:39.868431Z DEBUG hyper::client::connect::http: connecting to 54.243.128.120:443
2023-08-26T03:35:39.955044Z DEBUG hyper::client::connect::http: connected to 54.243.128.120:443
2023-08-26T03:35:39.955166Z DEBUG rustls::client::hs: No cached session for DnsName("client.hola.org")
2023-08-26T03:35:39.955390Z DEBUG rustls::client::hs: Not resuming any session
2023-08-26T03:35:40.044022Z DEBUG rustls::client::hs: Using ciphersuite TLS13_AES_256_GCM_SHA384
2023-08-26T03:35:40.044172Z DEBUG rustls::client::tls13: Not resuming
2023-08-26T03:35:40.045014Z DEBUG rustls::client::tls13: TLS1.3 encrypted extensions: [ServerNameAck, Protocols([ProtocolName(6832)])]
2023-08-26T03:35:40.045053Z DEBUG rustls::client::hs: ALPN protocol is Some(b"h2")
2023-08-26T03:35:40.049816Z DEBUG h2::client: binding client connection
2023-08-26T03:35:40.049860Z DEBUG h2::client: client connection bound
2023-08-26T03:35:40.049920Z DEBUG h2::codec::framed_write: send frame=Settings { flags: (0x0), enable_push: 0, initial_window_size: 2097152, max_frame_size: 16384 }
2023-08-26T03:35:40.050178Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=WindowUpdate { stream_id: StreamId(0), size_increment: 5177345 }
2023-08-26T03:35:40.050267Z DEBUG hyper::client::pool: pooling idle connection for ("https", client.hola.org)
2023-08-26T03:35:40.050512Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
2023-08-26T03:35:40.050631Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
2023-08-26T03:35:40.257079Z 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 }
2023-08-26T03:35:40.257160Z DEBUG Connection{peer=Client}: h2::codec::framed_write: send frame=Settings { flags: (0x1: ACK) }
2023-08-26T03:35:40.257193Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=WindowUpdate { stream_id: StreamId(0), size_increment: 2147418112 }
2023-08-26T03:35:40.257225Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Settings { flags: (0x1: ACK) }
2023-08-26T03:35:40.257247Z 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 }
2023-08-26T03:35:40.257273Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=WindowUpdate { stream_id: StreamId(1), size_increment: 2147418111 }
2023-08-26T03:35:40.271719Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Headers { stream_id: StreamId(1), flags: (0x4: END_HEADERS) }
2023-08-26T03:35:40.271810Z DEBUG Connection{peer=Client}: h2::codec::framed_read: received frame=Data { stream_id: StreamId(1), flags: (0x1: END_STREAM) }
Error: error decoding response body: missing field `ver` at line 1 column 34

Caused by:
    missing field `ver` at line 1 column 34```
AlyoshaVasilieva commented 10 months ago

I haven't tested the Hola code in a long time, will try to look at it soon. It's possible that Hola blocked you, though, I never tested block detection properly.

edit: Probably old Hola version this pretends to be is being blocked, will fix it at some point.

AlyoshaVasilieva commented 9 months ago

Please try again with v0.5.6, which might give a better error at least.

elnoxgdl commented 9 months ago

Yes! That version fixed it! Thank you so much