I currently have a Virtual Machine (VM) hosted on Azure that has python code that connects to a SFTP site to do things. This process has been running for several years with no issue up until 5 days ago. Now it gets a WinError 10060 error. After spending a couple of days tracking this down I have concluded that it is related to the VM (I can run this code from my local machine with no issue whatsoever). I just cant figure out how to get around it. This is the list of things Ive tried:
- Disabling Firewall / Anti-Virus
- review outbound rules for allowing port 22 (this obv is default but also what the 3rd party suggest we use). was already in place
- Verified that there are no other rules that would prevent this behavior
- Verified with our team that no one has made an networking related changes in regards to the VM.
- Tried changing the dns ip to something public, flushed dns cache.
- Worth pointing out that I worked with the 3rd party company to see I potentially it couldve been on their end, and they have no logs of the VM’s public IP attempting a connection (I trust them as theyre pretty helpful)
Ive tried various things but I guess I am at a loss here. I thought that this was going to be an easy troubleshooting issue but I guess not. Outside of submitting a support ticket with microsoft Im not sure what else to check? The fact that it just randomly started occurring is a little troubling to me. Anyone have experience with this?