Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrea_C_
New Contributor I
216 Views

XDK 2893 does not handle HTTPS requests from the emulator

Jump to solution

Hi to everyone,

I don't know what has happened, but from some days on my personal machine (Ubuntu 14.04 LTS), 

XDK started giving me the following errors on HTTPS requests made from the emulator.

Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR https://adress.

This for me is really a big problem, since I can't work on my machine. Is someone having the same behaviour?

 

Tags (2)
0 Kudos
25 Replies
PaulF_IntelCorp
Employee
48 Views

But I also get the same result from within the Debug console in Chrome browser on my desktop...

0 Kudos
PaulF_IntelCorp
Employee
48 Views

Andrea -- in the google API response I see this:

responseJSON: Object
   error_message: "Invalid request. Missing the 'address', 'bounds', 'components', 'latlng' or 'place_id' parameter."
   results: Array[0]
      length: 0
   __proto__: Array[0]
      status: "INVALID_REQUEST"
   __proto__: Object
responseText: "{↵
   "error_message" : "Invalid request. Missing the 'address', 'bounds', 'components', 'latlng' or 'place_id' parameter.",↵
   "results" : [],↵
   "status" : "INVALID_REQUEST"↵
}↵
0 Kudos
Andrea_C_
New Contributor I
48 Views

Paul,

You see this response because you don't have set the parameters, but this is not the point.

The main point if you see the SSL error or not, that it's not dependent on the fact that you pass the correct parameters.

 

0 Kudos
Andrea_C_
New Contributor I
48 Views

The error was shown in the previous two latest stable releases of the XDK.

You should have something like this in the emulator:

https://software.intel.com/sites/default/files/managed/53/3a/https_error.jpg

0 Kudos
Andrea_C_
New Contributor I
48 Views

For your convenience I'll prepare you a testcase.

 

0 Kudos
Andrea_C_
New Contributor I
48 Views

In the zip file please find attached the demo XDK project.

You should have the result shown in the screenshot.

 

0 Kudos