Author Topic: Admin URL ERR_CONNECTION_RESET  (Read 11527 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Admin URL ERR_CONNECTION_RESET
« on: July 21, 2017, 04:56:43 PM »
I've had the server running fine for a few months, as of this morning the admin URL (both ports 2030 and 2031) are giving the following error.



This site can’t be reached

The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_RESET



I'm not seeing any server updates done via any crons or logs and I'm not certain what the cause is.  Websites are still running, I've tried disabling and rebooting various services (iptables, apache, nginx, varnish).  Any guidance would be appreciated.

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #1 on: July 21, 2017, 06:50:58 PM »
you should check if your cwp is up and running, you can do that by using command

Code: [Select]
netstat -tulpn|grep 2030

You can also check the state of your service by running this commands
Code: [Select]
service cwpsrv status
service cwp-phpfpm status
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #2 on: July 21, 2017, 06:58:41 PM »
It's all good.

Code: [Select]
netstat -tulpn|grep 2030
tcp        0      0 0.0.0.0:2030            0.0.0.0:*               LISTEN      177/cwpsrv: master

Code: [Select]
service cwpsrv status
Redirecting to /bin/systemctl status  cwpsrv.service
* cwpsrv.service - CentOS Web Panel service (daemon)
   Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-07-21 11:43:43 CDT; 2h 12min ago
  Process: 159 ExecStart=/usr/local/cwpsrv/bin/cwpsrv (code=exited, status=0/SUCCESS)
  Process: 108 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=0/SUCCESS)
 Main PID: 177 (cwpsrv)
   CGroup: /system.slice/cwpsrv.service
           |-177 cwpsrv: master process /usr/local/cwpsrv/bin/cwpsrv
           |-182 cwpsrv: worker process
           `-183 cwpsrv: worker process

Jul 21 11:25:58 jez systemd[1]: Failed to read PID from file /usr/local/cwpsrv/var/run/nginx.pid: Invalid argument
Jul 21 11:25:58 jez systemd[1]: Started CentOS Web Panel service (daemon).
Jul 21 11:42:34 jez systemd[1]: Stopping CentOS Web Panel service (daemon)...
Jul 21 11:42:34 jez systemd[1]: Stopped CentOS Web Panel service (daemon).
Jul 21 11:43:42 jez systemd[1]: Starting CentOS Web Panel service (daemon)...
Jul 21 11:43:43 jez cwpsrv[108]: Already running. If you want to run multiple instances, you need to specify different pid files (use -i option)
Jul 21 11:43:43 jez cwpsrv[108]: cwpsrv:the configuration file /usr/local/cwpsrv/conf/cwpsrv.conf syntax is ok
Jul 21 11:43:43 jez cwpsrv[108]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test is successful
Jul 21 11:43:43 jez systemd[1]: Failed to read PID from file /usr/local/cwpsrv/var/run/nginx.pid: Invalid argument
Jul 21 11:43:43 jez systemd[1]: Started CentOS Web Panel service (daemon).


Code: [Select]
service cwp-phpfpm status
Redirecting to /bin/systemctl status  cwp-phpfpm.service
* cwp-phpfpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/cwp-phpfpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2017-07-21 11:43:42 CDT; 2h 12min ago
 Main PID: 101 (php-fpm)
   CGroup: /system.slice/cwp-phpfpm.service
           |-101 /usr/local/cwp/php71/sbin/php-fpm --nodaemonize --fpm-config /usr/local/cwp/php71/etc/php-fpm.conf -R
           `-123 /usr/lib/systemd/systemd-udevd

Jul 12 09:52:24 jez postfix/postsuper[32386]: Requeued: 1 message
Jul 21 11:24:48 jez systemd[1]: Stopping The PHP FastCGI Process Manager...
Jul 21 11:24:49 jez systemd[1]: Stopped The PHP FastCGI Process Manager.
Jul 21 11:25:58 jez systemd[1]: Started The PHP FastCGI Process Manager.
Jul 21 11:25:58 jez systemd[1]: Starting The PHP FastCGI Process Manager...
Jul 21 11:42:34 jez systemd[1]: Stopping The PHP FastCGI Process Manager...
Jul 21 11:42:34 jez systemd[1]: Stopped The PHP FastCGI Process Manager.
Jul 21 11:43:42 jez systemd[1]: Started The PHP FastCGI Process Manager.
Jul 21 11:43:42 jez systemd[1]: Starting The PHP FastCGI Process Manager...
Jul 21 11:43:42 jez systemd-udevd[123]: starting version 219

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #3 on: July 21, 2017, 07:02:57 PM »
then check your CSF firewall, you can disable it for first test and if this is firewall related don't forget to add cwp ports on the TCP_IN and TCP_OUT list in csf configuration file /etc/csf/csf.conf

After making changes restart firewall
Code: [Select]
csf -r
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #4 on: July 21, 2017, 10:36:50 PM »
CSF looks good.  I also disabled it and restarted it, but still could not pull up the admin via either port at any part in testing CSF.  Even attempted disabling iptables while testing CSF.

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #5 on: July 22, 2017, 09:10:50 AM »
then you need to check port limits with your server provider
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #6 on: February 06, 2021, 03:46:24 AM »
i am having same issue, ERR_CONNECTION_RESET, when upload shall file some kb, it does work , when upload grater than 1 mb, it gives this error, please help

[root@mail ~]# service cwp-phpfpm status
Redirecting to /bin/systemctl status cwp-phpfpm.service
● cwp-phpfpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/cwp-phpfpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2021-02-03 19:28:15 PST; 2 days ago
 Main PID: 30793 (php-fpm)
   CGroup: /system.slice/cwp-phpfpm.servaice
           └─30793 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)

Feb 03 19:28:15 mydomain systemd[1]: Started The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain  systemd[1]: Reloading The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain  systemd[1]: Can't open PID file /usr/local/cwp/php71/var/run/cwp-php-fpm.pid (yet?) after reload: No such file or directory
Feb 03 19:28:15 mydomain  systemd[1]: Reloaded The PHP FastCGI Process Manager.
Feb 03 19:36:57 mydomain  phpMyAdmin[2496]: user denied: root (no-activity) from 124.253.227.64
Feb 03 21:07:19 mydomain  phpMyAdmin[23374]: user denied: root (no-activity) from 124.253.227.64
Feb 04 03:19:10 mydomain  phpMyAdmin[14053]: user denied: root (no-activity) from 124.253.248.250
Feb 04 05:49:10 mydomain  phpMyAdmin[28833]: user denied: root (no-activity) from 124.253.248.250
Feb 04 21:04:24 mydomain  phpMyAdmin[5325]: user denied: root (no-activity) from 124.253.248.250
Feb 05 10:09:16 mydomain  phpMyAdmin[29797]: user denied: root (no-activity) from 124.253.104.141

Offline
*
Re: Admin URL ERR_CONNECTION_RESET
« Reply #7 on: February 06, 2021, 07:18:16 PM »
i am having same issue, ERR_CONNECTION_RESET, when upload shall file some kb, it does work , when upload grater than 1 mb, it gives this error, please help

[root@mail ~]# service cwp-phpfpm status
Redirecting to /bin/systemctl status cwp-phpfpm.service
● cwp-phpfpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/cwp-phpfpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2021-02-03 19:28:15 PST; 2 days ago
 Main PID: 30793 (php-fpm)
   CGroup: /system.slice/cwp-phpfpm.servaice
           └─30793 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)

Feb 03 19:28:15 mydomain systemd[1]: Started The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain  systemd[1]: Reloading The PHP FastCGI Process Manager.
Feb 03 19:28:15 mydomain  systemd[1]: Can't open PID file /usr/local/cwp/php71/var/run/cwp-php-fpm.pid (yet?) after reload: No such file or directory
Feb 03 19:28:15 mydomain  systemd[1]: Reloaded The PHP FastCGI Process Manager.
Feb 03 19:36:57 mydomain  phpMyAdmin[2496]: user denied: root (no-activity) from 124.253.227.64
Feb 03 21:07:19 mydomain  phpMyAdmin[23374]: user denied: root (no-activity) from 124.253.227.64
Feb 04 03:19:10 mydomain  phpMyAdmin[14053]: user denied: root (no-activity) from 124.253.248.250
Feb 04 05:49:10 mydomain  phpMyAdmin[28833]: user denied: root (no-activity) from 124.253.248.250
Feb 04 21:04:24 mydomain  phpMyAdmin[5325]: user denied: root (no-activity) from 124.253.248.250
Feb 05 10:09:16 mydomain  phpMyAdmin[29797]: user denied: root (no-activity) from 124.253.104.141

I reported one tip to solve the upload problem here: https://forum.centos-webpanel.com/index.php?topic=10209.msg35799#msg35799