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

Proxy tunnelling is not supported #48

Closed
GoogleCodeExporter opened this issue Apr 27, 2015 · 1 comment
Closed

Proxy tunnelling is not supported #48

GoogleCodeExporter opened this issue Apr 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

Attachments:

@GoogleCodeExporter
Copy link
Author

Changes have been applied to version 1.6.6

Original comment by idbill.p...@gmail.com on 22 Apr 2011 at 9:43

  • Changed state: Done

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

1 participant