The Badge is failed to push to Mozilla hosted Backpack, errors object only contains assertion url

55 views
Skip to first unread message

suo jian

unread,
Apr 11, 2018, 3:23:10 AM4/11/18
to Open Badges Dev Group

Hi, 

We currently are reported an issue by client that the Badge is failed to push to Mozilla hosted Backpack.

The code we are using :

              OpenBadges.issue([assertionURL],

                   function(errors, successes) {

                                …

 

The js we are using is :

  <script src="https://backpack.openbadges.org/issuer.js"></script>

 

After input user email / password in the Backpack dialog, we got the message:

You didn't add any open badges to your Backpack.

 

By debugging the code above, errors object contains 1 element, it only contains the assertion link e.g. errors = ["https://myurl/webapps/…"].

We do not know what’s wrong behind, and have no clue how to fix it.

 

Can anyone help us to identify the issue?

an...@edu.oulu.fi

unread,
Apr 20, 2018, 4:47:34 AM4/20/18
to Open Badges Dev Group
Hello from Finland,

I think we have the same problem with Moodle.  The problem started (maybe) when we changed the server from HTTP to HTTPS, but I have no clue what may be the cause.

Let's hope someone can solve this.

Regards,

-Antti-

Jeff Bohrer

unread,
Apr 20, 2018, 2:48:01 PM4/20/18
to Open Badges Dev Group
Hello Antti,

There's an issue posted in the Backpack's github repository. Would you consider adding your comments there as well to consolidate the contributions?

thanks,
Jeff

meili...@uni.taylors.edu.my

unread,
Apr 25, 2018, 12:31:26 AM4/25/18
to Open Badges Dev Group
Hi All,

Our university used Moodle and has the difficulty to push the badge to backpack as well. We have upgrade the F5 load balance recently, and now we received another error message which related to  "Chain issue: Contains anchor" issue. 

Details error message in below: 

message: "could not get assertion: unreachable",…}
code:"http-unreachable"
extra:{message: "SELF_SIGNED_CERT_IN_CHAIN",…}
message:"SELF_SIGNED_CERT_IN_CHAIN"
stack:"Error: SELF_SIGNED_CERT_IN_CHAIN    at SecurePair.<anonymous> (tls.js:1430:32)    at SecurePair.emit (events.js:92:17)    at SecurePair.maybeInitFinished (tls.js:1029:10)    at CleartextStream.read [as _read] (tls.js:521:13)    at CleartextStream.Readable.read (_stream_readable.js:341:10)    at EncryptedStream.write [as _write] (tls.js:418:25)    at doWrite (_stream_writable.js:226:10)    at writeOrBuffer (_stream_writable.js:216:5)    at EncryptedStream.Writable.write (_stream_writable.js:183:11)    at write (_stream_readable.js:602:24)    at flow (_stream_readable.js:611:7)    at Socket.pipeOnReadable (_stream_readable.js:643:5)"
message:"could not get assertion: unreachable"
stack:"Error: could not get assertion: unreachable    at makeError (/app/lib/analyze-assertion.js:6:26)    at Request._callback (/app/lib/analyze-assertion.js:18:23)    at self.callback (/app/node_modules/request/request.js:187:22)    at Request.emit (events.js:95:17)    at Request.onRequestError (/app/node_modules/request/request.

But according to the website, https://community.qualys.com/thread/11234, Chain Contains anchor is not an issue, but i need to confirm is this issue cause the badge can't be pushed out? If yes, may i know how to solve it? 

Appreciate all the experts can enlighten me. 

Thank you very much.

Regards,
Mei Ling 
Reply all
Reply to author
Forward
0 new messages