Hello,
I am using the circleci/ruby:2.5.7-stretch-browsers image. When I “Rerun job with SSH”, I cannot SSH into my build with my uploaded key.
I pull the IP & port from the build task output:
me@My-MacBook-Air:~/proj$ ssh -vvv -i ~/.ssh/circleci_rsa -p 64536 3.94.250.155
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: resolve_canonicalize: hostname 3.94.250.155 is address
debug2: ssh_connect_direct
debug1: Connecting to 3.94.250.155 [3.94.250.155] port 64536.
debug1: connect to address 3.94.250.155 port 64536: Connection refused
ssh: connect to host 3.94.250.155 port 64536: Connection refused
I can’t ping the builds either. I get:
me@My-MacBook-Air:~/proj$ ping 3.94.250.155
PING 3.94.250.155 (3.94.250.155): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
This happens both for my successful and failed builds. Can someone please help me troubleshoot? Thank you!
Pawan
February 19, 2020, 4:51pm
2
Hello,
Please make sure you are not using any kind of VPN and then try to follow troubleshooting steps given at https://circleci.com/docs/2.0/ssh-access-jobs/
Regards,
Pawan Bahuguna
Thanks Pawan. It’s working now. GitHub’s API was down this morning and I think that may have been the reason.
Pawan
February 19, 2020, 5:21pm
4
Yes, quite possible. They were having issue with API and Webhook today.
Ref: https://www.githubstatus.com/incidents/fxbbtd7mhz1c
I am having the same issue again today. No VPNs are on and can’t ping the server. Is there another outage?
Pawan
February 20, 2020, 8:57pm
6
Everything is fine right now. Please troubleshoot using the guide I posted earlier.
There’s no section in that guide for “Connection refused”. Only “Permission denied.” Is there any tool you can recommend to debug why your server cannot be reached?
@00da1009 Sorry to hear this is still an issue. Could you open up a support ticket so we can help you with this in more detail?
When opening the ticket, please send us some example build links where this issue is occurring.
For some additional info, have you noticed this issue occurring in any docker images other than circleci/ruby:2.5.7-stretch-browsers image
?
Pawan
February 25, 2020, 10:17pm
9
Please also include the output of “ssh -vvv”.