Software Archive
Read-only legacy content
17061 Discussions

XDK 2893 does not handle HTTPS requests from the emulator

Andrea_C_
New Contributor I
1,342 Views

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?

 

0 Kudos
1 Solution
Andrea_C_
New Contributor I
1,282 Views

Paul,

I have made 2 experiments:

1) Clean install and running XDK. SSL is OK

2) Update all the packages and running the XDK: SSL is OK.

So maybe I have something messed up with my system, but it's really really strange.

 

View solution in original post

0 Kudos
25 Replies
PaulF_IntelCorp
Employee
299 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
299 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
299 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
299 Views

For your convenience I'll prepare you a testcase.

 

0 Kudos
Andrea_C_
New Contributor I
299 Views

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

You should have the result shown in the screenshot.

 

0 Kudos
Reply