- Posts: 11
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
remotecontrol doesn't work after update to 5.3
- migliorati
-
Topic Author
- Offline
- New Member
-
Less
More
7 months 3 weeks ago #230754
by migliorati
remotecontrol doesn't work after update to 5.3 was created by migliorati
Please help us help you and fill where relevant:
Your LimeSurvey version:5.3
Own server or LimeSurvey hosting: own server
Survey theme/template: remotecontrol (API)
==================
Hi guys.
We updated limesurvey from 3 to 5.3, and now API seem not working: when I try (I'm working in R with limer package) a
get_session_key()
now I obtain an error:
Error: Argument 'txt' must be a JSON string, URL or file.
Everything was running before the update.
Please, someone can help me?
TX a lot
Your LimeSurvey version:5.3
Own server or LimeSurvey hosting: own server
Survey theme/template: remotecontrol (API)
==================
Hi guys.
We updated limesurvey from 3 to 5.3, and now API seem not working: when I try (I'm working in R with limer package) a
get_session_key()
now I obtain an error:
Error: Argument 'txt' must be a JSON string, URL or file.
Everything was running before the update.
Please, someone can help me?
TX a lot
Please Log in to join the conversation.
- migliorati
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
7 months 3 weeks ago #230817
by migliorati
Replied by migliorati on topic remotecontrol doesn't work after update to 5.3
Please, refer to #230772
Please Log in to join the conversation.
7 months 2 weeks ago - 7 months 2 weeks ago #230994
by Haris.Pap
I am experiencing a similar issue, where get_session_key results to 500 Internal Server Error:
While this works perfectly with LimeSurvey Version 5.3.24+220711 on localhost, it won't work on our production-site (using the exact same version).
(Note: The url, user and pass above are edited for privacy reasons)
Since ...
Thx in advance !
Replied by Haris.Pap on topic remotecontrol doesn't work after update to 5.3
Here is the post mentioned above , but its solution seems mainly related to the R limer package.Please, refer to #230772
I am experiencing a similar issue, where get_session_key results to 500 Internal Server Error:
PHP Fatal error: Uncaught Exception:
Unable to connect to .../admin/remotecontrol in /var/www/.../application/libraries/jsonRPCClient.php:146
Stack trace:
#0 /var/www/.../requests/export_responses.php(17): jsonRPCClient->__call()
#1 {main}
thrown in /var/www/.../application/libraries/jsonRPCClient.php on line 146,
referer: https://.../index.php/786859
While this works perfectly with LimeSurvey Version 5.3.24+220711 on localhost, it won't work on our production-site (using the exact same version).
(Note: The url, user and pass above are edited for privacy reasons)
Since ...
- the API-related settings and request-URL are correct (as described in this previous post )
- the username and password belong to a normal registered user
- the login uses the auth_db (internal database authentication) method
Thx in advance !
Attachments:
Last edit: 7 months 2 weeks ago by Haris.Pap.
Please Log in to join the conversation.
Less
More
- Posts: 929
- Thank you received: 206
7 months 2 weeks ago #231008
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic remotecontrol doesn't work after update to 5.3
For us this works:
library(limer)
options(lime_api = ' yourdomain.nl/index.php/admin/remotecontrol ')
options(lime_username = 'report')
options(lime_password = 'password')
session_key <- get_session_key()
library(limer)
options(lime_api = ' yourdomain.nl/index.php/admin/remotecontrol ')
options(lime_username = 'report')
options(lime_password = 'password')
session_key <- get_session_key()
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Please Log in to join the conversation.
7 months 2 weeks ago #231010
by Haris.Pap
Replied by Haris.Pap on topic remotecontrol doesn't work after update to 5.3
Thanks. So, probably the answer is that remotecontrol works after the 5.3 update.
To rephrase my question above , could someone point me to the configuration(s), which cause the API to return a 500 Internal Server Error?
(while using the same code & LimeSurvey settings and version, it works locally - using a XAMPP server)
Thx!
To rephrase my question above , could someone point me to the configuration(s), which cause the API to return a 500 Internal Server Error?
(while using the same code & LimeSurvey settings and version, it works locally - using a XAMPP server)
Thx!
Please Log in to join the conversation.
Less
More
- Posts: 929
- Thank you received: 206
7 months 1 week ago #231011
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic remotecontrol doesn't work after update to 5.3
Sorry, cannot help you here, we never used your way of working.
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Please Log in to join the conversation.