(70007)The timeout specified has expired:

0

Hello,

i am working on lightsail and i have a instance there and when i try to open the website it takes lots of time and lots of time and dosen't work after some time the gateway 505 shows and when i try to access the instance over SSH and the error_log is: (70007)The timeout specified has expired: [client 185.254.196.173:57978] AH01075: Error dispatching request to : (polling)

i also try to increase the proxytimeout but it did not work i don't know where is the problem and according to my research everything is fine so what change i make so my site start to work

Vanshaj
asked 13 days ago254 views
1 Answer
0

The issue with your Lightsail instance seems to involve a timeout during request handling, which could be due to a few reasons including server configuration or resource limitations. First, check if your instance is under-provisioned for the traffic it's handling, as this can cause slow performance and timeouts. Consider upgrading to a higher plan with more CPU and memory if this is the case. Next, examine your server's Apache/Nginx settings, specifically around timeout values and proxy settings. Increasing ProxyTimeout and RequestReadTimeout might help, but ensure it's done correctly in the right configuration files and contexts. Additionally, check the logs for any recurring error patterns or resource bottlenecks (like CPU or memory spikes) that coincide with the timeouts. If the problem persists, consider using a performance profiling tool to identify slow processes or scripts.

profile picture
answered 13 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions