Troubleshooting Manual or Documentation

Hi,

Sorry for the silly question, but do we have any documentation for troubleshooting known issues?

Or has it already been written up somewhere?

Example

  1. IoT manager when startup in local get error in below, fix by manual update the manager config file “mbconfig” thing
warn: Still waiting for re-Authentication to complete
Error with message bus: "Connection attempt to ws://localhost:4515 failed!"
  1. Local MES get error after build There was no License found for Core.

Fix by remove all dll in the folder BusinessTier

  1. E401 Unable to authenticate issue

It will having error as below:

  npm ERR! Code E401
  npm Unable to authenticate, need Basic realm="Sonatype Nexus Repository Manager"

Solution:

  1. In cmd (administration) cd to repo path
  2. Type `.npmrc` and open by text editor
  3. Add this:
      registry=https://criticalmanufacturing.io/repository/npm/
      //criticalmanufacturing.io/repository/npm/:=true
      //criticalmanufacturing.io/repository/npm/:always_auth=true
      //criticalmanufacturing.io/repository/npm/:_auth="{BASE64TOKEN}"
      fetch-retry-mintimeout=20000
      fetch-retry-maxtimeout=120000
		
      *Add on: Sometime C:/Users/{user}/ also having .npmrc and might conflict, may use command to check `npm config list`, if not using then maybe can tmp rename it and just use repo one.

BASE64 Token Method:

CMF Cli - Customization Tool - GUI.pdf

Access Token (Used in BASE64 Token Generation)

hello @Dama_Wei . this particular topic is not documented and we will be overhauling our entire troubleshooting section in the Developer Portal (in fact, most of the Developer Portal itself). So thank you for your contribution and we’ll take this into account!

Thank you, just receive from Joao Roque

How to do the Blog Contributions

Blog Contributions

that post is an oldie, imported from the previous platform, so please disregard it :slight_smile:

use the pinned post ( About the Blog ) for reference instead. thanks!