Broker status 500 when client requests fingerprint of snowflake-02
I was not sure whether distributed bridge support (#40129 (closed), #28651 (closed)) was supposed to be working yet, so I tried it. I am using the client from commit 9ce1de4e. When I tried rendezvousing with the fingerprint of the snowflake-02 bridge, I got a 500 Internal Server Error, which was unexpected. It makes me wonder if the broker is encountering an internal error and panicking, or if 500 is the intended response code.
This torrc file works:
UseBridges 1
SocksPort auto
DataDirectory datadir
ClientTransportPlugin snowflake exec ./client -log snowflake.log
Bridge snowflake 192.0.2.3:80 2B280B23E1107BB62ABFC40DDCC8824814F80A72 fingerprint=2B280B23E1107BB62ABFC40DDCC8824814F80A72 url=https://snowflake-broker.torproject.net/ ice=stun:stun.voip.blackberry.com:3478,stun:stun.altar.com.pl:3478,stun:stun.antisip.com:3478,stun:stun.bluesip.net:3478,stun:stun.dus.net:3478,stun:stun.epygi.com:3478,stun:stun.sonetel.com:3478,stun:stun.sonetel.net:3478,stun:stun.stunprotocol.org:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.voys.nl:3478
This torrc file does not work. The only difference is changing the fingerprint
2B280B23E1107BB62ABFC40DDCC8824814F80A72
to 8838024498816A039FCBBAB14E6F40A0843051FA
in both places.
UseBridges 1
SocksPort auto
DataDirectory datadir
ClientTransportPlugin snowflake exec ./client -log snowflake.log
Bridge snowflake 192.0.2.3:80 8838024498816A039FCBBAB14E6F40A0843051FA fingerprint=8838024498816A039FCBBAB14E6F40A0843051FA url=https://snowflake-broker.torproject.net/ ice=stun:stun.voip.blackberry.com:3478,stun:stun.altar.com.pl:3478,stun:stun.antisip.com:3478,stun:stun.bluesip.net:3478,stun:stun.dus.net:3478,stun:stun.epygi.com:3478,stun:stun.sonetel.com:3478,stun:stun.sonetel.net:3478,stun:stun.stunprotocol.org:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.voys.nl:3478
The broker's HTTP response is:
500 Internal Server Error
Access-Control-Allow-Headers: Origin, X-Session-ID
Access-Control-Allow-Origin: *
Content-Length: 0
Date: Tue, 04 Oct 2022 16:33:06 GMT