Shopify / Shopify/toxiproxy

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

Open
#292 2 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.