We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE4 - "Site can’t be reached" error on CP Homepage only

Development and Programming

David Hyland's avatar
David Hyland
210 posts
7 years ago
David Hyland's avatar David Hyland

I’ve got an installation of EE4 on my local development XAMPP server and everything works as expected with the sole exception of the CP homepage which returns a 500 server error.

For example this and all other CP URLs works: http://localserver/admin.php?/cp/channels

But the homepage URL returns a “site can’t be reached, connection was reset” error: http://localserver/admin.php?/cp/homepage

I thought it might be a .htaccess issue but this is set up exactly as per the default EE rules.

I also have several EE2 installs on the same server and these are all absolutely fine, no issues at all. Most curious.

The following apache error logs are generated when accessing the CP Homepage:

[Thu Feb 15 14:12:52.864007 2018] [mpm_winnt:notice] [pid 1872:tid 380] AH00428: Parent: child process 12524 exited with status 255 -- Restarting.
[Thu Feb 15 14:12:53.377014 2018] [ssl:warn] [pid 1872:tid 380] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 15 14:12:53.407014 2018] [mpm_winnt:notice] [pid 1872:tid 380] AH00455: Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 configured -- resuming normal operations
[Thu Feb 15 14:12:53.407014 2018] [mpm_winnt:notice] [pid 1872:tid 380] AH00456: Apache Lounge VC11 Server built: Dec 20 2016 13:02:04
[Thu Feb 15 14:12:53.407014 2018] [core:notice] [pid 1872:tid 380] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Feb 15 14:12:53.407014 2018] [mpm_winnt:notice] [pid 1872:tid 380] AH00418: Parent: Created child process 13056
[Thu Feb 15 14:12:54.610033 2018] [ssl:warn] [pid 13056:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 15 14:12:54.953039 2018] [ssl:warn] [pid 13056:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Feb 15 14:12:54.986039 2018] [mpm_winnt:notice] [pid 13056:tid 272] AH00354: Child: Starting 150 worker threads.

The www.example.com domain in these logs is curious and searching my EE install reveals:

Searching 3124 files for "www.example.com"

C:\local\site\path\trunk\system\user\addons\ce_img\pi.ce_img.php:
   50:  For example: http://www.example.com/

C:\local\site\path\trunk\system\user\addons\freeform_next\vendor\guzzle\guzzle\docs\batching\batching.rst:
   17:         $client->get('http://www.example.com/foo'),
   18:         $client->get('http://www.example.com/baz')
   19:         $client->get('http://www.example.com/bar')

C:\local\site\path\trunk\system\user\addons\freeform_next\vendor\guzzle\guzzle\docs\http-client\client.rst:
  172:     $request = $client->delete('http://www.example.com/path?query=123&value=abc');
  177:     $request = $client->put('http://www.example.com/upload', array(
  391:     $request = $client->get('http://www.example.com', array(), array(
  412:     $request = $client->get('https://www.example.com', array(), array(
  416:     $request = $client->get('https://www.example.com', array(), array(
  430:     $request = $client->get('https://www.example.com', array(), array(
  434:     $request = $client->get('https://www.example.com', array(), array(

C:\local\site\path\trunk\system\user\addons\freeform_next\vendor\guzzle\guzzle\docs\http-client\request.rst:
  129:         $request = $client->post('http://www.example.com', array(), array (
  240:     $request = new Guzzle\Http\Message\Request('GET', 'http://www.example.com?foo=bar&abc=123');

C:\local\site\path\trunk\system\user\addons\freeform_next\vendor\guzzle\guzzle\docs\plugins\async-plugin.rst:
   16:     $client = new Client('http://www.example.com');

C:\local\site\path\trunk\system\user\addons\freeform_next\vendor\guzzle\guzzle\docs\plugins\mock-plugin.rst:
   24:     $client->get('http://www.example.com/')->send();

But these results are all in non-executable SRT files. To test I removed both CE Image and Freeform Pro but the homepage error continues.

Help?

       
David Hyland's avatar
David Hyland
210 posts
7 years ago
David Hyland's avatar David Hyland

UPDATE - After deploying the site to my staging server the cp homepage works okay so it’s just a local server issue which I can live with but any ideas what might be causing this?

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

What version specifically, and what OS and version are you running? The homepage uses SimplePie to fetch the ExpressionEngine news feed, and there was a bug fixed in 4.0.3 that affected environments that are using outdated cURL libs. That could easily have affected Guzzle as well which Freeform Next appears to be using.

       
David Hyland's avatar
David Hyland
210 posts
7 years ago
David Hyland's avatar David Hyland

Hi Derek, I’m running EE 4.0.9 on XAMPP (PHP 5.6.30) on Windows 7

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Ok my guess is that it’s something specific with XAMPP’s / Windows 7 curl.dll driver. If you want to try to track it down and eliminate any external causes, you can setup a simple test script using SimplePie accessing our blog RSS feed (or an RSS feed from any other HTTPS source), which might reveal some errors or lead you to a solution.

       
David Hyland's avatar
David Hyland
210 posts
7 years ago
David Hyland's avatar David Hyland

Okay, many thanks for your input.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.