Results 1 to 8 of 8

Thread: subscriber errored out: Network.cpp:1399: Ice::SocketException:

  1. #1
    ncornu is offline Registered User
    Name: Cornu Nicolas
    Organization: Cyberdev
    Project: MMORTS Web based game
    Join Date
    Jun 2011
    Posts
    5

    subscriber errored out: Network.cpp:1399: Ice::SocketException:

    Hello,

    My Icebox instance report me that error sometimes.

    \Ice-3.4.2\bin\icebox" --Ice.Config=config.icebox
    -- 10/27/11 15:50:59.815 C:/Program Files (x86)/ZeroC/Ice-3.4.2/bin/icebox-IceStorm: Subscriber: 006D0980 b8b4ce29-59d7-4fe0-bc37-fce5839894
    62 subscriber errored out: Network.cpp:1399: Ice::SocketException:
    socket exception: L'emplacement réseau ne peut pas étre atteint. Pour obtenir des informations concernant la résolution des problèmes du
    réseau, consultez l'aide de Windows. retry: 0/0

    I would like to know what could cause this.
    I use Ice-3.4.2

    Nicolas

  2. #2
    ncornu is offline Registered User
    Name: Cornu Nicolas
    Organization: Cyberdev
    Project: MMORTS Web based game
    Join Date
    Jun 2011
    Posts
    5
    I run it on Windows Server 2008 R2

  3. #3
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    It indicates that IceStorm simply couldn't connect to the subscriber because the machine hosting it wasn't reachable anymore over the network.

    Cheers,
    Benoit.

  4. #4
    ncornu is offline Registered User
    Name: Cornu Nicolas
    Organization: Cyberdev
    Project: MMORTS Web based game
    Join Date
    Jun 2011
    Posts
    5
    The things that afraid me is that all software are running on localhost.

  5. #5
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi Nicolas,

    This in theory shouldn't happen if both processes are running on the same machine. Is something perhaps updating the machine's network configuration while this occurs? Is the client listening on the loopback IP address or on the network interface IP address? Which kind of network is your network interface linked to?

    Cheers,
    Benoit.

  6. #6
    ncornu is offline Registered User
    Name: Cornu Nicolas
    Organization: Cyberdev
    Project: MMORTS Web based game
    Join Date
    Jun 2011
    Posts
    5
    IceBox is listening on all interfaces. The internet one, LAN one and localhost.

    -------------------------------------------------
    config.service
    -------------------------------------------------

    #
    # The IceStorm service instance name.
    #
    IceStorm.InstanceName=Storm

    #
    # This property defines the endpoints on which the IceStorm
    # TopicManager listens.
    #
    IceStorm.TopicManager.Endpoints=defaults -p 10000

    #
    # This property defines the endpoints on which the topic
    # publisher objects listen. If you want to federate
    # IceStorm instances this must run on a fixed port (or use
    # IceGrid).
    #
    IceStorm.Publish.Endpoints=tcp -p 10001:udp -p 10001

    #
    # TopicManager Tracing
    #
    # 0 = no tracing
    # 1 = trace topic creation, subscription, unsubscription
    # 2 = like 1, but with more detailed subscription information
    #
    IceStorm.Trace.TopicManager=1

    #
    # Topic Tracing
    #
    # 0 = no tracing
    # 1 = trace unsubscription diagnostics
    #
    IceStorm.Trace.Topic=1

    #
    # Subscriber Tracing
    #
    # 0 = no tracing
    # 1 = subscriber diagnostics (subscription, unsubscription, event
    # propagation failures)
    #
    IceStorm.Trace.Subscriber=1

    #
    # Amount of time in milliseconds between flushes for batch mode
    # transfer. The minimum allowable value is 100ms.
    #
    IceStorm.Flush.Timeout=2000

    #
    # Network Tracing
    #
    # 0 = no network tracing
    # 1 = trace connection establishment and closure
    # 2 = like 1, but more detailed
    # 3 = like 2, but also trace data transfer
    #
    #Ice.Trace.Network=1

    #
    # This property defines the home directory of the Freeze
    # database environment for the IceStorm service.
    #
    Freeze.DbEnv.IceStorm.DbHome=db

    Ice.Warn.Connections = 1

    Ice.BatchAutoFlush = 1

    Ice.ACM.Client=0
    Ice.ACM.Server=0
    Ice.MessageSizeMax = 100000000
    ----------------------------------------------

    ----------------------------------------------
    I have the following error:
    ----------------------------------------------
    Application receiving message from IceBox

    -! 11/15/11 23:17:09.002 C:/Program Files (x86)/ZeroC/Ice-3.4.2/bin/icebox-IceStorm: warning: connection exception:
    OutgoingAsync.cpp:854: Ice::TimeoutException:
    timeout while sending or receiving data
    local address = 192.168.56.1:49476
    remote address = 192.168.56.1:49176
    -- 11/15/11 23:17:09.029 C:/Program Files (x86)/ZeroC/Ice-3.4.2/bin/icebox-IceStorm: Subscriber: 006E2598 785385f8-889a-4b2b-a42c-d96f944aa8
    dc subscriber errored out: OutgoingAsync.cpp:854: Ice::TimeoutException:
    timeout while sending or receiving data retry: 0/0

    IceBox
    -- 11/10/11 21:24:16.857 C:/Program Files (x86)/ZeroC/Ice-3.4.2/bin/icebox-IceStorm: Topic: EDIPlatform.SupplyChain.DataStreamHasToBeGe
    nerated: subscribeAndGetPublisher: ad47e5b0-eeba-4a82-a091-59f1426a9ad5
    -! 11/10/11 21:45:56.100 C:/Program Files (x86)/ZeroC/Ice-3.4.2/bin/icebox-IceStorm: warning: connection exception:
    TcpTransceiver.cpp:414: Ice::ConnectionLostException:
    connection lost: Le nom rÚseau spÚcifiÚ nÆest plus disponible.
    local address = 127.0.0.1:10000
    remote address = 127.0.0.1:50760
    -! 11/10/11 21:45:56.122 C:/Program Files (x86)/ZeroC/Ice-3.4.2/bin/icebox-IceStorm: warning: connection exception:
    TcpTransceiver.cpp:414: Ice::ConnectionLostException:
    connection lost: Le nom rÚseau spÚcifiÚ nÆest plus disponible.
    local address = 192.168.0.42:10000
    remote address = 192.168.0.42:50761
    -------------------------------------------------

    I can specify localhost on all the config I tihnk. But i don't think it will solve my problem because i got error even with IceBox listening on localhost.

  7. #7
    ncornu is offline Registered User
    Name: Cornu Nicolas
    Organization: Cyberdev
    Project: MMORTS Web based game
    Join Date
    Jun 2011
    Posts
    5
    The server is hosted by a french ISP in a data center. It is a professional service.

    Given your location I think you know OVH.
    Last edited by ncornu; 11-16-2011 at 07:09 AM.

  8. #8
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    You could try to change your subscriber to only listen on the loopback interface and see if this helps. It's also possible that the problem isn't a networking issue but an issue with your subscriber not responding anymore because of a software problem such a deadlock or hang preventing the subscriber server thread pool from dispatching messages. What is the timeout value? Did you try without any timeouts?

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 07-31-2011, 04:29 PM
  2. Replies: 4
    Last Post: 12-14-2010, 05:15 PM
  3. Replies: 1
    Last Post: 11-04-2009, 10:32 AM
  4. Network.cpp:1,159
    By sober in forum Help Center
    Replies: 6
    Last Post: 06-02-2009, 02:17 AM
  5. getting Ice::SocketException
    By fengqi in forum Help Center
    Replies: 5
    Last Post: 05-10-2006, 08:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •