• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

HTTP Error 500 when loging

EduardoG

Basic Pleskian
I get a blank screen after tried to log in as admin (plesk 10.2 RHEL64)

2011-05-03 12:58:46: (mod_fastcgi.c.2582) FastCGI-stderr: PHP Fatal error: Call to undefined function ssoLog() in /usr/local/psa/admin/plib/sso/Authentication.php on line 48

Plesk bug? any hint?
 
You have some troubles with SSO.
Try to investigate the issue in /var/log/sso/sso.log or post its content here.
 
Thanks for answering, EugeneL
Even if there are problems with sso, there seems to be some kind of bug in that php code I showed, as it's clear it cannot find a specific php function called ssoLog().
That's why I think it's not a sso config problem but a plesk code bug.

BTW, I can perfectly log directly into plesk-billing with a login name which is not admin
:-S
 
Dev team already known about missed function and they are working on it.
But this function has been called because of some error in SSO. Diagnostic can be done using /var/log/sso/sso.log

If you have access to Business manager, you can find local panel in System configuration > Server Groups and use tool "Reconnect" to try to repair connection.
Or you can try to use CLI utility
/usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://<your_good_hostname>:8443
 
Thanks again, your answer makes sense. I've been able to "reconnect" and I can start session from the servers list (hi again, plesk!)
Anyway, when trying to log directly into plesk, I get that 500 error, so I checked sso.log.
Let me share it with you, attached to this post
I see, in debug line 22, just before error line, it's getting a wrong response, in fact it is an HTML response, not a SSO API response.
Now I don't know the reason of this response. Maybe it's not pointing where it should?
/usr/local/psa/bin/sso --get-prefs
SSO on
sso server url: https://www.example.com:8443
sso relay url: https://www.example.com:8443
 

Attachments

  • sso.zip
    4 KB · Views: 2
Thanks for your replies and log attached.

SSO settings seem to be correct - good hostname and port 8443.
I've forwarded your log to developers. I'll update this thread when I get a responce.
For now you can launch
/usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://<your_good_hostname>:8443

to try to repair SSO database and connection between Panel and Business manager
 
For now you can launch
/usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://<your_good_hostname>:8443
to try to repair SSO database and connection between Panel and Business manager

That worked perfectly!
# /usr/share/plesk-billing/repair-integration --command=repair-all --idp-url=https://www.example.com:8443
/usr/local/psa/admin/bin/php
Repair integration with local panel:
Try to repair integration...................................[ OK ]

Repair SSO connections (may take a few minutes, please wait...):
Repair CBM and Plesk Panel connections with SSO:

Try to detach the 'customer' application from SSO.......[ OK ]
Try to detach the 'admin' application from SSO..........[ OK ]
Try to clear the SSO database...........................[ OK ]
Try to attach the 'admin' application to SSO............[ OK ]
Try to attach the 'customer' application to SSO.........[ OK ]
Try to enable the 'admin' application to use SSO........[ OK ]
Try to enable the 'customer' application to use SSO.....[ OK ]

The command 'sso:repair-all' completed.
Synchronize local panel:
Try to synchronize local panel..............................[ OK ]

Repair SSO accounts (may take a few minutes, please wait...):
Repair administrative accounts:

Blah Blah (ID: 1)....................................[ OK ]
OrderForm User (ID: 2)..................................[ OK ]
API User (ID: 3)........................................[ OK ]
Cron User (ID: 4).......................................[ OK ]
Blah Blah (ID: 5)....................................[ OK ]
Blah Blah (ID: 6)......................[ OK ]
Blah Blah (ID: 7).....................[ OK ]
Blah Blah (ID: 8).........................................[ OK ]
Blah Blah (ID: 9)................................[ OK ]
Blah Blah (ID: 10)...............................[ OK ]

Repair customers accounts:

Blah Blah Blah (ID: 2).............................[ OK ]
Blah Blah Blah (ID: 3).................[ OK ]
Blah Blah Blah (ID: 4)............................[ OK ]
Blah Blah Blah (ID: 5)..........................[ OK ]
Blah Blah Blah (ID: 6)..............................[ OK ]
Blah Blah Blah (ID: 7)................[ OK ]
[...]

The command 'sso:repair-accounts' completed without errors.
The command 'repair-integration:repair-all' completed.

Thank you very much, EugeneL. Your help was really useful.
Now I'm having some trouble with logout URLs, but that's another battle ;-)
 
Last edited:
Back
Top