[erlang-questions] How access the gen_server across the network

Oscar ro4tub@REDACTED
Fri Aug 7 14:46:34 CEST 2009


yes. net_kernel:connect_node(server@REDACTED). returns true, but
erlang:nodes(). returns an empty list.


On Fri, Aug 7, 2009 at 8:34 PM, Kevin A. Smith<kevin@REDACTED> wrote:
> Do you connect the two nodes, either via net_adm:ping/1 or
> net_kernel:connect_node/1, before trying the gen_server call? If so, you
> might try running the sasl application on both nodes and recreating the
> error. SASL will provide a ton of crash information which can be really
> handy when debugging these types of failures.
>
> --Kevin
> On Aug 7, 2009, at 8:28 AM, Oscar wrote:
>
>> I've start the gen_server via gen_server:start_link({global,
>> game_time_service}, ...) and access the service via
>> gen_server:call({global, game_time_service}, get_time).
>>
>> It throws the nprpoc exception when I access it.
>>
>> Any suggestions?
>>
>> Thanks.
>>
>> ________________________________________________________________
>> erlang-questions mailing list. See http://www.erlang.org/faq.html
>> erlang-questions (at) erlang.org
>>
>
>


More information about the erlang-questions mailing list