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

Wrap up conversion to NsdManager #104

Closed
2 tasks
iheart2code opened this issue Jun 12, 2014 · 2 comments
Closed
2 tasks

Wrap up conversion to NsdManager #104

iheart2code opened this issue Jun 12, 2014 · 2 comments
Assignees
Milestone

Comments

@iheart2code
Copy link
Contributor

I have completed discovery (see relevant commit 9fbc29f) and gotten everything working except for launching images and a thorough QA. Also, the AirPlay device seems to drop quite frequently, even when it is still on the network.

  • fix image launching (see stack trace below)
  • figure out why AirPlay keeps dropping from network

Here is the error I get when trying to launch images.

06-12 12:11:30.865: W/System.err(26305): java.net.UnknownHostException: Unable to resolve host "ec2-54-201-108-205.us-west-2.compute.amazonaws.com": No address associated with hostname
06-12 12:11:30.865: W/System.err(26305):    at java.net.InetAddress.lookupHostByName(InetAddress.java:424)
06-12 12:11:30.865: W/System.err(26305):    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
06-12 12:11:30.865: W/System.err(26305):    at java.net.InetAddress.getAllByName(InetAddress.java:214)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.Dns$1.getAllByName(Dns.java:28)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:216)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:122)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:292)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
06-12 12:11:30.865: W/System.err(26305):    at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)
06-12 12:11:30.865: W/System.err(26305):    at com.connectsdk.service.AirPlayService$5.run(AirPlayService.java:332)
06-12 12:11:30.865: W/System.err(26305):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
06-12 12:11:30.865: W/System.err(26305):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
06-12 12:11:30.865: W/System.err(26305):    at java.lang.Thread.run(Thread.java:841)
06-12 12:11:30.865: W/System.err(26305): Caused by: libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
06-12 12:11:30.865: W/System.err(26305):    at libcore.io.Posix.getaddrinfo(Native Method)
06-12 12:11:30.865: W/System.err(26305):    at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
06-12 12:11:30.865: W/System.err(26305):    at java.net.InetAddress.lookupHostByName(InetAddress.java:405)
06-12 12:11:30.875: W/System.err(26305):    ... 14 more

@khk624
Copy link
Contributor

khk624 commented Jun 16, 2014

Those two issues are not reproducible here.
The first issue, I think the server had some issue at the moment, so that it couldn't be reachable.

@iheart2code
Copy link
Contributor Author

Let's hold on this in favor of #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants