-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Access HTTP Response from Tor Proxy due to ByteReaderException #42
Comments
I am only getting this error when querying an Onion service, but I still get it. I'm working around this by patching socks_socket.dart to make sure it can connect to onion services via arti. |
I rebuilt the package with the "onion-service-client" (see https://github.com/cypherstack/tor/blob/main/rust/Cargo.toml#L17 ) feature on arti-client as described under "Additive features" on https://crates.io/crates/arti-client and am using the custom SOCKSSocket class contained in this repo to access onion services just fine now. |
Also, version 2.0 of https://github.com/LacticWhale/socks_dart has since been released and this issue needs re-assessing in light of that update. |
#52 should solve this |
Given that we use
package:socks5_proxy
to connect Tor proxy, when accessing websites through an external Tor, everything works, but if we go through this package Tor, we'll haveByteReaderException (stream has fewer bytes than expected. Size: 0, expected: 1.)
.For details, please check LacticWhale/socks_dart#9
The text was updated successfully, but these errors were encountered: