Learning Locker - connection refused

TomEff
Forums
Hi, I'm trying to connect our version of Opigno to Learning Locker. I've followed the steps in the manual and have the LRS Stats menu appearing on the Statistics page. However, when I click into these stats I get the following warnings: "An error occured while requesting Learning Record Store data (Connection refused)" The recent log messages report that the response could not be sent, but doesn't give much more information. I'm pretty sure I've put the correct Learning Locker details (endpoint, username, password) into Opigno. (Have checked with Learning Locker support and they confirmed that "they've tested querying with those credentials and we are not seeing an issue"). For the endpoint, I've tried with a trailing slash and without, both with no luck. I've flushed caches, run cron etc but still can't get a connection. If you could give any possible ideas/help that would be really appreciated. Also if there's any more details I can give, let me know. (Not sure how to attach screenshots of errors/logs) Thanks!
TomEff

Steps taken:

Just to follow up, maybe will help, steps I've taken to attempt to connect Learning Store to Opigno: On Learning Store:
  1. create new client
  2. note xAPI Endpoint
  3. note key & secret
  4. assign LRS to client
On Opigno:
  1. on /admin/opigno/system/tincan
  2. enter Endpoint (triend with and without including trailing slash)
  3. enter 'key' in 'user' field
  4. enter 'secret' in 'password' field
  5. clear cache
  6. check LRS stats
  7. Get connection refused error
TomEff

Has anyone managed to

Has anyone managed to successfully connect Opigno to Learning Locker? If so could you outline the steps you took to successfully connect?
Olivier R.

Hello

Did you find ? i try to use Learning Locker and i have the same issue
axel

Hi

Hi

What version of Learning Locker and of Opigno are you using ?

Do you see some statements appearing in Learning Locker ?

Olivier R.

Hi

I use the Learning Locker v2 and Opigno v1.31 No statements in Learning Locker, in Opigno Dashboard course i have this message "An error occured while requesting Learning Record Store data (Internal Server Error)"
axel

Hi

Hi

Can you check your Apache error.log ?

You should find some detailed error message, that will help diagnosing the issue

Olivier R.

Hi

In my nginx logs i have got this error : 172.20.0.12 - 90f4cd6411a1bac3c319fa408f9adbe467080b00 [30/Aug/2018:10:42:05 +0000] "GET /api/v1/statements/aggregate HTTP/1.0" 500 2307 "-" "Drupal (+http://drupal.org/)"
Olivier R.

Hi

when i play the gofl xapi example, i have this error when click on finish Error : Call to a member function getStatements() on string dans OpignoTincanQuestionTypeResponse->getStatementFinalScore() (ligne 302 dans /opigno/profiles/opigno_lms/modules/opigno/opigno_tincan_question_type/includes/opigno_tincan_question_type.response.inc).
techseria

Hi

I have face this error (An error occured while requesting Learning Record Store data (Length Required) any solution?