anandkrishn29

Registered
Apr 20, 2017
3
0
1
india
cPanel Access Level
Website Owner
Hi team,

joined this forum for the first time as i did not get any information outside and googling forever.

http://XXXXX:2087/json-api/listaccts is hitting HTTP 403 forbidden error suddenly and as a result i cant see any of my websites @godaddy server page CPANEL TAB.

But all the cpanel's are visible when i logon to WHM. Its just that this error on perm module http call is preventing website's cpnbale listing @godaddy CPANEL TAB in server page.Attached screenshot.
 

Attachments

ChrisI

Technical Analyst II
Mar 24, 2014
67
12
83
cPanel Access Level
Root Administrator
Hello!

Can you verify if there are any errors being logged to /usr/local/apache/logs/error_log or /usr/local/cpanel/logs/error_log when you get the 403 error?

Thanks!
 

anandkrishn29

Registered
Apr 20, 2017
3
0
1
india
cPanel Access Level
Website Owner
Hello!

Can you verify if there are any errors being logged to /usr/local/apache/logs/error_log or /usr/local/cpanel/logs/error_log when you get the 403 error?

Thanks!
Hello there!

thanks for the reply.

Error i see is in cpnale access logs is below.XXXXX is godaddy ip

XXXXXXX - root [04/20/2017:07:01:14 -0000] "GET /json-api/listaccts HTTP/1.1" 403 0 "-" "python-requests/2.5.1 CPython/2.6.6 Linux/2.6.32-358.18.1.el6.x86_64" "b" "-" 2087
 

anandkrishn29

Registered
Apr 20, 2017
3
0
1
india
cPanel Access Level
Website Owner
Are you authenticating with the correct access key? You may want to update that to a token and make sure that is being used by Godaddy. This page talks about the API Tokens.

Guide to API Authentication - API Tokens - Software Development Kit - cPanel Documentation

Thanks!
Thanks again.WIll check that link.

My server is bracing increased brute force atatcks very frequently and exim/dovcot spam frequently.Twice hackers spammed exim mail Queue and all mails went above 5000/5000 limit of the day.I enabled fail2ban and other security features like apache spam assain , greylisting, rate filtering etc other 'mail' security tweaks under 'tweak parameters'.

This issue of cpanel links not visible under cpanel tab started happening after enabling above security checks.But what I do not understand is why afer enabling mail related security checks would affect cpanel display in the cpanel tab as shown the attached screenshot.

I disabled all I had enabled just to crosscheck but still the same issue , so I see that this issue is not related what I enabled as security checks above.This baffles me! :(

Checked that link and Im not sure what API tokens do as I have not used it before.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
This issue of cpanel links not visible under cpanel tab started happening after enabling above security checks.But what I do not understand is why afer enabling mail related security checks would affect cpanel display in the cpanel tab as shown the attached screenshot.
Hello,

I recommend reporting this issue to GoDaddy's support team, as the image you provided shows the issue relates to a custom application they are providing to show you a list of cPanel accounts.

Thank you.