Calls stopped working

For feature requests, please see: https://mattermost.com/suggestions/.

For troubleshooting questions, please post in the following format:

Summary
Mattermost calls are no longer working.

Steps to reproduce
Mattermost 7.10.3 with calls plugin enabled and configured: clicking ‘start’ call button, call starts happening, but hangs out immediately.

Expected behavior
Calls to work as they did.

Observed behavior

[Info] com.mattermost.calls: – "loading translations file for locale 'en'" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "a/v device change detected" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "a/v device change detected" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "a/v device change detected" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "ws: new conn id from server" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "ws: setting original conn id" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "ws open, sending join msg" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "join ack received, initializing connection" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Error] Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
	play
	fa (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:520701)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:2426611)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:2427064)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:2427064)
	(anonymous function) (1315.0cca7b826609a6f30c64.js:1:592123)
	forEach
	Ie (1315.0cca7b826609a6f30c64.js:1:592046)
	forEach
	(anonymous function) (5529.b64c913e0f701f00db34.js:1:95481)
[Info] com.mattermost.calls: – "local signal: {\"type\":\"offer\",\"sdp\":\"v=0\\r\\no=- 4277393101826934531 2 IN IP4 127.0.0.1\\r\\ns=-\\r\\nt=0 0\\r\\na=group:BUNDL…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"local signal: {\"type\":\"offer\",\"sdp\":\"v=0\\r\\no=- 4277393101826934531 2 IN IP4 127.0.0.1\\r\\ns=-\\r\\nt=0 0\\r\\na=group:BUNDLE 0\\r\\na=extmap-allow-mixed\\r\\na=msid-semantic: WMS\\r\\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\\r\\nc=IN IP4 0.0.0.0\\r\\na=ice-ufrag:BYvS\\r\\na=ice-pwd:PVVn0pMRGarZk+4vUgjf5wIW\\r\\na=ice-options:trickle\\r\\na=fingerprint:sha-256 B8:FA:56:98:0C:7E:97:35:FB:23:96:1F:29:E0:BF:7D:E2:D4:EB:7A:B2:C5:D0:E8:3B:BB:E2:F8:D1:4F:84:90\\r\\na=setup:actpass\\r\\na=mid:0\\r\\na=sctp-port:5000\\r\\na=max-message-size:262144\\r\\n\"}"
[Info] com.mattermost.calls: – "local candidate: {\"candidate\":\"candidate:1890500009 1 udp 2122262783 2a0c:5a84:b107:b700:b0f7:ed7d:e316:44a5 56905 typ host generation …" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"local candidate: {\"candidate\":\"candidate:1890500009 1 udp 2122262783 2a0c:5a84:b107:b700:b0f7:ed7d:e316:44a5 56905 typ host generation 0 ufrag BYvS network-id 2 network-cost 50\",\"sdpMLineIndex\":0,\"sdpMid\":\"0\",\"usernameFragment\":null}"
[Info] com.mattermost.calls: – "local candidate: {\"candidate\":\"candidate:3816076773 1 udp 2122194687 192.168.1.129 54227 typ host generation 0 ufrag BYvS network-id …" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"local candidate: {\"candidate\":\"candidate:3816076773 1 udp 2122194687 192.168.1.129 54227 typ host generation 0 ufrag BYvS network-id 1 network-cost 50\",\"sdpMLineIndex\":0,\"sdpMid\":\"0\",\"usernameFragment\":null}"
[Info] com.mattermost.calls: – "local candidate: {\"candidate\":\"candidate:829960298 1 udp 1685987071 86.127.231.197 54227 typ srflx raddr 192.168.1.129 rport 5422…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"local candidate: {\"candidate\":\"candidate:829960298 1 udp 1685987071 86.127.231.197 54227 typ srflx raddr 192.168.1.129 rport 54227 generation 0 ufrag BYvS network-id 1 network-cost 50\",\"sdpMLineIndex\":0,\"sdpMid\":\"0\",\"usernameFragment\":null}"
[Info] com.mattermost.calls: – "remote signal" – "{\"type\":\"answer\",\"sdp\":\"v=0\\r\\no=- 5581649862036435756 1687643272 IN IP4 0.0.0.0\\r\\ns=-\\r\\nt=0 0\\r\\na=fingerprint:sha-25…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"{\"type\":\"answer\",\"sdp\":\"v=0\\r\\no=- 5581649862036435756 1687643272 IN IP4 0.0.0.0\\r\\ns=-\\r\\nt=0 0\\r\\na=fingerprint:sha-256 6E:F4:DE:C4:47:DC:46:51:45:94:93:FC:50:10:32:1C:D2:AC:94:5E:C4:B3:32:33:09:F0:8D:3C:AE:56:A3:CB\\r\\na=extmap-allow-mixed\\r\\na=group:BUNDLE 0\\r\\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\\r\\nc=IN IP4 0.0.0.0\\r\\na=setup:active\\r\\na=mid:0\\r\\na=sendrecv\\r\\na=sctp-port:5000\\r\\na=ice-ufrag:SYbyQsHAoGNNaaky\\r\\na=ice-pwd:HRtmpGfRRsISFbxZkaDLQgvCRhFOXVbS\\r\\n\"}"
[Info] com.mattermost.calls: – "remote signal" – "{\"candidate\":{\"candidate\":\"candidate:2878742611 1 udp 2130706431 127.0.0.1 8443 ty…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"{\"candidate\":{\"candidate\":\"candidate:2878742611 1 udp 2130706431 127.0.0.1 8443 typ host\",\"sdpMid\":\"\",\"sdpMLineIndex\":0,\"usernameFragment\":null},\"type\":\"candidate\"}"
[Info] com.mattermost.calls: – "received ice candidate before remote description, queuing..." (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "remote signal" – "{\"candidate\":{\"candidate\":\"candidate:362517736 1 udp 2130706431 172.18.20.113 8443 ty…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"{\"candidate\":{\"candidate\":\"candidate:362517736 1 udp 2130706431 172.18.20.113 8443 typ host\",\"sdpMid\":\"\",\"sdpMLineIndex\":0,\"usernameFragment\":null},\"type\":\"candidate\"}"
[Info] com.mattermost.calls: – "received ice candidate before remote description, queuing..." (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "adding queued ice candidate" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2, x2)
[Info] com.mattermost.calls: – "local candidate: {\"candidate\":\"candidate:2382653757 1 tcp 1518283007 2a0c:5a84:b107:b700:b0f7:ed7d:e316:44a5 9 typ host tcptype activ…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"local candidate: {\"candidate\":\"candidate:2382653757 1 tcp 1518283007 2a0c:5a84:b107:b700:b0f7:ed7d:e316:44a5 9 typ host tcptype active generation 0 ufrag BYvS network-id 2 network-cost 50\",\"sdpMLineIndex\":0,\"sdpMid\":\"0\",\"usernameFragment\":null}"
[Info] com.mattermost.calls: – "local candidate: {\"candidate\":\"candidate:501113201 1 tcp 1518214911 192.168.1.129 9 typ host tcptype active generation 0 ufrag BYv…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"local candidate: {\"candidate\":\"candidate:501113201 1 tcp 1518214911 192.168.1.129 9 typ host tcptype active generation 0 ufrag BYvS network-id 1 network-cost 50\",\"sdpMLineIndex\":0,\"sdpMid\":\"0\",\"usernameFragment\":null}"
[Info] com.mattermost.calls: – "remote signal" – "{\"candidate\":{\"candidate\":\"candidate:279090523 1 udp 1694498815 172.18.20.113 46515 typ srflx raddr 0.0.0.0 rpor…" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
"{\"candidate\":{\"candidate\":\"candidate:279090523 1 udp 1694498815 172.18.20.113 46515 typ srflx raddr 0.0.0.0 rport 46515\",\"sdpMid\":\"\",\"sdpMLineIndex\":0,\"usernameFragment\":null},\"type\":\"candidate\"}"
[Info] com.mattermost.calls: – "rtc closed" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Info] com.mattermost.calls: – "disconnect" (com.mattermost.calls_9c71027e97072ebb_bundle.js, line 2)
[Error] Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
	play
	fa (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:520701)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:2434465)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:89231)
	disconnect (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:575481)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:573338)
	(anonymous function) (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:89231)
	onICEConnectionStateChange (com.mattermost.calls_9c71027e97072ebb_bundle.js:2:500821)

Any help would be much much appreciated!

Hi Alexander,

this sounds like your browser/client denied access to the microphone. Did you try a different browser/client already?