CSF, cPanel & cpanel_dovecot_solr

Post Reply
attraction
Junior Member
Posts: 6
Joined: 04 Oct 2014, 06:59

CSF, cPanel & cpanel_dovecot_solr

Post by attraction »

It seems that installing CSF on cPanel v66.0.24 causes cpanel_dovecot_solr not to connect to cron 'maintenance' scriptt.

It throws 401 error and this is what you get:

Code: Select all

$  sudo /usr/bin/test -e /etc/cpanel-dovecot-solrdisable || 
/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit
Cpanel::Exception::HTTP::Network/(XID n7ux4c) The system failed to send an <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request to “http://%SOLR_USER%:__HIDDEN__@127.0.0.1:8984/solr/dovecot/update?commmit=true” because of an error: Could not connect to '127.0.0.1:8984': Connection refused

at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 330.
Cpanel::Exception::create("HTTP::Network", HASH(0x1a63540)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, HASH(0x1a63540)) called at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 102
Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x18709d8), "GET", "http://%SOLR_USER%:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/dovecot/up"..., HASH(0x1fd0950)) called at (eval 5) line 6
HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x18709d8), "http://%SOLR_USER%:__CPANEL_URLPW_HIDDEN__\@127.0.0.1:8984/solr/dovecot/up"...) called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 55
scripts::cpanel_dovecot_solr_commit::run("scripts::cpanel_dovecot_solr_commit") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 37

The cPanel Team has tested this out with the same result.

Opening up the ports didn't resolve the issue.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CSF, cPanel & cpanel_dovecot_solr

Post by ForumAdmin »

We are unable to recreate the issue. If you are able to give us SSH access to the server, please log a ticket on our helpdesk and we can have a look to see if we can see where a problem might be.
Palal
Junior Member
Posts: 1
Joined: 19 Nov 2019, 15:16

Re: CSF, cPanel & cpanel_dovecot_solr

Post by Palal »

Same issue here:
Cpanel::Exception::HTTP::Network/(XID md7fuv) The system failed to send an <abbr title="Hypertext Transfer Protocol">HTTP</abbr> “GET” request to “http://a5GUXdURccyYgwsp:__HIDDEN__@127. ... ommit=true” because of an error: Could not connect to '127.0.0.1:8984': Connection timed out
at /usr/local/cpanel/Cpanel/HTTP/Client.pm line 107.
Cpanel::HTTP::Client::request(Cpanel::HTTP::Client=HASH(0x247ee98), "GET", "[http://a5GUXdURccyYgwsp:__CPANEL_URLPW_ ... 8984/solr/]http://a5GUXdURccyYgwsp:__CPANEL_URLPW_ ... 8984/solr/"..., HASH(0x28b2158)) called at (eval 3) line 6
HTTP::Tiny::get(Cpanel::HTTP::Client=HASH(0x247ee98), "[http://a5GUXdURccyYgwsp:__CPANEL_URLPW_ ... 8984/solr/"...]http://a5GUXdURccyYgwsp:__CPANEL_URLPW_ ... 8984/solr/"...) called at /var/cpanel/perl/Cpanel/Dovecot/Solr/Utils.pm line 129
Cpanel::Dovecot::Solr::Utils::call_commit() called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 40
scripts::cpanel_dovecot_solr_commit::run("scripts::cpanel_dovecot_solr_commit") called at /usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_commit line 35

I talked to cPanel and they suggested I disable CSF. I have done that and the constant emails have stopped.
Post Reply