-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to RDS Aurora SQL DB via ToxiProxy server #450
Comments
Should be |
@miry I did change it to "jdbc:mysql://{proxy_server_ip}:26379/{DB_name}". It was a typo. Apologies. Request you to help me here. |
@ashish-k I propose to check toxiproxy with simple commands:
$ toxiproxy-server --version
toxiproxy-server version 2.5.0
$ toxiproxy-cli --version
toxiproxy-cli version 2.5.0
LOG_LEVEL=debug toxiproxy-server
toxiproxy-cli create -l 0.0.0.0:26379 -u {RDS Aurora DB endpoint}:3306 rds
toxiproxy-cli inspect rds
curl -v 0.0.0.0:26379
curl -v 127.0.0.1:26379
Pls share output of commands and logs, it would help me to identify the problem. |
@miry Thank you for your inputs. After running command "LOG_LEVEL=debug toxiproxy-server", following output is printed and nothing happens after that. {"level":"info","host":"localhost","port":"8474","version":"2.5.0","caller":"api.go:119","time":"2022-10-14T11:54:21Z","message":"Starting HTTP server on endpoint localhost:8474"} |
@ashish-k Have you done commands with
It is not possible right now, sorry for this. Probably we can move log level in config later. |
@miry Please find below the output of curl commands. curl -v 0.0.0.0:26379 Output:
curl -v 127.0.0.1:26379 Output:
|
@miry Request you to help me here. Do let me know if any other inputs are required. |
Can anyone else help me here please if @miry is not available |
@miry Can you please help me here |
@ashish-k As I see toxiproxy shows the reply from Aurora DB. You did not provide logs from toxiproxy during your experiments with You should check Toxiproxy server logs and Aurora DB logs. |
Followed steps mentioned below:
toxiproxy-cli create -l 0.0.0.0:26379 -u {RDS Aurora DB endpoint}:3306 RDS
jdbc:mysql://{proxy_server_ip}:26379/{DB_name}
"ERROR: Unexpected error: Could not connect to MySQL instance. Error is: (2003, "Can't connect to MySQL server on '{Proxy ip address}' (timed out)")"
The text was updated successfully, but these errors were encountered: