Home Help Center

Running multiple servers with only one client

yass131yass131 Member Atmani YasserOrganization: Université d'AvignonProject: Streaming music platform

Hi,

I'm having some troubles setting up my client-servers communication. I have 2 servers : both are running on the same host but different port. But only one of them is reachable by my client, any explanation ? Am I missing something ?

NB : Servers are running with IceSSL, I don't know if it changes something

Thanks!

Tagged:

Answers

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    Hi,

    You can enable network tracing on the client and servers using Ice.Trace.Network=2. It might provide hints as to why the client doesn't connect to the second server if it's a configuration issue.

    Otherwise, it would be good to provide the sample code you use to setup the two proxies used to talk to the two servers.

    Cheers,
    Benoit

  • yass131yass131 Member Atmani YasserOrganization: Université d'AvignonProject: Streaming music platform

    I solved my issue in between, I noticed that one of my server was booting after my client, so it couldn't work

    But now I have an issue with Ice.loadSlice() on IceGrid servers :
    icecpp: error: cannot open/my/directory/Hello.ice' for reading`
    The Hello.ice file is in the same directory as my python file, any idea ?

  • yass131yass131 Member Atmani YasserOrganization: Université d'AvignonProject: Streaming music platform

    This seems to be a permission issue : I cloned the demo available on github, and it's not working whereas it was working on another computer. Any way to allow Ice and IceGrid to read files ?

Sign In or Register to comment.