HaxeFoundation / HaxeFoundation/haxe

Haxe 4.0.0-rc.5 Http.customRequest not working on Python and C# with https.

Open
#8,839 4 comments 0 reactions 0 assignees View on GitHub
bug platform-python
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.