forwardemail / forwardemail/superagent

POST to nginx with TLS not working

Open
#1,497 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I'm using superagent 5.1.0 on a node 12.4 code, trying to do a POST to a server running nginx with TLS1.x configured, and I'm getting this error:

`write EPROTO 4570895808:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332`

The server does not have sslv3 enabled. O enabled it just for testing, but still got the same error. Before reverting I tried connecting with openssl client, and it seems to work fine:

![image](https://user-images.githubusercontent.com/1410836/59835656-5ede4a00-934a-11e9-8ca4-957a5c439e8f.png)

My target is actually to have superagent work with TLS1.2. Any ideas?

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.