-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 reach internet from github actions virtual environment #1519
Comments
Hello, @mous2890 Thank you. |
Thanks for your time looking into this and following this up with me. This is a private repo so unsure how you'd be able to see the action but here's the link anyway: The network operation that is currently failing is ssh'ing to the target server: kick-about.uk
I use ansible to automate my deployment from github actions. Previously, this has always worked and successfully deployed my application a number of times using the same actions workflow. The error you see below is from the latest run (link above) which is the ansible output. Job: Deploy Log from the job:
If you need anything else, please let me know! Thanks. |
@mous2890, Could you please use site https://sshcheck.com/ to check ssh connection to the kick-about.uk host? |
Hi @al-cheb I tested just now and received the same result as you which is odd. The server is untouched for months. I ran another test on another website which had the same result as well. Possibly my machine was affected by the outage and hasn't recovered. I'll close down this issue and investigate further from my end. Thank you for your help! |
@mous2890 Any updates on this? I am facing a similar issue where the ping command is not working. I installed the ping command before this step and it always returns 100% packet loss. (resulting in exit code 1)
|
|
Hi @catthehacker! Apologies for the late reply. Do you think using "self-hosted runners" could be the way to go? |
@aquibbaig , it depends on the place where your self-hosted runner will be located. |
@maxim-lobanov I see, thanks a ton! |
* This test will run only if ENABLE_EXTERNAL_TESTS environment variable is set. * Since we are adding a ping test, and apparently github actions doesn't support [ping](actions/runner-images#1519 (comment)), we're not adding these tests to Github Actions yet.
`ping` doesn't work in GitHub Actions ref. actions/runner-images#1519 (comment)
`ping` doesn't work in GitHub Actions ref. actions/runner-images#1519 (comment)
the way we were checking for subdomains in the gateways completely broke, didn't detect it before because the deployed staging version for gateways is too old. ~~Added a few CI tests so this doesn't' happen again.~~ seems like github runners [doesn't support pinging the outside world](actions/runner-images#1519) so I'm putting that off for now.
This change is required to migrate existing tests to run QEMU worker tests on GitHub Actions. GitHub hosted runners can't run the `ping` command: actions/runner-images#1519 by design. If we still intend to use `ping`, the solution would be running QEMU worker tests on self-hosted runners which allow ICMP packets Change-type: patch Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
This change is required to migrate existing tests to run QEMU worker tests on GitHub Actions. GitHub hosted runners can't run the `ping` command: actions/runner-images#1519 by design. If we still intend to use `ping`, the solution would be running QEMU worker tests on self-hosted runners which allow ICMP packets Change-type: patch Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
This change is required to migrate existing tests to run QEMU worker tests on GitHub Actions. GitHub hosted runners can't run the `ping` command: actions/runner-images#1519 by design. If we still intend to use `ping`, the solution would be running QEMU worker tests on self-hosted runners which allow ICMP packets Change-type: patch Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
This change is required to migrate existing tests to run QEMU worker tests on GitHub Actions. GitHub hosted runners can't run the `ping` command: actions/runner-images#1519 by design. If we still intend to use `ping`, the solution would be running QEMU worker tests on self-hosted runners which allow ICMP packets Change-type: patch Signed-off-by: Vipul Gupta (@vipulgupta2048) <[email protected]>
Description
Despite no changes being made to my github actions, my actions can no longer deploy to my server, Upon further investigation, i found that the virtual environment is no longer able to reach my target server. I went and inspected my server and everything seemed fine. I then decided to run some connectivity tests from the github action to google to see if it can reach that. Unfortunately it wasn't even able to reach that.
Ping from github action:
Area for Triage:
Git
Question, Bug, or Feature?:
Bug
Virtual environments affected
Expected behavior
Previously, i was able to reach the internet and deploy to my server. I expect the virtual environment to have outbound connectivity to the internet.
Actual behavior
github action virtual environment has no access to the internet.
Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
Ignore the bad indentations on below workflow file, copy and pasting didn't work too great. Simply run any github action using ubuntu-latest or v20 and you'll find no connectivity to the internet.
The text was updated successfully, but these errors were encountered: