Software Archive
Read-only legacy content
공지
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.

XDK 2893 does not handle HTTPS requests from the emulator

Andrea_C_
새로운 기여자 I
4,751 조회수

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 포인트
1 솔루션
Andrea_C_
새로운 기여자 I
4,691 조회수

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.

 

원본 게시물의 솔루션 보기

0 포인트
25 응답
PaulF_IntelCorp
928 조회수

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 포인트
Andrea_C_
새로운 기여자 I
928 조회수

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 포인트
Andrea_C_
새로운 기여자 I
928 조회수

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 포인트
Andrea_C_
새로운 기여자 I
928 조회수

For your convenience I'll prepare you a testcase.

 

0 포인트
Andrea_C_
새로운 기여자 I
928 조회수

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

You should have the result shown in the screenshot.

 

0 포인트
응답