Since the last week, our application cannot connect to the API using the same credentials and binaries as before.
This is a text of exception thrown by the network library:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 34.251.108.72:443
Are there any issues with the API servers or network connectivity? Is it online?
On 11th November our services moved to cloud servers.
If you are accessing our services based on IP address, they will be incorrect.
Please use name based addresses.
Is 34.251.108.72 your IP address? as I cannot find it in our logs.
The api has been working great but yesterday noticed the same issue as @Andrew_.
I have an Azure WebApp and it fails to connect to “https://api.companieshouse.gov.uk” although tested it locally with the same settings and it works. My CompaniesHouse application doesn’t have an ip restriction and also I don’t seem to have any firewall restriction in my Azure WebApp.
I was wondering if you are noticing any issue on your side.
Thanks
If you do an nslookup on api.companieshouse.gov.uk
you should get back 3 addresses
Currently they are :-
Address: 54.229.199.149
Address: 52.18.255.89
Address: 52.49.184.15
Can you perform an nslookup from your server that is running your application and ensure that your application is actually attempting to connect to us?
@ian_cox Ian Are you using Azure to host your application, because we have found that we have exactly the same issue when accessing companies house api from the azure hosts.
A number of IP address have been banned from accessing our services as they were ignoring our fair use policy.
If you would like to provide me with the IP addresses of your servers that cannot connect, I will check to see if they have been banned.
@MArkWilliams the outbound IPs of the application are the following:
51.140.180.76,51.140.191.115,51.140.176.159,51.140.176.11,51.140.185.39,51.140.177.87,51.140.185.119,51.140.188.39,51.140.188.241,51.140.183.68,51.140.184.173
I also tried to issue some request to the API from my local computer with the same configuration and they were processed without any issues. Two application instances on Azure in different regions still experience the same problem.
Hi @MArkWilliams We are currently integrating with Companies House and getting very similar errors from our development environment, but are able to make successful calls from other environments.
IT support on our side has advised that we should not have a firewall blocking the connection on our side.
Is it please possible to check if the address 172.30.103.125 has been banned from making calls?