Mozilla OpenBadges has discontinued support for access to its API via HTTP. All requests now need to go via HTTPS. This is inline with Mozilla's policy: https://blog.mozilla.org/security/2015/04/30/deprecating-non-secure-http/

The patch in my first comment below swaps calls from HTTP to HTTPS. It also applies the patch from https://www.drupal.org/node/2576149#comment-10384055 which replaces the module's PHP file_get_contents() call with Drupal's drupal_http_request() function. Use this patch if you have not already applied the patch from this issue: https://www.drupal.org/node/2576149

The patch in my second comment below only makes the HTTP to HTTPS change. Use this patch if you have already applied the patch from this issue: https://www.drupal.org/node/2576149

Comments

PsycleInteractive created an issue. See original summary.

psycle interactive’s picture

Fixes HTTP -> HTTPS.

Includes this patch: https://www.drupal.org/node/2576149#comment-10384055

psycle interactive’s picture

StatusFileSize
new1.39 KB

Fixes HTTP -> HTTPS.

You should apply the patch from this issue separately: https://www.drupal.org/node/2576149