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

WebClient does not support HTTPS in GAE #49

Open
tomacla opened this issue Nov 29, 2012 · 4 comments
Open

WebClient does not support HTTPS in GAE #49

tomacla opened this issue Nov 29, 2012 · 4 comments

Comments

@tomacla
Copy link

tomacla commented Nov 29, 2012

The SiteBricks webclient does not support HTTPS connection. A ClasCastException is thrown.

@dhanji
Copy link
Owner

dhanji commented Nov 29, 2012

Can you paste your stack trace please? I have SB clients running fine in production that call HTTPS URLs. (Also which version are you using? Maybe there was a regression?)

@tomacla
Copy link
Author

tomacla commented Dec 2, 2012

Hello,

In fact it is due to GAE environnement :

Error injecting constructor, java.lang.ClassCastException: com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection cannot be cast to javax.net.ssl.HttpsURLConnection

I'm using 0.8.7 (lastest release).
I haven't tried to build from source.

@dhanji
Copy link
Owner

dhanji commented Dec 2, 2012

Yea =(

After one of our contributors migrated the Web Client to AHC, all that broke. Fixing GAE is on the roadmap for 0.8.8.
In the meantime if you want to contribute the fix (just use HttpURLConnection instead of AHC underneath) that would be fantastic.

I also want to support the GAE async api if possible.

@tomacla
Copy link
Author

tomacla commented Dec 10, 2012

Hello Dhanji,

If I find a bit of time at home after work, I'll do that :)

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

No branches or pull requests

2 participants