Comments (10)
Need more info.
Are you asking if Apple did something? Can't say, we're not affiliated with
Apple.
Did your cert expire? can't say, we don't have your cert.
What is the stack trace?
Original comment by [email protected]
on 5 Oct 2010 at 4:49
from javapns.
[deleted comment]
from javapns.
[deleted comment]
from javapns.
My Push SSL Certificate IS
Development Push SSL Certificate Enabled Dec 28, 2010
when I run
http://localhost/apnsSend.do
tomcat stack trace like follow:
java.net.SocketException: Bad address: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
at javapns.back.SSLConnectionHelper.getSSLSocket(Unknown Source)
at javapns.back.PushNotificationManager.initializeConnection(Unknown Source)
at com.jbt.util.ApnsManager.provider(ApnsManager.java:37)
at com.jbt.controller.WebController.apnsSend(WebController.java:1817)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:259)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Unknown Source)
Original comment by [email protected]
on 5 Oct 2010 at 8:35
from javapns.
What happens when type this in a terminal:
telnet gateway.sandbox.push.apple.com 2195
Do you get:
Trying 17.149.34.141...
Connected to gateway.sandbox.push-apple.com.akadns.net.
Escape character is '^]'.
or nothing?
If nothing... verify why your machine cannot reach that address.
Original comment by [email protected]
on 5 Oct 2010 at 3:17
from javapns.
when i trace router to gateway.sandbox.push.apple.com
3 6 ms 5 ms 5 ms 222.106.74.93
4 5 ms 8 ms 4 ms 112.189.31.21
5 5 ms 5 ms 4 ms 112.189.28.1
6 7 ms 5 ms 5 ms 112.174.17.233
7 5 ms 5 ms 5 ms 112.174.81.6
8 5 ms 5 ms 5 ms 112.174.83.14
9 131 ms 130 ms 156 ms 112.174.87.130
10 155 ms 150 ms 146 ms so-7-0-1.edge4.SanJose1.Level3.net [4.53.26.1]
11 160 ms 157 ms 153 ms ae-2-79.edge2.SanJose1.Level3.net [4.68.18.79]
12 * * *
13 * * *
I can't reach that, oh My.
what happened at networks....
Original comment by [email protected]
on 6 Oct 2010 at 12:53
from javapns.
Traceroute isn't a valid test, because it requires an ICMP echo, which ICMP
echo to be disabled. (makes sense)
What does telnet show?
Original comment by [email protected]
on 6 Oct 2010 at 3:47
from javapns.
Thanks.
I Con't connect to gateway.sandbox.push.apple.com 2195 using telnet.
C:\Users\Administrator>telnet gateway.sandbox.push.apple.com 2195
Connecting To gateway.sandbox.push.apple.com...
Could not open connection to thehost, on port 2195: Connect failed
Original comment by [email protected]
on 6 Oct 2010 at 4:10
from javapns.
Just to verify... do you have another machine [say with a different IP, same
datacenter] that you can run that command from?
And if that doesn't work, what if you were to use another machine [say with a
different isp]... a home connection would work equally well.
There is a note in the Apple docs, that indicates they will block connections
if they receive too many to fast... just trying to rule out who is doing the
blocking.
Original comment by [email protected]
on 6 Oct 2010 at 4:15
from javapns.
Old issue with no recent update, which is most likely related to the user's
network environment and not the library itself. Please feel free to re-open if
the issue is still valid.
Original comment by [email protected]
on 7 Sep 2011 at 1:09
- Changed state: WontFix
from javapns.
Related Issues (20)
- invalid token error HOT 5
- encountered "KeystoreException (Keystore contains too many certificates)" HOT 3
- Apple dropping support for SSL 3.0 on push notification servers, requiring TLS by October 29th HOT 3
- JavaAPN can't work on Windows but Mac OS is fine, why???? HOT 3
- Feature request: configurable or parameterized time waiting on socket HOT 4
- Feature request: configurable or parameterized retry policy HOT 3
- Creating certificates step-by-step link broken HOT 1
- thread terminated after reached max msg send HOT 3
- Exception reporting not working for multiple payloads
- Responses not read? HOT 1
- Javapns Communication exception:Connection refused to ConnectionToAppleServer
- support for title-loc-key (ios 8.2)
- Unable to connect APNS - CommunicationException - java.net.ConnectionException : Communication Timed Out HOT 2
- Duplicate notifications being sent out at high rate
- Add content-available to PushNotificationPayload
- Do you support VoIP push notifications?
- javaapns does not supports log4j 2
- Exception java.net.SocketException
- Javapns Notifications SSL Exceptions and Closed Sockets HOT 1
- thead lake
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javapns.