Git Push only working when connected to specific network

Viewed 26

This is a weird one, at least for me. When I'm on my home network or the office network, I get the following error when pushing to GIT

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

When I tether on my mobile phone and use that network connection, the push is successful.

I was told to empty my local_hosts file in my .ssh folder, however that didn't resolve the problem.

For more context I'm working with Drupal websites on the Pantheon platform, and I'm using the lando CLI. Any ideas on what could be going wrong here?

0 Answers
Related