8 Nov 2012 8:03 AM #1
Unanswered: Switching from HTTP to HTTPS fails in Connection.js
I'm overriding the Rest Proxy's buildUrl method like this:
request.setUrl("http://" + serverUrl + ":8080/restapi/2.0" + url);
request.setUrl("https://" + serverUrl + "/restapi/2.0" + url);
"GET https://10.0.87.97/restapi/2.0/entry-type Connection.js:314"
There's no sign of a response code, it's just failing at that line. I looked it up,
// start the request! xhr.send(requestOptions.data);
10 Nov 2012 5:44 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The data comes from the rawData, xmlData or jsonData in the request config you send. If it's not a GET, the data will also come from any params you specified in the request config so it may be null and should be valid.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
10 Dec 2012 8:44 AM #3
I am getting a similar error with Connection.js at line 314 ('Resource failed to load') , while sending requests over HTTPS.
How to overcome it?