[ ] Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
[ ] Bug report
System.AggregateException: One or more errors occurred. —> System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: 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 XX.XX.XX.XX:443
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
[ ] Performance issue
Squidex API - unable to acess
[ ] Documentation issue or request
Current behavior
Expected behavior
Minimal reproduction of the problem
Environment
App Name:
[ ] Self hosted with docker
[ .] Self hosted with IIS
[ ] Self hosted with other version
[ ] Cloud version
Version: [VERSION]
Browser:
[ ] Chrome (desktop)
[ ] Chrome (Android)
[ ] Chrome (iOS)
[ ] Firefox
[ ] Safari (desktop)
[ ] Safari (iOS)
[ ] IE
[ ] Edge
Others:
Hi Squidex team,
We are currently on the Basic plan of Squidex cloud.For some reason, our website application in Godaddy is not getting any response back from Squidex API. Please see the error log below.
2023-04-09 18:13:09,050 [8] ERROR MonitoringLogger - Error while generate token
System.AggregateException: One or more errors occurred. —> System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: 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 104.26.8.32:443
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
I believe you are using Cloudflare for cloud.squidex.io. The IP address 104.26.8.32:443 seems to be with Cloudflare. Would you be able to check 160.153.155.190 is in blacklist of cloudflare firewall maybe?
Our website is on a shared hosting on Godaddy. Our hypothesis is that the IP address of the shared hosting at Godaddy is getting blocked by the firewall of Cloudflare which cloud.squidex.io uses. We are creating a ping function to check if we are able to get the pings through to Google as well as 104.26.8.32:443
This has been a blocker for us since we are not able to consume the API from Squidex cloud. It used to work fine a few days back but we started noticing the timeout around Sunday.
System.Net.Sockets.SocketException: 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 104.26.8.32:443
I am confident that Cloudflare is blocking the requests from our hosted website at Godaddy with IP 160.153.155.190. I tried pining a few of our other websites which uses Cloudflare and those returns false as well.
I pinged 104.26.8.32 and cloud.squidex.io from a VPS we have on digital ocean and the ping returns true. Please see log below.
IP 104.26.8.32
root@ubuntu-s-1vcpu-1gb-sgp1-01:~# ping -c 5 104.26.8.32
PING 104.26.8.32 (104.26.8.32) 56(84) bytes of data.
64 bytes from 104.26.8.32: icmp_seq=1 ttl=57 time=1.54 ms
64 bytes from 104.26.8.32: icmp_seq=2 ttl=57 time=0.982 ms
64 bytes from 104.26.8.32: icmp_seq=3 ttl=57 time=1.01 ms
64 bytes from 104.26.8.32: icmp_seq=4 ttl=57 time=1.01 ms
64 bytes from 104.26.8.32: icmp_seq=5 ttl=57 time=1.01 ms
— 104.26.8.32 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 0.982/1.108/1.537/0.214 ms
But this means that the block is not at the domain level, right? I am not sure what I can do. I can talk with cloudflare support, but this might take a while. Often the ongoing ip is shared between multiple accounts so the block might not even your fault