Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

No HTTPS request is sent to UE 5.0.3 #398

Open
DevilRabe opened this issue Nov 10, 2022 · 2 comments
Open

No HTTPS request is sent to UE 5.0.3 #398

DevilRabe opened this issue Nov 10, 2022 · 2 comments
Labels
question Further information is requested

Comments

@DevilRabe
Copy link

Good afternoon! Faced with such a problem: I decided to use the plugin to communicate the game with the WEB API on NET Core, decided to make the API over HTTPS to transmit JSON data, and faced with the fact that the plugin seems to be unable to send data to the API over HTTPS and therefore receive them. When I tried over HTTP -> everything worked like a Swiss watch. Please tell me, what could be the problem?
Engine version: 5.0.3 from Epic Launcher
VaRest plugin form Epic Launcher, for UE 5.0
22image
11image

@ufna ufna added the question Further information is requested label Nov 10, 2022
@ufna
Copy link
Owner

ufna commented Nov 10, 2022

You should set log mode to Verbose for LogHTTP category and check what happens with request. It seemed to be certificate-related issues or something like this.

@DevilRabe
Copy link
Author

I think you're right.
Logs:
LogVaRest: UVaRestRequestJSON::ProcessRequest(372): Request (urlencoded): GET https://localhost:7120/weatherforecast/getstr (check bExtendedLog for additional data)
LogHttp: Warning: 00000704D49EF500: invalid HTTP response code received. URL: https://localhost:7120/weatherforecast/getstr, HTTP code: 0, content length: 0, actual payload size: 0
LogHttp: Warning: 00000704D49EF500: request failed, libcurl error: 60 (Peer certificate cannot be authenticated with given CA certificates)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 0 ( Trying ::1...)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 1 (TCP_NODELAY set)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 2 (Connected to localhost (::1) port 7120 (#2))
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 3 (ALPN, offering http/1.1)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 4 (Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 5 (TLSv1.3 (OUT), TLS handshake, Client hello (1):)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 6 (TLSv1.3 (IN), TLS handshake, Server hello (2):)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 7 (TLSv1.2 (IN), TLS handshake, Certificate (11):)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 8 (TLSv1.2 (OUT), TLS alert, Server hello (2):)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 9 (SSL certificate problem: unable to get local issuer certificate)
LogHttp: Warning: 00000704D49EF500: libcurl info message cache 10 (Closing connection 2)
LogVaRest: Error: Request failed (0): https://localhost:7120/weatherforecast/getstr

How I can install the certificate? To use HTTPS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants