• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Docker error TypeError: Cannot read property 'jti' of null

    Support
    2
    4
    249
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eklipsej last edited by

      I am getting this error. I have mounted a volume and put the token file there. As it gets past that failure.
      I am running open media vault 5 and using portainer to help manage the docker.

      I have seen this mentioned only a few places and it seems related to the token file. But i have tried everything that was mentioned.

      pkg/prelude/bootstrap.js:1172
      throw error;
      ^
      TypeError: Cannot read property ‘jti’ of null
      at new MonocleClient (/snapshot/monocle-gateway/lib/monocle/MonocleClient.js:1:1171)
      at Object.<anonymous> (/snapshot/monocle-gateway/lib/monocle/MonocleGateway.js:1:5241)
      at Module._compile (pkg/prelude/bootstrap.js:1243:22)
      at Object.Module._extensions…js (module.js:650:10)
      at Module.load (module.js:558:32)
      at tryModuleLoad (module.js:501:12)
      at Function.Module._load (module.js:493:3)
      at Module.require (module.js:583:17)
      at Module.require (pkg/prelude/bootstrap.js:1153:31)
      at require (internal/module.js:11:18)

      1 Reply Last reply Reply Quote 0
      • E
        eklipsej last edited by

        No one else have this issue? There is no modifications to the docker. I would expect it to work.

        Monocle 1 Reply Last reply Reply Quote 0
        • Monocle
          Monocle @eklipsej last edited by

          @eklipsej

          I believe this error is typically seen when there is a missing monocle.token file. You have to provide this file for the container/monocle gateway to authenticate your user account.

          For example you can save the file to you local path: /etc/monocle/monocle.token
          Then include a mounted volume path for your docker container to mount the directory: --volume /etc/monocle:/etc/monocle

          Thanks, Robert

          Monocle: https://monoclecam.com
          Getting Started | Troubleshooting Guide | FAQ | Contact Support

          1 Reply Last reply Reply Quote 0
          • E
            eklipsej last edited by

            Thanks but this error comes after the error about the token file. With no file I get an error saying no token file. If I mount and place the file I get this warning.

            I saw some of people maybe mentioning permissions but I believe I have set them correctly.

            I will mess with the file some more.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Privacy Policy  |  Terms & Conditions

            © 2018 shadeBlue, LLC.