0

I am using the deacon library for getting push notifications in my android application. I implemented the demo application, but I am not able to connect to the meteor server in my application from my office connection. However, when I try connecting from home, it works. Seems like something is blocking the connection at my workplace.

When I run the app in debug mode in the office, it gives the error -

DEBUG/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol

What could the problem be? How can I check/debug this issue? I want to know where the problem lies, in the connection or in getting the response?

4

1 回答 1

0

SNTP 是网络时间协议。模拟器尝试获取实际时间。我认为,这与您的应用程序无关。

取自:http : //developer.appcelerator.com/question/117495/javanetsocketexception-address-family-not-supported-by-protocol

于 2012-01-20T06:18:22.567 回答