Skip to content

Document how to resolve name on remote node #305

@teh

Description

@teh

I'm struggling to understand what I need to do in order to resolve a remote name. I have two different binaries (server and client), and no matter what I do, a resolution like the following:

        let addr = DP.NodeId (DP.EndPointAddress "127.0.0.1:8081:0")
        res <- DP.resolveOrDie (addr, "http"::String) "nope"

breaks with this trace message on the server:

Sun Feb  5 16:27:30 UTC 2017 [trace] MxProcessDied pid://127.0.0.1:8081:0:11 (DiedException "user error (Error: Could not resolve closure: Invalid static label 'Control.Distributed.Process.Extras.Internal.Types.whereis')")

I trawled all the docs and repositories I can find but I can't see an explicit __remoteTable setup for whereis. I'm unclear on whether I need to provide this, or whether this should work and I am doing something wrong.

Anyway, any pointers or updates to docs would be greatly appreciated. Thanks for the amazing work!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions