Hello there,
I have a problem with a ssl connection. My App make some request to my server. The GET requests works fine and one POST request works too, but my last post request to upload a image in base64 doesn't work.
This error shows up in Xcode:
thirdparty/mbedtls/library/ssl_tls.c:3746: mbedtls_ssl_flush_output() returned -26752 (-0x6880)
I read a problem with lets encrypt and add the certificate from github/godot/thirdparty/certs to my project settings, but it doesn't help.
var query = http_client.query_string_from_dict(
{"file": base_64,
"format": img.get_format(),
"privacy": accepted_privacy,
"terms": accepted_term})
var headers = ["Content-Type: application/x-www-form-urlencoded", "Authorization: Bearer "+ connector.token]
print("Try HTTP Request")
$POSTRequest.connect("request_completed", self, "get_upload_status")
var result = $POSTRequest.request(connector.server_url + "upload", headers, connector.ssl, HTTPClient.METHOD_POST, query)
if result != 0:
print("HTTP Error: " + str(result))
connector.ssl = True
connector.server_url = https://myserver.tld/somepath
Has anyone a solution?
Thanks