Picture of Darshit Patoliya
ERROR: could not get xAPI data from xAPI-launch server!. Tracking on this channel will NOT work!
by Darshit Patoliya - Wednesday, 10 January 2018, 4:25 AM
 

I got following error while launching index.html in browser.

ERROR: could not get xAPI data from xAPI-launch server!. Tracking on this channel will NOT work!

Following is my channel settings

Channel name: xapiLaunch
 Is enabled: true
 Reports Events: true
 Tracks State: true
 Is State Source: true
 Is State Store: true
 Is Launch Manager: true
 Cache state and statements locally: false
 Try to work despite lack of internet connection: false
 Events to Ignore: 0 items
 xAPI Launch Method: adlxapi
 Is Fake LRS: false
 Home Page:
 Mbox Identity:
 Hardcoded user name:
 Channel URL:
 Username:
 Password:
 Generate Statement Ids: true

Following is config.js

{
  "_defaultLanguage": "en",
  "_defaultDirection": "ltr",
  "_questionWeight": 1,
  "_generateSourcemap": false,
  "_forceRouteLocking": true,
  "_logging": {
    "_console": false,
    "_level": null,
    "_isEnabled": false
  },
  "__v": 0,
  "_courseId": "5a27a8b74798b19f76bba78e",
  "_drawer": {
    "_duration": 400,
    "_hideEasing": "easeInQuart",
    "_showEasing": "easeOutQuart"
  },
  "_accessibility": {
    "_isSkipNavigationEnabled": false,
    "_isTextProcessorEnabled": false,
    "_shouldSupportLegacyBrowsers": true,
    "_isEnabledOnTouchDevices": false,
    "_isEnabled": false
  },
  "screenSize": {
    "large": 1024,
    "medium": 759,
    "small": 519
  },
  "_id": "5a27a8b74798b19f76bba78f",
  "_tkhub-xAPI": {
    "_channels": [
      {
        "_generateIds": true,
        "_password": "",
        "_userName": "",
        "_endPoint": "",
        "_fullName": "",
        "_mbox": "",
        "_homePage": "",
        "_isFakeLRS": false,
        "_xapiLaunchMethod": "adlxapi",
        "_ignoreEvents": [],
        "_isMobile": false,
        "_isCachedLocally": false,
        "_isLaunchManager": true,
        "_isStateStore": true,
        "_isStateSource": true,
        "_tracksState": true,
        "_reportsEvents": true,
        "_isEnabled": true,
        "_name": "xapiLaunch"
      }
    ],
    "_isEnabled": true
  },
  "_trackingHub": {
    "_browserChannel": {
      "_ignoreEvents": [],
      "_isLaunchManager": true,
      "_isStateStore": false,
      "_isStateSource": false,
      "_tracksState": true,
      "_reportsEvents": true,
      "_isEnabled": true
    },
    "_identifyById": true,
    "_courseID": "https://xxx.xxx.com/course/g/4/g4xpfhPTb8VR8xvNzMJX2D2m3pI404yH0zRJ1eLbeatkE2GefcoSPReeUnKDlp4O/#/",
    "_isEnabled": true
  },
  "build": {
    "includes": [
      "adapt-contrib-vanilla",
      "adapt-contrib-boxMenu",
      "adapt-tkhub-xAPI",
      "adapt-trackingHub",
      "adapt-contrib-text",
      "adapt-contrib-media",
      "adapt-contrib-narrative"
    ]
  }
}