praxisdigital / mod_diplomasafe

Plugin made for interaction with Diplomasafe.com
Other
0 stars 0 forks source link

Diplomasafe queue unable to connect to external service #13

Open sampraxis opened 1 month ago

sampraxis commented 1 month ago

mod_diplomasafe got response from Diplomasafe service with null.

Ask @superfoght if there is anything that is related to the customer.

TODO

sampraxis commented 1 month ago

I had spoken with @superfoght and the issue it seems like the live API got empty response with customer api token https://live-api.diplomasafe.net/api/v1/templates. Bo will contact the customer and Diplomasafe that the issue is cause by Diplomasafe API itself.

I put this in on-hold status. @superfoght welcome to update this issue if there is further notice.

sampraxis commented 1 month ago

Time spent: 2024-05-27: 4h 2024-05-28: 1h

superfoght commented 3 weeks ago

@sampraxis the client has added a new key, and it still queues up a lot of badges.

Can you look into it again? Or give me a more thorough description if there is something I should ask Diplomasafe about.

Edit - Hold on!

sampraxis commented 3 weeks ago

Ready for testing.

@superfoght I have added an scheduled task "resend_failed_queues". Try to complete a course where there is an diplomate. When the queue got created by that. We can change the status to error and run the scheduled task to see if the task will set the status back to normal.

This changes is also related to https://github.com/praxisdigital/mod_diplomasafe/issues/12

sampraxis commented 3 weeks ago

Additional tasks:

sampraxis commented 3 weeks ago

Time spent: 2024-06-07: 2h

sampraxis commented 3 days ago

Ready for testing.

This should fix duplicate adhoc tasks when run resend_fail_queue