Skip to content
CCPEDIAby Unity Nodes
App Development

Error in running Navigator

2 posts232 views1 likesLast activity Sep 2022

  1. FrankieOP

    Hi there,
    The following errors are found when running navigator. It looks like it is unable to access some ledger API service but I couldn’t see which one. Can anyone help here? We are using Daml 2.0.1

    Command

    daml navigator server urlAddress 6865 --tls --access-token-file ./token.txt --feature-user-management false
    

    21:06:55.978 [da-ui-backend-akka.actor.default-dispatcher-8] INFO c.d.n.store.platform.PlatformStore - Starting actor for party Charlie (display name Charlie) akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-5, akkaSource=akka://da-ui-backend/user/$a, sourceActorSystem=da-ui-backend, akkaTimestamp=11:06:55.978UTC
    21:07:06.081 [da-ui-backend-akka.actor.default-dispatcher-5] ERROR c.d.n.s.platform.PlatformSubscriber - Unable to perform API operation: UNAVAILABLE: unavailable akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-8, akkaSource=akka://da-ui-backend/user/$a/party-Bob, sourceActorSystem=da-ui-backend, akkaTimestamp=11:07:06.079UTC
    21:07:06.081 [da-ui-backend-akka.actor.default-dispatcher-5] ERROR c.d.n.s.platform.PlatformSubscriber - Failed to start actor for party ‘Bob’: com.daml.navigator.store.Store$StoreException: UNAVAILABLE: unavailable. Please fix any issues and restart this application. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-8, akkaSource=akka://da-ui-backend/user/$a/party-Bob, sourceActorSystem=da-ui-backend, akkaTimestamp=11:07:06.080UTC
    21:07:06.087 [da-ui-backend-akka.actor.default-dispatcher-8] ERROR c.d.n.s.platform.PlatformSubscriber - Unable to perform API operation: UNAVAILABLE: unavailable akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-5, akkaSource=akka://da-ui-backend/user/$a/party-Charlie, sourceActorSystem=da-ui-backend, akkaTimestamp=11:07:06.087UTC

  2. cocreature 1

    The code that is failing is the one here daml/PlatformSubscriber.scala at a1e92e539f0791ff8203e878aa505505e29590a1 · digital-asset/daml · GitHub. It calls the package service, completion service and transaction service. My guess is that it just fails on the first one, i.e., the package service but the error isn’t informative enough.