I'm running a relay in my computer. Using orfox I set it as Entrance Node, but it shows WARN: Remote server sent bogus reason code 65022 I couldn't find this error in any site. Is there something wrong with my relay?
1 Answer
I think, actually, this is a bug in the client not the relay.
The circuit is failing but the error message is possibly a problem in the client, my reasoning is that the spec states:
The payload of a RELAY_TRUNCATED or DESTROY cell contains a single octet.
Since an octet is 1 byte and 65022 > 255, this value can't be carried in a valid cell so it must be local to the client.
I think what you're seeing is this: #20307, essentially it's taking a signed integer and converting it to an unsigned short and your control port gets that bogus reason code. It's a bug in Tor, it should (?) be patched but it may be that Orbot hasn't applied and pushed the patched version yet.
5.4. Tearing down circuits
. So it could be your relay, or another relay along the circuit. If it happens to you for all circuits, it's probably your relay but we'd need more information to say for certain.