Unable to connect: Connection refused at /usr/local/cpanel/Cpanel/HttpRequest.pm

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
I'm going to update my CPanel version from 11.48.4 to 11.50.
By default in my server the automatic update is blocked so i'm going to
check the options in Server Configuration --> Update Preferences

So when I Click in Update Preferences i get the following error


Unable to connect: Connection refused at /usr/local/cpanel/Cpanel/HttpRequest.pm line 988.


A fatal error or timeout occurred while processing this directive.

exit level [die] [pid=24957] (Unable to retrieve tier version info: No such file or directory)
at /usr/local/cpanel/Cpanel/Logger.pm line 518.
Cpanel::Logger::logger(Cpanel::Logger=HASH(0x49316e0), HASH(0x495d720)) called at /usr/local/cpanel/Cpanel/Logger.pm line 356
Cpanel::Logger::die(Cpanel::Logger=HASH(0x49316e0), "Unable to retrieve tier version info: No such file or directory") called at /usr/local/cpanel/Cpanel/Update.pm line 173
Cpanel::Update::get_remote_tiers_info(HASH(0x49a08c0)) called at whostmgr/bin/whostmgr2.pl line 1774
main::updateconf() called at whostmgr/bin/whostmgr2.pl line 1213



Can you help me?
 

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
/usr/local/cpanel/cpanel -V --> 11.48.4 (bulid 4)

cat /etc/cpupdate.conf :

CPANEL=release
RPMUP=daily
SARULESUP=daily
STAGING_DIR=/usr/local/cpanel
UPDATES=manual
 

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
ds -h -->I have enough space:
Filesystem Size Used Avail Use% Mounted on
/dev/xxxx 335G 71G 248G 23% /



And today when I click in EasyApache(Apache Update) option, It show the following message : "Making sure we have the latest files..." And it not load the options.. It isn't shown any error but it not load the option .. It's always loading .....
 

ModServ

Well-Known Member
Oct 17, 2006
337
5
168
Egypt
cPanel Access Level
Root Administrator
Yes, this issue happened to me in EasyApache and it was a slow connection from cPanel servers, so I've waited about 2 hours till retrieving the files!!!

About cPanel update I guess you need to open a Support Ticket to them.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello :)

Could you verify if cPanel updates are still failing at this time when forcing a cPanel update via the "/scripts/upcp --force" command?

Thank you.
 

diracuser

Active Member
Oct 22, 2014
41
1
8
cPanel Access Level
Root Administrator
Thanks, I solved the problem

I had this file /etc/cpsources.conf
so the support team suggest me to remove / rename this file, i did and the
Update Preferences worked.

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
I'm happy to see the issue is now resolved. That file forces a specific mirror, so it's likely a bad mirror was defined in the file. Thank you for updating us with the outcome.