Skip to content
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

oauth token seems to be replaced with channel messages (ice candidates) - random #14

Open
virajkanwade opened this issue Apr 1, 2022 · 0 comments

Comments

@virajkanwade
Copy link

We are running into a weird issue where randomly, the oauth token gets replaced with ice candidates so the ACK check call failed with error:

Failed to receive UserInfo (CheckAcl) for user XYZACCESSTOKENXYZ: Get https://example.com/oauth2/userinfo: net/http: invalid header field value \"Bearer \\xe0\\xd0o\\x83\\xa2\\u007f\\x00\\x00\\xe0\\xd0o\\x83\\xa2\\u007f\\x00\\x00\\xa0\\x93+\\x86=V\\x00\\x00\\xa0\\x93+\\x86=V\\x00\\x00319d77/signaling/offer\\x00R\\x02\\x01\\x01{\\\"targetDevice\\\":\\\"ff8f0f21\\\",\\\"device\\\":\\\"iOS\\\",\\\"sdp\\\":\\\"v=0\\\\r\\\\no=- 2999037893479549202 2 IN IP4 127.0.0.1\\\\r\\\\ns=-\\\\r\\\\nt=0 0\\\\r\\\\na=group:BUNDLE 0\\\\r\\\\na=msid-semantic: WMS\\\\r\\\\nm=application 61922 UDP\\\\/DTLS\\\\/SCTP webrtc-datachannel\\\\r\\\\nc=IN IP4 000.000.000.000\\\\r\\\\na=candidate:2547045075 1 udp 2122262783 2409:4042:d13:0000:7971:0000:93ff:d4f1 52521 typ host generation 0 network-id 2 network-cost 10\\\\r\\\\na=candidate:3929530514 1 udp 2122194687 192.168.1.209 63348 typ host generation 0 network-id 1 network-cost 10\\\\r\\\\na=candidate:3646107171 1 tcp 1518283007 2409:4042:000:80f4:7971:c15c:0000:d4f1 54100 typ host tcptype passive generation 0 network-id 2 network-cost 10\\\\r\\\\na=candidate:2763267170 1 tcp 1518214911 192.168.225.255 54101 typ host tcptype passive generation 0 network-id 1 network-cost 10\\\\r\\\\na=candidate:2214440787 1 udp 1685987071 125.233.214.107 63348 typ srflx raddr 192.168.225.209 rport 63348 generation 0 network-id 1 network-cost 10\\\\r\\\\na=candidate:127566787 1 udp 41819903 000.000.000.000 \" for key Authorization"

This seems to be happening intermittently and can't seem to figure out why

mosquitto: 2.0.14
mosquitto-go-auth: 1.8.2
mosquitto-go-auth-oauth2: 1.7.1

@virajkanwade virajkanwade changed the title oauth token seems to be replaced with ice candidates - random oauth token seems to be replaced with channel messages (ice candidates) - random Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant