Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

ERR_CONNECTION_TIMED_OUT Ubuntu+fpm-php+nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
dprophitjr
Posts: 3
Joined: Thu May 25, 2017 12:18 pm

ERR_CONNECTION_TIMED_OUT Ubuntu+fpm-php+nginx
  • Quote

Post by dprophitjr » Thu May 25, 2017 12:24 pm

I've checked netstat and all is listening. I've checked iptables and fail2ban for my IP via grep. My webroot files are owned by that user. Not sure if that is going to matter? NGINX user is www-data but I want files for fcgi to exec as user. fcgi is setup. I have assigned the DO floatIP to the domain. host command answers and dig answers correctly I get a solid pingback from the floating ip. The domain is not expired.

Where or what would someone need to help me troubleshoot the connection timeout?
Top

dprophitjr
Posts: 3
Joined: Thu May 25, 2017 12:18 pm

Re: ERR_CONNECTION_TIMED_OUT Ubuntu+fpm-php+nginx
  • Quote

Post by dprophitjr » Thu May 25, 2017 1:04 pm

Code: Select all

root@artemis:/home/admin/web/denverprophit.us/public_html# ping 138.197.53.228
PING 138.197.53.228 (138.197.53.228) 56(84) bytes of data.
64 bytes from 138.197.53.228: icmp_seq=1 ttl=64 time=0.042 ms
64 bytes from 138.197.53.228: icmp_seq=2 ttl=64 time=0.061 ms
64 bytes from 138.197.53.228: icmp_seq=3 ttl=64 time=0.077 ms
64 bytes from 138.197.53.228: icmp_seq=4 ttl=64 time=0.065 ms
64 bytes from 138.197.53.228: icmp_seq=5 ttl=64 time=0.081 ms
64 bytes from 138.197.53.228: icmp_seq=6 ttl=64 time=0.078 ms
64 bytes from 138.197.53.228: icmp_seq=7 ttl=64 time=0.084 ms
^C
--- 138.197.53.228 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 5999ms
rtt min/avg/max/mdev = 0.042/0.069/0.084/0.016 ms
root@artemis:/home/admin/web/denverprophit.us/public_html# netstat -nlp | grep :80
tcp        0      0 138.197.53.228:80       0.0.0.0:*               LISTEN      17144/nginx.conf
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN      18736/vesta-nginx
tcp        0      0 127.0.0.1:8084          0.0.0.0:*               LISTEN      17144/nginx.conf
root@artemis:/home/admin/web/denverprophit.us/public_html# netstat -nlp | grep :443
tcp        0      0 138.197.53.228:443      0.0.0.0:*               LISTEN      17144/nginx.conf

root@artemis:/home/admin/web/denverprophit.us/public_html# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

root@artemis:/home/admin/web/denverprophit.us/public_html# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:1e:7a:30:ef:1d
          inet addr:138.197.104.55  Bcast:138.197.111.255  Mask:255.255.240.0
          inet6 addr: 2604:a880:800:a1::d6c:4001/64 Scope:Global
          inet6 addr: fe80::1e:7aff:fe30:ef1d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:616755 errors:0 dropped:0 overruns:0 frame:0
          TX packets:369041 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:576514720 (576.5 MB)  TX bytes:48553702 (48.5 MB)

eth0:0    Link encap:Ethernet  HWaddr 02:1e:7a:30:ef:1d
          inet addr:138.197.53.228  Bcast:138.197.55.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5145 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5145 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:1310481 (1.3 MB)  TX bytes:1310481 (1.3 MB)

root@artemis:/home/admin/web/denverprophit.us/public_html# iptables -L -n | grep [my ip address] no result.

root@artemis:/home/admin/web/denverprophit.us/public_html# dig denverprophit.us any

; <<>> DiG 9.10.3-P4-Ubuntu <<>> denverprophit.us any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23803
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;denverprophit.us.              IN      ANY

;; ANSWER SECTION:
denverprophit.us.       3599    IN      A       138.197.53.228
denverprophit.us.       3599    IN      TXT     "v=spf1 +a +mx +ip4:159.203.105.180 +ip4:138.197.53.228 ~all"
denverprophit.us.       1799    IN      NS      ns3.digitalocean.com.
denverprophit.us.       1799    IN      MX      5 alt2.aspmx.l.google.com.
denverprophit.us.       1799    IN      NS      ns1.digitalocean.com.
denverprophit.us.       1799    IN      MX      10 alt4.aspmx.l.google.com.
denverprophit.us.       1799    IN      MX      1 aspmx.l.google.com.
denverprophit.us.       1799    IN      MX      5 alt1.aspmx.l.google.com.
denverprophit.us.       1799    IN      SOA     ns1.digitalocean.com. hostmaster.denverprophit.us. 1495592913 10800 3600 604800 1800
denverprophit.us.       1799    IN      NS      ns2.digitalocean.com.
denverprophit.us.       1799    IN      MX      10 alt3.aspmx.l.google.com.

;; Query time: 73 msec
;; SERVER: 2001:4860:4860::8844#53(2001:4860:4860::8844)
;; WHEN: Thu May 25 13:11:31 UTC 2017
;; MSG SIZE  rcvd: 553

Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: ERR_CONNECTION_TIMED_OUT Ubuntu+fpm-php+nginx
  • Quote

Post by BBuchanan1013 » Fri May 26, 2017 1:45 am

Checking here:
https://intodns.com/denverprophit.us
and
http://www.dnsinspect.com/denverprophit.us/10113128


Everything looks ok...

This is way tooo high:
time 5999ms

And really digging into it, you do have a dns issue:

Code: Select all

OK. Domain denverprophit.us. resolves to:
United States 98.124.199.2
Which from what I can tell, is from

Code: Select all

Primary nameserver: dns1.name-services.com.
Hostmaster (e-mail): info.name-services.com.
So you need to set your name servers at your registrar to digital ocean.
Top

dprophitjr
Posts: 3
Joined: Thu May 25, 2017 12:18 pm

Re: ERR_CONNECTION_TIMED_OUT Ubuntu+fpm-php+nginx
  • Quote

Post by dprophitjr » Fri May 26, 2017 4:52 am

All fixed. Still can't get phpmyadmin to load. Timeout https://artemis.denverprophit.us/phpmyadmin/
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: ERR_CONNECTION_TIMED_OUT Ubuntu+fpm-php+nginx
  • Quote

Post by BBuchanan1013 » Sun May 28, 2017 3:42 am

dprophitjr wrote:All fixed. Still can't get phpmyadmin to load. Timeout https://artemis.denverprophit.us/phpmyadmin/
Does the Logs show any errors?
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password