An attempt was made to access a socket in a way forbidden by its access permissions

I’ve been using rclone successfully to transfer files to amazon for a few months now but yesterday when I ran my script I received the following error.

2017/02/16 08:53:48 Failed to create file system for “remote:backups\documents”: failed to get endpoints: Get https://drive.amazonaws.com/drive/v1/account/endpoint: Post https://api.amazon.com/auth/o2/token: dial tcp 54.239.26.114:443: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.

I’ve tried re-generating my connection token but after successfully authenticating to Amazon in the browser the same message comes up in the command line.

Has anyone come up against this before, I had a search of the forums but could find nothing.

Thanks in advance

A bit of searching indicates this is probably a windows firewall problem

1 Like

Wow I can’t believe I missed that, yes Kaspersky randomly decided to black my batch files and rclone.

Thank you

1 Like