Shopify / Shopify/toxiproxy

Unable to connect to RDS Aurora SQL DB via ToxiProxy server

Open
#450 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question Toxiproxy
Dominant language
Go
Stars
12.4k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

Followed steps mentioned below:

  1. I have created proxy using following command:
    toxiproxy-cli create -l 0.0.0.0:26379 -u {RDS Aurora DB endpoint}:3306 RDS
  2. Replaced RDS aurora endpoint in url below with IP of proxy server
    jdbc:mysql://{proxy_server_ip}:26379/{DB_name}
  3. When I try to access SQL server as earlier, I get following error -
    "ERROR: Unexpected error: Could not connect to MySQL instance. Error is: (2003, "Can't connect to MySQL server on '{Proxy ip address}' (timed out)")"

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

Start by reproducing the toxiproxy-cli create command and the JDBC connection using the RDS Aurora endpoint and proxy address shown in the report. Check whether the proxy listener and upstream connection are reachable, then compare the result with a direct database connection. Done means identifying the cause of the timeout and documenting or implementing a verified connection path.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, mysql
Domain
cloud, databases, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.