Container does nothing at all - probably wrong broker and relay address?
This Docker image, when run using the provided docker-compose.yml, seems to do nothing at all. When I check the log, it only stops just right after giving an Offer. This is in contrast with running an executable without any options compiled from Snowflake proxy's source code which actually runs and does connections.
I dug up a bit and it seems like the Dockerfile specifies a different broker and relay address than the default one. I dug up further and try to run the compiled executable with the broker and relay specified in the Dockerfile, and it did the same thing as the Docker container. I think we should replace the broker and relay address in the Dockerfile.
Output when running snowflake proxy with Dockerfile's broker and relay:
2021/08/21 20:19:56 starting
2021/08/21 20:19:56 WebRTC: Created offer
2021/08/21 20:19:56 WebRTC: Set local description
2021/08/21 20:19:56 Offer: {"type":"offer","sdp":"v=0\r\no=- 1104430657279434998 1629577196 IN IP4 [scrubbed]\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 23:AF:A5:DD:80:76:B2:F2:26:FF:AF:38:80:3C:A4:0C:5D:6D:A4:45:89:50:30:23:FF:BB:A3:27:B8:9B:2D:7A\r\na=group:BUNDLE 0\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 [scrubbed]\r\na=setup:actpass\r\na=mid:0\r\na=sendrecv\r\na=sctp-port:5000\r\na=ice-ufrag:jwMtodefNMbJxyXr\r\na=ice-pwd:QBSlBOIYaWwxgFHpYIJuiDpDXXRxdtSt\r\na=candidate:4084995090 1 udp 2130706431 [scrubbed] 59671 typ host\r\na=candidate:4084995090 2 udp 2130706431 [scrubbed] 59671 typ host\r\na=candidate:460667911 1 udp 2130706431 [scrubbed] 59672 typ host\r\na=candidate:460667911 2 udp 2130706431 [scrubbed] 59672 typ host\r\na=candidate:2976350107 1 udp 2130706431 [scrubbed] 59673 typ host\r\na=candidate:2976350107 2 udp 2130706431 [scrubbed] 59673 typ host\r\na=candidate:978274096 1 udp 1694498815 [scrubbed] 59674 typ srflx raddr [scrubbed] rport 59674\r\na=candidate:978274096 2 udp 1694498815 [scrubbed] 59674 typ srflx raddr [scrubbed] rport 59674\r\na=end-of-candidates\r\n"}
2021/08/21 20:20:27 error polling probe: http2: timeout awaiting response headers
2021/08/21 20:20:27 NAT type: unknown