{"action":"created","issue":{"url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/issues/29","labels_url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/issues/29/comments","events_url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/issues/29/events","html_url":"https://github.com/freedomjs/freedom-for-firefox/issues/29","id":51642042,"number":29,"title":"firefox v34.0 Fails core.rtcpeerconnection tests","user":{"login":"willscott","id":428199,"avatar_url":"https://avatars.githubusercontent.com/u/428199?v=3","gravatar_id":"","url":"https://api.github.com/users/willscott","html_url":"https://github.com/willscott","followers_url":"https://api.github.com/users/willscott/followers","following_url":"https://api.github.com/users/willscott/following{/other_user}","gists_url":"https://api.github.com/users/willscott/gists{/gist_id}","starred_url":"https://api.github.com/users/willscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willscott/subscriptions","organizations_url":"https://api.github.com/users/willscott/orgs","repos_url":"https://api.github.com/users/willscott/repos","events_url":"https://api.github.com/users/willscott/events{/privacy}","received_events_url":"https://api.github.com/users/willscott/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-11T03:35:40Z","updated_at":"2015-01-19T07:42:08Z","closed_at":null,"body":"The core.rtcpeerconnection tests are failing as of the upgrade.\r\n\r\nInitial debugging with @bemasc last week yielded that the ICE candidates seemed to not getting loaded correctly.\r\n\r\nA relevant snipped from the firefox ```about:webrtc``` log is:\r\n\r\n```javascript\r\nClosed PeerConnection:1418268534418859 (id=2 url=chrome://browser/content/hiddenWindow.xul) 22:29:08 GMT-0500 (EST)\r\nICE statistics\r\n1418268534418859 (id=2 url=chrome://browser/content/hiddenWindow.xul): stream1/audio\r\n\r\nLocal candidate addr\tType\r\n192.168.52.109:51354/udp\thost\r\n104.132.4.102:47878/udp\tserverreflexive\r\n\r\nLocal SDP\r\nv=0\r\no=Mozilla-SIPUA-34.0 3631 0 IN IP4 0.0.0.0\r\ns=SIP Call\r\nt=0 0\r\na=ice-ufrag:07bf72b4\r\na=ice-pwd:a953dc397f92cde09ce128213aeaf147\r\na=fingerprint:sha-256 35:78:6F:41:0C:2E:65:81:0C:C8:1B:F7:CA:20:50:CA:5C:DC:81:41:C8:CB:72:EA:37:97:AF:A8:1B:82:BB:63\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=sctpmap:5000 webrtc-datachannel 256\r\na=setup:active\r\na=candidate:0 1 UDP 2130379007 192.168.52.109 51354 typ host\r\na=candidate:0 2 UDP 2130379006 192.168.52.109 57596 typ host\r\na=candidate:1 1 UDP 1694236671 104.132.4.102 47878 typ srflx raddr 192.168.52.109 rport 51354\r\na=candidate:1 2 UDP 1694236670 104.132.4.102 54693 typ srflx raddr 192.168.52.109 rport 57596\r\n\r\nRemote SDP\r\nv=0\r\no=Mozilla-SIPUA-34.0 6124 0 IN IP4 0.0.0.0\r\ns=SIP Call\r\nt=0 0\r\na=ice-ufrag:e8e0acd2\r\na=ice-pwd:5ddf7c73776983c71c0eabcf34fc66bd\r\na=fingerprint:sha-256 59:E0:7A:70:2A:83:DF:AA:B4:BF:1D:DE:A8:72:E6:BB:28:51:2B:10:DF:65:35:73:67:B7:4F:03:34:1A:11:1E\r\nm=application 9 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=sctpmap:5000 webrtc-datachannel 256\r\na=setup:actpass\r\n```\r\n\r\nThis seems to show that they aren't seeing the remote ice candidates?\r\n\r\nThere are also a lot of warnings like:\r\n```\r\nICE(PC:1418268524826227 (id=2 url=chrome://browser/content/hiddenWindow.xul)): No STUN servers specified\r\nICE(PC:1418268524826227 (id=2 url=chrome://browser/content/hiddenWindow.xul)): No TURN servers specified\r\nSkipping SOURCE-ADDRESS\r\n```\r\n\r\nand\r\n\r\n```\r\nICE(PC:1418268529479569 (id=2 url=chrome://browser/content/hiddenWindow.xul)): peer (PC:1418268529479569 (id=2 url=chrome://browser/content/hiddenWindow.xul):default) pairing local trickle ICE candidate srflx(IP4:192.168.52.109:49611/UDP|stun.services.mozilla.com:3478)\r\nICE(PC:1418268529479569 (id=2 url=chrome://browser/content/hiddenWindow.xul)): peer (PC:1418268529479569 (id=2 url=chrome://browser/content/hiddenWindow.xul):default) has no stream matching stream 1418268529479569 (id=2 url=chrome://browser/content/hiddenWindow.xul): stream3/data\r\nICE(PC:1418268529479569 (id=2 url=chrome://browser/content/hiddenWindow.xul)): All could not pair new trickle candidate\r\nICE(PC:1418268524826227 (id=2 url=chrome://browser/content/hiddenWindow.xul)): peer (PC:1418268524826227 (id=2 url=chrome://browser/content/hiddenWindow.xul):default) Trickle grace period is over; marking every component with only failed pairs as failed.\r\nICE-PEER(PC:1418268524826227 (id=2 url=chrome://browser/content/hiddenWindow.xul):default)/STREAM(1418268524826227 (id=2 url=chrome://browser/content/hiddenWindow.xul): stream1/audio)/COMP(1): All pairs are failed, and grace period has elapsed. Marking component as failed.\r\n```\r\n\r\nWhich look like potential causes."},"comment":{"url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/issues/comments/70455962","html_url":"https://github.com/freedomjs/freedom-for-firefox/issues/29#issuecomment-70455962","issue_url":"https://api.github.com/repos/freedomjs/freedom-for-firefox/issues/29","id":70455962,"user":{"login":"willscott","id":428199,"avatar_url":"https://avatars.githubusercontent.com/u/428199?v=3","gravatar_id":"","url":"https://api.github.com/users/willscott","html_url":"https://github.com/willscott","followers_url":"https://api.github.com/users/willscott/followers","following_url":"https://api.github.com/users/willscott/following{/other_user}","gists_url":"https://api.github.com/users/willscott/gists{/gist_id}","starred_url":"https://api.github.com/users/willscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willscott/subscriptions","organizations_url":"https://api.github.com/users/willscott/orgs","repos_url":"https://api.github.com/users/willscott/repos","events_url":"https://api.github.com/users/willscott/events{/privacy}","received_events_url":"https://api.github.com/users/willscott/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T07:42:08Z","updated_at":"2015-01-19T07:42:08Z","body":"Looked at this again. What I see, which is interesting is that if I make my peer connection and call ```getOffer```, the offer SDP is:\r\n\r\n```\r\n{\"type\":\"offer\",\"sdp\":\"v=0\\r\\no=Mozilla-SIPUA-34.0 27087 0 IN IP4 0.0.0.0\\r\\ns=SIP Call\\r\\nt=0 0\\r\\na=ice-ufrag:a0e43d97\\r\\na=ice-pwd:83f5a1394cca74ff6445bd6c63278944\\r\\na=fingerprint:sha-256 DD:C2:D1:38:B6:5A:99:B2:D9:04:34:57:B3:F1:14:D5:B6:2B:01:D3:E4:E7:30:11:1F:4E:60:70:58:84:81:98\\r\\nm=application 9 DTLS/SCTP 5000\\r\\nc=IN IP4 0.0.0.0\\r\\na=sctpmap:5000 webrtc-datachannel 256\\r\\na=setup:actpass\\r\\n\"}\r\n```\r\nnamely, the Only IP given is 0.0.0.0, which is very unhelpful.\r\n\r\nIf after calling ```createOffer``` I wait 1 second, and then call ```createOffer``` again on the same peerConnection object, I get a more useful SDP response:\r\n\r\n```\r\n{\"type\":\"offer\",\"sdp\":\"v=0\\r\\no=Mozilla-SIPUA-34.0 27087 0 IN IP4 0.0.0.0\\r\\ns=SIP Call\\r\\nt=0 0\\r\\na=ice-ufrag:a0e43d97\\r\\na=ice-pwd:83f5a1394cca74ff6445bd6c63278944\\r\\na=fingerprint:sha-256 DD:C2:D1:38:B6:5A:99:B2:D9:04:34:57:B3:F1:14:D5:B6:2B:01:D3:E4:E7:30:11:1F:4E:60:70:58:84:81:98\\r\\nm=application 9 DTLS/SCTP 5000\\r\\nc=IN IP4 0.0.0.0\\r\\na=sctpmap:5000 webrtc-datachannel 256\\r\\na=setup:actpass\\r\\na=candidate:0 1 UDP 2122252543 192.168.0.101 40919 typ host\\r\\na=candidate:0 2 UDP 2122252542 192.168.0.101 43164 typ host\\r\\na=candidate:1 1 UDP 1686110207 128.208.4.4 40919 typ srflx raddr 192.168.0.101 rport 40919\\r\\na=candidate:1 2 UDP 1686110206 128.208.4.4 43164 typ srflx raddr 192.168.0.101 rport 43164\\r\\n\"}\r\n```\r\n\r\nAt some level this may just be the gathered ICE candidates being included in the offer, but worth investigation potentially."}}