You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using javapns from behind a proxy. When attempting to send a push
notification to gateway.sandbox.push.apple.com it would come back with a
java.net.UknownHostException.
This was due to my proxy responding with a HTTP 1.1 header which the JSSE does
not support when using SecureSocket.
To fix the issue I had to implement proxy tunneling within the
javapns.back.SSLConnectionHelper class. (see
http://www.javaworld.com/javaworld/javatips/jw-javatip111.html?page=2) It
looks like this was previously supported was back in Feb 2010 in rev 24 of
SSLConnectionHelper.
The changes I made to the source to support proxy tunneling are attached.
Original issue reported on code.google.com by dave.kn...@gmail.com on 20 Apr 2011 at 8:13
Original issue reported on code.google.com by
dave.kn...@gmail.com
on 20 Apr 2011 at 8:13Attachments:
The text was updated successfully, but these errors were encountered: