Software Archive
Read-only legacy content
Comunicados
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussões

XDK 2893 does not handle HTTPS requests from the emulator

Andrea_C_
Novo colaborador I
4.772 Visualizações

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 Solução
Andrea_C_
Novo colaborador I
4.712 Visualizações

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.

 

Ver solução na publicação original

25 Respostas
PaulF_IntelCorp
Funcionário
932 Visualizações

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"↵
}↵
Andrea_C_
Novo colaborador I
932 Visualizações

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.

 

Andrea_C_
Novo colaborador I
932 Visualizações

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

Andrea_C_
Novo colaborador I
932 Visualizações

For your convenience I'll prepare you a testcase.

 

Andrea_C_
Novo colaborador I
932 Visualizações

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

You should have the result shown in the screenshot.

 

Responder