-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xAPI Issues Making it Not Running #1625
Comments
i didn't know what the coursing of this issue, but i solved it by adding code |
@looperEit Thanks for the code, it worked just perfect. Still have a problem that it is not sending data from Moodle, although it is added using Logstore xAPI. Any ideas what to do? Thanks, |
To know where does the problem reside, I connected logstore to the LRS of cloud.scorm.com, this worked fine and I have seen results, but when connecting the instance of learninglocker mentioned above, it does not provide any data, practically this means that the problem is till within learninglocker. Any help appreciated. Thanks, |
We are hoping that someone from learninglocker would help us in such situations. I do not have any coding, I am using logstore xAPI which was created by learninglocker team, it is passing data correctly, but learninglocker itself is not receiving any. @looperEit and me @SolutionsDEV both have problems with learninglocker, one thing in common and is obvious in screenshots that we both have xAPI as 2 entries. Is it possible that this is the reason it is not responding? I am referring to some contributors with hope someone would help. @ryansmith94 @ht2 @cbishopvelti @davetosh |
When I visit http://local.ip/data/xAPI it replies with: Is this normal? |
i got too. I am referring to some contributors with hope someone would help. |
Try your POST request to the xAPI endpoint without the trailing commas on line 4 and 8 that Postman is warning you about. |
|
Problems still exist, I am wondering if anyone has got it working fine at all. Still no feedback from the developers. |
@SolutionsDEV @looperEit Your second set of screenshots without the trailing comma in the POST request is to a different URL. To send in a statement it needs to be to |
|
@looperEit Your message on #1627 has screenshots that appear to back this up if you are still having the same errors in
Previously it was giving 500 suggesting that the requests were being processed but with an error:
Did you change anything between then and now? |
|
pm2 logs like: /var/log/learninglocker/ui_stderr-1.log last 15 lines: /var/log/learninglocker/ui_stdout-1.log last 15 lines: /var/log/learninglocker/api_stdout-0.log last 15 lines: /var/log/learninglocker/scheduler_stderr-3.log last 15 lines: /var/log/learninglocker/worker_stderr-2.log last 15 lines: /var/log/learninglocker/worker_stdout-2.log last 15 lines: /var/log/learninglocker/xapi_stderr-4.log last 15 lines: /var/log/learninglocker/xapi_stdout-4.log last 15 lines: /var/log/learninglocker/xapi_stderr-5.log last 15 lines: /var/log/learninglocker/xapi_stdout-5.log last 15 lines: /var/log/learninglocker/api_stderr-0.log last 15 lines: /var/log/learninglocker/scheduler_stdout-3.log last 15 lines: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring eng ine, pass option { useUnifiedTopology: true } to the MongoClient constructor. |
It looks like there are errors some errors in the xAPI error log:
Are these different to the ones you fixed with the |
The previous time, that is, the statements were able to be sent, but the error 502 was reported. There is no fix for this bug This time the nginx error was reported, which fixed the proble |
hello? is there any question? |
I experienced the same "TextEncoder" issue and fixed it with the suggested fix in this issue. Though I now get:
(Related issue @ aws/aws-sdk-js-v3 #4144) The endpoint: 'https://lrs-host/data/xAPI/statements' gets me a status code 502. How do I get the xAPI service back running? |
Installed it on Ubuntu 18.0.4 after upgrading the server, the installation using the installation script went smoothly, after than, the xAPI were not working.
It shows in the screenshot 2 instances for xAPI, the status of one keeps on launching with the error logs being added every second, the second xAPI status errored.
While trying to fix this, I reached that the first one is online and the second is stopped, even with the this, I have connected it to Moodle using logstore xAPI; statements are not passed.
Now it is running as per the next screenshot, but if I restart it returns to the issue in the first screenshot.
Any help will be appreciated.
Thanks,
The text was updated successfully, but these errors were encountered: