{"action":"created","issue":{"url":"https://api.github.com/repos/albfan/miraclecast/issues/65","repository_url":"https://api.github.com/repos/albfan/miraclecast","labels_url":"https://api.github.com/repos/albfan/miraclecast/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/albfan/miraclecast/issues/65/comments","events_url":"https://api.github.com/repos/albfan/miraclecast/issues/65/events","html_url":"https://github.com/albfan/miraclecast/issues/65","id":133955516,"number":65,"title":"miracle-sinkctl: phone refuses connection","user":{"login":"amarin-it-uc3m-es","id":15982485,"avatar_url":"https://avatars.githubusercontent.com/u/15982485?v=3","gravatar_id":"","url":"https://api.github.com/users/amarin-it-uc3m-es","html_url":"https://github.com/amarin-it-uc3m-es","followers_url":"https://api.github.com/users/amarin-it-uc3m-es/followers","following_url":"https://api.github.com/users/amarin-it-uc3m-es/following{/other_user}","gists_url":"https://api.github.com/users/amarin-it-uc3m-es/gists{/gist_id}","starred_url":"https://api.github.com/users/amarin-it-uc3m-es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarin-it-uc3m-es/subscriptions","organizations_url":"https://api.github.com/users/amarin-it-uc3m-es/orgs","repos_url":"https://api.github.com/users/amarin-it-uc3m-es/repos","events_url":"https://api.github.com/users/amarin-it-uc3m-es/events{/privacy}","received_events_url":"https://api.github.com/users/amarin-it-uc3m-es/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-02-16T11:28:07Z","updated_at":"2016-08-16T22:12:37Z","closed_at":null,"body":"Hi, \r\nI have setup miraclecast and run it with a USB wifi dongle. \r\nMy android phone lg e975 discovers the server and I see the P2P group formation\r\n\r\n<pre>\r\nTRACE: wpa: raw message: <3>P2P-GROUP-STARTED p2p-0 GO ssid=\"DIRECT-rb\" freq=2437 passphrase=\"XXXXXXX\" go_dev_addr=14:cc:20:1f:65:8f\r\nDEBUG: supplicant: ssid: DIRECT-rb (supplicant_event_p2p_group_started() in ../../../src/wifi/wifid-supplicant.c:1215)\r\nDEBUG: supplicant: new group: p2p-0 (supplicant_group_new() in ../../../src/wifi/wifid-supplicant.c:484)\r\nDEBUG: supplicant: start local group on new group p2p-0 as GO/1 (supplicant_event_p2p_group_started() in ../../../src/wifi/wifid-supplicant.c:1250)`\r\n</pre>\r\n\r\ndhcp starts, and my phone gets an IP address\r\n\r\n<pre>\r\nTRACE: wpa: raw message: IFNAME=p2p-0 <3>AP-STA-CONNECTED 42:b0:fa:bc:7a:de p2p_dev_addr=42:b0:fa:bc:fa:de\r\nDEBUG: supplicant: bind peer 42:b0:fa:bc:fa:de to existing local group p2p-0 (supplicant_event_ap_sta_connected() in ../../../src/wifi/wifid-supplicant.c:1369)\r\nDEBUG: supplicant: dhcp-comm-p2p-0: R:42:b0:fa:bc:7a:de 192.168.50.100 (supplicant_group_comm_fn() in ../../../src/wifi/wifid-supplicant.c:253)\r\n</pre>\r\n\r\nmiracle-sink displays the connection:\r\n\r\n<pre>\r\n[ADD] Peer: 42:b0:fa:bc:fa:de@13\r\n[PROV] Peer: 42:b0:fa:bc:fa:de@13 Type: pbc PIN:\r\n[GO NEG] Peer: 42:b0:fa:bc:fa:de@13 Type: pbc PIN:\r\n[CONNECT] Peer: 42:b0:fa:bc:fa:de@13\r\nnow running on peer 42:b0:fa:bc:fa:de@13\r\n</pre>\r\n\r\nBut then it goes into a continuous loop showing the following messages:\r\n\r\n<pre>\r\nERROR: cannot connect to remote host (111): Conexión rehusada (sink_connected() in ../../../src/ctl/ctl-sink.c:381)\r\nNOTICE: HUP/ERR on socket\r\n</pre>\r\n\r\nThe phone shows the icon of wifi-direct connected and the miracast screen shows \"Establishing connection\" without any progress. \r\n\r\nI can ping the phone from the server. It looks like the phone is waiting for something to initiate the connection. Any ideas?\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/albfan/miraclecast/issues/comments/240256040","html_url":"https://github.com/albfan/miraclecast/issues/65#issuecomment-240256040","issue_url":"https://api.github.com/repos/albfan/miraclecast/issues/65","id":240256040,"user":{"login":"albfan","id":220968,"avatar_url":"https://avatars.githubusercontent.com/u/220968?v=3","gravatar_id":"","url":"https://api.github.com/users/albfan","html_url":"https://github.com/albfan","followers_url":"https://api.github.com/users/albfan/followers","following_url":"https://api.github.com/users/albfan/following{/other_user}","gists_url":"https://api.github.com/users/albfan/gists{/gist_id}","starred_url":"https://api.github.com/users/albfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albfan/subscriptions","organizations_url":"https://api.github.com/users/albfan/orgs","repos_url":"https://api.github.com/users/albfan/repos","events_url":"https://api.github.com/users/albfan/events{/privacy}","received_events_url":"https://api.github.com/users/albfan/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T22:12:37Z","updated_at":"2016-08-16T22:12:37Z","body":"Merged.\r\n\r\ngstplayer is a recent change\r\n\r\nFrom autotools:\r\n\r\n    $ make distclean\r\n\r\nOr from cmake:\r\n\r\n    $ rm CMakeCache.txt\r\n\r\nis needed to regenerate Makefiles.\r\n\r\n@amarin-it-uc3m-es please check if that works.\r\n\r\nAnyway detect what's happening with gst-launch would be nice. After sucessful connect miracle-gst can be launched manually with:\r\n\r\n    $ miracle-gst -p 1991\r\n\r\nAny problem must be output to stdout"}}
{"actor":{"display_login":"albfan"}}