0

I'm trying to run the PAB-Nami simple demo in the Plutus Apps repo. When I run the PAB, either using cabal or with the nix-shell script, I'm getting the error:

plutus-pab-nami-demo: Network.Socket.connect: <socket: 18>: does not exist (No such file or directory)

I'm not sure what's going wrong, and there is no mention of configuring the socket in the README.

Any ideas?

2 Answers 2

1

Start up a Cardano Node.

Also, make sure to set the node socket path to to location of your node.sock file is:

export CARDANO_NODE_SOCKET_PATH=/cardano-node/example/socket/
7
  • It would make sense if it was looking for a Cardano Node, but the instructions specifically say, "It doesn't use a local Cardano node, nor the chain index." I might try it anyway. Mar 14 at 4:17
  • I just needed to spin up a Cardano Node. Thanks. Mar 16 at 6:16
  • 1
    I want to award you the answer, but we should probably only include the Cardano Node in the answer. The index and wallet aren't necessary, and it doesn't use the socket path env var. Mar 16 at 6:19
  • 1
    The node socket env var isn't used AFAICT. It uses the pscSocketPath value in plutus-pab-executables/demo/pab-nami/pab/plutus-pab.yaml. I actually have an PR up on the repo to fix the instructions: github.com/input-output-hk/plutus-apps/pull/362 Mar 18 at 20:53
  • 1
    Although my answer helped you along, it seems like you've discovered the actual solution. I'm not sure the best way to make the changes on this post. I think I'll leave as-is for now. Mar 18 at 22:56
0

The issue was I needed a Cardano Node running and I needed to point at the socket. To point your PAB at the socket, update the pscSocketPath value in plutus-pab-executables/demo/pab-nami/pab/plutus-pab.yaml. I got node running following the instructions here.

1
  • I created a PR to update the docs to include this information. That has been merged. Mar 26 at 23:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.