write EPROTO ...:error:...:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 12.4k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
I create a basic transparent proxy:
$ toxiproxy-cli create remote -l localhost:26379 -u <address>:443
then I check its status:
$ toxiproxy-cli l
Name Listen Upstream Enabled Toxics
======================================================================================
remote 127.0.0.1:26379 <address>:443 enabled None
Now when I try to connect using https://github.com/websockets/ws library I get this error message:
write EPROTO 140108792846208:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
My connect line is:
let ws = new WebSocket(address);
where address is: wss://127.0.0.1:26379/ws;
Any ideas what does that mean?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files or tests are named. Reproduce the proxy created with toxiproxy-cli create and the wss://127.0.0.1:26379/ws connection, then inspect how the listener and upstream handle the TLS handshake; done means identifying whether this is a configuration problem or a toxiproxy defect and documenting the required next step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100