Badge upload to backpack fails

Re: Badge upload to backpack fails

by Sara Arjona Téllez -
Number of replies: 5
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Belinda!

I would like to help for stopping your frustration wink 

I wasn't able to reproduce this using Moodle 3.4 and HTTPS so I guess you've some issue with your site configuration. 

  • Is your site public, i.e. it can be accessed from anywhere?
  • Have you tried to access from your Moodle site to other HTTPS services, such as any external tool activity (LTI)?
  • If you enable debugging, does any message appear? 
  • Have you ever look the response from you server using the Network option in Firefox or Chrome? It's not easy, but if you could try it, probably we'll get the exact error message with the main reason for not being working the connection to the backpack. For instance, if your Moodle site URL is not public (so it can't be accessed from outside), you will get the following error: "could not get assertion: unreachable"

Badges debug


Kind regards.

In reply to Sara Arjona Téllez

Re: Badge upload to backpack fails

by Antti Peltonen -

Hello from Finland,

We have "Moodle 3.4.1+ (Build: 20180223) Version 2017111301.06 Stable version " and I encountered the same problem.

First I thought it is related to mail settings, since Backpack sends verification mail, but no. -Mail settings are OK.

Connection to Backpack kind of works but upload won't work.  

I can not remember how to connect  "the issuer" in to Mozilla Backpack. Is it just the email on server settings and that's it?

Anyways, something had changed in Moodle updates!?

-Antti-

In reply to Antti Peltonen

Re: Badge upload to backpack fails

by Sara Arjona Téllez -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Antti!

Connection to Backpack kind of works but upload won't work.  

I cannot reproduce the problem. Please, could you try to reproduce it in https://demo.moodle.net.?


I can not remember how to connect  "the issuer" in to Mozilla Backpack. Is it just the email on server settings and that's it?

Each user has to access to his/her profile preferences, and configure it from the "Backpack settings":

Backpack settings

Kind regards!

In reply to Sara Arjona Téllez

Re: Badge upload to backpack fails

by Belinda Caulfield -

Hi Sara, thank you for answering our query, we are getting the error that you have highlighted above.  Our moodle site is accessible externally, it has stopped working since we changed to https:// this is the error response we get Cannot GET /issuer/assertion.badge.image Our test Moodle was working until we changed it to https.

As I have previously mentioned we can import Backpack badges to our Moodle, we get all email correspondence but we cannot add badges from our Moodle to Backpack.  Our IT guys have checked the settings and they all appear to be OK and there should be no reason why it is not working.

It was mentioned to check our firewall but our IT department require more information as what to check on the firewall as we are not having any access issues with Moodle, Mahara etc

Kind regards,

Belinda

In reply to Belinda Caulfield

Re: Badge upload to backpack fails

by Terry Carmichael -

Belinda, have you figured this out? I have the same issue you are having using Moodle 3.3.5+ (Build: 20180412). We built it on http://, and then migrated to https:// server. Updated the config.php, and our badges are not working for some reason.  

As an Admin, I see this warning message on the 'Site badges: Manage badges' page: "Your site is not accessible from the Internet, so any badges issued from this site cannot be verified by external backpack services." 

Also, as a Student, I try to send one badge to backpack.OpenBadges.org, and I get this message after attempt:

"You didn't add any open badges to your Backpack. Visit your Backpack to manage and share your open badges." 

Then, I try uploading a badge downloaded from Moodle directly into backpack.OpenBadges.org, and I get this error: 

"could not get assertion: unreachable"  

I see nothing alerting me to issues in my error logs, or when I turn debugger on in Moodle. Very strange. 

Terry