We are encountering a connection timeout issue when attempting to monitor. The system is deployed on a Linux server and managed using PM2. Despite configuring the environment to handle a large number of requests, the monitoring process fails with connection timeouts, leading to incomplete or failed checks for many of the URLs. Using nginx as reverse proxy. Below is the nginx configruation.
โ ๏ธ Please verify that this question has NOT been raised before.
๐ก๏ธ Security Policy
๐ Describe your problem
Hello,
We are encountering a connection timeout issue when attempting to monitor. The system is deployed on a Linux server and managed using PM2. Despite configuring the environment to handle a large number of requests, the monitoring process fails with connection timeouts, leading to incomplete or failed checks for many of the URLs. Using nginx as reverse proxy. Below is the nginx configruation.
```nginx server { listen 80; listen [::]:80; server_name uptime.codiantdev.com; location /{ return 301 https://uptime.codiantdev.com$request_uri; } } server { listen 443 ssl http2; #listen [::]:443 ssl http2; server_name uptime.codiantdev.com; client_max_body_size 200M; ssl_certificate /etc/nginx/ssl/codiantdev.crt; ssl_certificate_key /etc/nginx/ssl/codiantdev.key; access_log /var/log/nginx/uptime-access.log; error_log /var/log/nginx/uptime-error.log; access_log /var/log/monitoring/uptime-access.log updated_json_combined; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://localhost:3001/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } ```nginx.conf
๐ Error Message(s) or Log
๐ป Uptime-Kuma Version
3.3.17
๐ป Operating System and Arch
Ubuntu 22.04
๐ Browser
Chrome
๐ฅ๏ธ Deployment Environment