Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: n8v8r on January 29, 2018, 06:42:21 PM

Title: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: n8v8r on January 29, 2018, 06:42:21 PM
Apache & Varnish Cache & Nginx Reverse Proxy
CentOS 7.4.1708 (Core)
Kernel 3.10.0-693.17.1.el7.x86_64
Apache/2.4.2
nginx/1.12.2
PHP 5.6.30
PHP 5.4.16 (fpm-fcgi)
suPHP  0.7.2
Zend Engine v2.6.0 with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)
MySQL 10.1.30-MariaDB
CWPpro 0.9.8.436
SEL permitting
Mod Security disabled

maiden server/cwp installation

(https://s10.postimg.org/gnx2l4m2h/Capture.png)
Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: n8v8r on January 30, 2018, 09:59:20 PM
Is there a way to debug this?
Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: n8v8r on February 01, 2018, 02:36:03 PM
still present at a fresh installation of CWPpro version: 0.9.8.441
Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: Sandeep on February 01, 2018, 03:52:45 PM
is port 80 is open globally ?
Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: n8v8r on February 01, 2018, 03:59:26 PM
yes, it is.

This stream failure is somehow not consistent. Most of the time it happens but then there are occasions it does not show and the PHP info page is being displayed/rendered correctly.
Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: n8v8r on February 08, 2018, 07:19:13 PM
still present in CWPpro 0.9.8.451
Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: n8v8r on February 27, 2018, 11:19:08 AM
This now with CWPpro version: 0.9.8.522, recent addition are the SSL/certificate issues which look like a regression bug
Quote
PHP Info

You are running PHP version:


Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0

Warning: file_get_contents(): Failed to enable crypto in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0

Warning: file_get_contents(http://179.43.171.29/phpinfo.php): failed to open stream: operation failed in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0

System configuration has changed slightly

Apache & Varnish Cache & Nginx Reverse Proxy
CentOS 7.4.1708 (Core)
Kernel 3.10.0-693.17.1.el7.x86_64
Apache/2.4.2
nginx/1.12.2
PHP 7.1.14 (through fcgi/fpm proxy)
Zend Engine v3.1.0with Zend OPcache v7.1.14
suPHP none

Title: Re: failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/
Post by: jeffshead on May 11, 2018, 01:29:24 AM
Warning: file_get_contents(http://179.43.171.29/phpinfo.php): failed to open stream: operation failed in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0
[/quote]

Same issue.

Tried recompiling PHP and Apache.