HaxeFoundation / HaxeFoundation/haxe
Haxe 4.0.0-rc.5 Http.customRequest not working on Python and C# with https.
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
I have tried the last RC of Haxe4, and I can't get Http.customRequest working on Python and C# targets. It is a GET request, and it works on C++, Java, and PHP.
When running the generated Python script, the onError callback on the Http instance is called with this message:
```
SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1056)')
```
When running the generated C# executable with Mono, I get this output:
```
Unhandled Exception:
Https is only supported with -lib hxssl
[ERROR] FATAL UNHANDLED EXCEPTION: Https is only supported with -lib hxssl
```
I am using Ubuntu 18.04 64 bits.
Contributor guide
Assessment
This issue has not been assessed yet.