Please help us help you and fill where relevant:
Your LimeSurvey version:
Version 5.3.31+220815
Own server or LimeSurvey hosting: Root server
Survey theme/template:
==================
Starting yesterday p.m. without any known cause, an application using jsonRPC gets problems with
get_session_key. A message appears, telling
Fatal error: Uncaught Exception: Unable to connect to
www.xxxxx/q/admin/remotecontrol
in /var/www/vhosts/xxxxx/httpdocs/b/f/JsonRPCClient.php:165 Stack trace: #0 /var/www/vhosts/xxxxx/httpdocs/b/f/includes.php(90): JsonRPCClient->__call() #1 /var/www/vhosts/xxxxx/httpdocs/b/f/survey-list.php(43): get_new_sessionKey() #2 {main} thrown in
/var/www/vhosts/xxxxxx/httpdocs/b/f/JsonRPCClient.php on line
165
The PHP-commands calling json are:
$myJSONRPCClient = new jsonRpcClient( LS_BASEURL.'/admin/remotecontrol' );
$sessionKey= $myJSONRPCClient->get_session_key( LS_USER, LS_PASSWORD); <
this command throws the error
- The application runs for about 1,5 years without problems. It offers an UI to create new personalized versions of one sample survey.
- Calling
LS_BASEURL.'/admin/remotecontrol' manually in Firefox gives the list of available functions, as it should do.
- Everyone that could have made a change in software or configuration swears to not have done anything.
- No automatic update of the OS (Centos) has happened (as far as I know).
If anyone has an idea about a possible cause, please tell me.
Many thanks in advance,
Erich