Connection reset by peer when I specify port for Callback

I have a successful rmi callback when it uses annoymous port by using UnicastRemoteObject.exportObject(this) from client. But I get the following messages when I tried to specify port by using UnicastRemoteObject.exportObject(this, port) by client. My understanding is this tells the server to callback using the port specify and the connection should be made. Where it fails is when the server tries to call client.notify() where the callback is taking place I get the errors.
Am I missing something? I thought that was all I needed to do to specify a port.
Remote Exception:java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.MarshalException: Error marshaling transport header; nested exception is:
java.net.SocketException: Connection reset by peer: Connection reset by peer
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.MarshalException: Error marshaling transport header; nested exception is:
java.net.SocketException: Connection reset by peer: Connection reset by peer
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
Thanks for the help.

Hi Esmond, My name is Lee and I work with Joon (hellscream) and this RMI callback problem still persists. We appreciate your help and we know about your expertise in this area. (Great products on your web site by the way).
The problem environment currently consists of a Unix Solaris server on the backend and windows XP laptops acting as clients. The callback is from the unix server back to the client.
By looking at the output of netstat -na on the unix server during a normal anonymous port run, we can clearly see that there seem to be 3 sequentially numbered ports involved whenever the anonymous port construct of UnicastRemoteObject is used. This happens with super() or super(0); in our client code. All works very well that way.
The problem arises when we make changes to the client impl file and specify a port with super(65000) for example.
There is no firwall involved right now and UnicastRemoteObject doesn't seem to behave as advertised in the sense that
We can clearly see what's going on with the network using Thread.sleep(10000) within the client app meanwhile executing netstat -na on the unix server and grepping for the client IP address
We can see that the unix server STILL wants to talk to the client on an arbitrary port while the laptop client is listening on the desired port that we chose (65000) in this case.
If we attempt to instantiate a port in the server Impl java file, the results are the same with the exception of the choice of the source port on the unix server. We seem to be able to choose and set that at will. Unfortunately, and from the perspective of a future firewall, the source port is irrelevant and the rules normally apply to destination ports in an outgoing connection.
Anyway, with ports instantiated and everything compiling, the client prints the following stacktrace
Thanks very much in advance for your help
Remote Exception:java.rmi.ServerException: RemoteException occurred in server th
read; nested exception is:
java.rmi.ConnectIOException: error during JRMP connection establishment;
nested exception is:
java.net.SocketException: Connection reset
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.ConnectIOException: error during JRMP connection establishment;
nested exception is:
java.net.SocketException: Connection reset
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at ids.rmi.ServerJobImpl_Stub.execute(Unknown Source)
at ids.jobExec.JobThread.run(JobRunner.java:551)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishme
nt; nested exception is:
java.net.SocketException: Connection reset
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at ids.rmi.JobClientImpl_Stub.message(Unknown Source)
at ids.rmi.ServerJobImpl.execute(ServerJobImpl.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at java.io.DataInputStream.readByte(DataInputStream.java:331)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215
... 15 more
Job finished. Exit status: -1

Similar Messages

  • Connection reset by peer when trying to update to OSX server 3.01 on 10.9

    connection reset by peer when trying to update to OSX server 3.01 on 10.9. PLease help

    Assuming your network is working for other activities, and it's just the Mac App Store that's failing...
    Try restarting the download within the Mac App Store. 
    Failing that, restart Mac App Store and try restarting the download again.
    Then failing all that, I'd close Mac App Store, reboot the system, and open and try the Mac App Store download again. 
    Here are some details on the Mac App Store (including how to cancel and restart downloads), and here are the App Store Troubleshooting suggestions from Apple.

  • On iPad get 'connection reset by peer' when trying to reach iTunes or download apps. How can I fix this?

    See question in headline.

    Hi MollyPhloot07,
    I'm glad you found the coupons.com app and you might also want to take a look at the GroceryIQ app from the same company.  Please note that at this time, printing is only support from iPad to HP wireless inkjet printer.  That's most likely the reason why your Canon isn't displaying when attempting to print.  The other way to go might be emailing the coupons you want to your email address, then open that email and print from a conventional desktop or laptop computer.
    Hope this helps!
    Coupon Support

  • Remote Desktop on Mac connecting to 2008 R2 Server produces "Connection Reset by Peer" error when idle 20 mins

    Mac Clients are running 10.9.2 Mavericks. 
    Client is Microsoft Remote Desktop 8.05.
    Clients are mixed in how they connect to the Windows 2008 R2 server, some
    are on Wifi some are on Wired Ethernet.
    If you connect to the Server through the RD Client, and get on you work 
    and if you then say go idle  ( still connected but not doing anything such as 
    printing from the Server or in an Application on the Server) then after 20 mins it
    (the client) throws up a "Connection reset by Peer" error.
    You click OK, and then it breaks connection. You can however reconnect without issue.
    We have currently about six users who are using the RD Connection to access QuickBooks on
    this 2008 R2 server. Four are on Macs and get the errors. Two are on PCs and do not get the errors.
    Here is the log file from one of the Macs that had the error:
    [2014-Apr-07 10:34:07] RDP (0): Server shows cursor
    [2014-Apr-07 10:34:09] RDP (0): Server hides cursor
    [2014-Apr-07 10:34:21] RDP (0): Server shows cursor
    [2014-Apr-07 10:34:22] RDP (0): Server hides cursor
    [2014-Apr-07 10:34:25] RDP (0): Server shows cursor
    [2014-Apr-07 11:00:29] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-07 11:00:29] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-07 11:00:29] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-07 11:02:35] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-07 11:02:35] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-07 11:02:35] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-07 11:02:35] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-07 11:02:35] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 11:02:35] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 11:02:35] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-07 11:02:35] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-07 11:02:35] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-07 11:02:35] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-07 11:02:35] RDP (0): client version: 8.0.24428
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-07 11:02:35] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 11:02:35] RDP (0): Server supports RAIL
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 11:02:35] RDP (0): Server supports RAIL
    [2014-Apr-07 11:02:35] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 11:09:38] RDP (0): Server hides cursor
    [2014-Apr-07 11:09:38] RDP (0): Server shows cursor
    [2014-Apr-07 11:09:38] RDP (0): Server hides cursor
    [2014-Apr-07 11:09:38] RDP (0): Server shows cursor
    [2014-Apr-07 11:09:38] RDP (0): Server hides cursor
    [2014-Apr-07 11:09:38] RDP (0): Server shows cursor
    [2014-Apr-07 12:16:31] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-07 12:16:31] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-07 12:16:31] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-07 12:21:42] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-07 12:21:42] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-07 12:21:42] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-07 12:21:42] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-07 12:21:42] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 12:21:42] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 12:21:42] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-07 12:21:42] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-07 12:21:42] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-07 12:21:42] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-07 12:21:42] RDP (0): client version: 8.0.24428
    [2014-Apr-07 12:21:42] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-07 12:21:42] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-07 12:21:42] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-07 12:21:43] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-07 12:21:43] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 12:21:43] RDP (0): Server supports RAIL
    [2014-Apr-07 12:21:43] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 12:21:43] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 12:21:43] RDP (0): Server supports RAIL
    [2014-Apr-07 12:21:43] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 15:30:19] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-07 15:30:19] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-07 15:30:19] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-07 15:30:22] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-07 15:30:22] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-07 15:30:22] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-07 15:30:22] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-07 15:30:22] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 15:30:22] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 15:30:22] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-07 15:30:22] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-07 15:30:22] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-07 15:30:22] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-07 15:30:22] RDP (0): client version: 8.0.24428
    [2014-Apr-07 15:30:22] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-07 15:30:22] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-07 15:30:22] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-07 15:30:22] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-07 15:30:22] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 15:30:22] RDP (0): Server supports RAIL
    [2014-Apr-07 15:30:22] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 15:30:23] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 15:30:23] RDP (0): Server supports RAIL
    [2014-Apr-07 15:30:23] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 16:52:24] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-07 16:52:24] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-07 16:52:24] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-07 16:52:27] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-07 16:52:27] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-07 16:52:27] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-07 16:52:27] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-07 16:52:27] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 16:52:27] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-07 16:52:27] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.195 netmask=255.255.255.0
    [2014-Apr-07 16:52:27] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-07 16:52:27] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-07 16:52:27] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-07 16:52:27] RDP (0): client version: 8.0.24428
    [2014-Apr-07 16:52:27] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-07 16:52:27] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-07 16:52:27] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-07 16:52:27] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-07 16:52:27] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 16:52:28] RDP (0): Server supports RAIL
    [2014-Apr-07 16:52:28] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 16:52:28] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 16:52:28] RDP (0): Server supports RAIL
    [2014-Apr-07 16:52:28] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-07 16:52:40] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-07 16:52:40] RDP (0): Disconnect initiated by server
    [2014-Apr-07 16:52:45] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-07 16:52:45] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-07 16:52:45] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-07 16:58:19] RDP (0): *** Application terminated ***
    [2014-Apr-08 10:00:23] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-08 10:00:23] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-08 10:00:23] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-08 10:00:23] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-08 10:00:23] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 10:00:23] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 10:00:23] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-08 10:00:23] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-08 10:00:23] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-08 10:00:23] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-08 10:00:23] RDP (0): client version: 8.0.24428
    [2014-Apr-08 10:00:23] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-08 10:00:23] RDP (0): Resolved '192.168.16.25' to '192.168.16.25' using NameResolveMethod_DNS(1)
    [2014-Apr-08 10:00:23] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-08 10:00:23] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-08 10:00:23] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 10:00:23] RDP (0): Server supports RAIL
    [2014-Apr-08 10:00:23] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 10:00:38] RDP (0): Server hides cursor
    [2014-Apr-08 10:00:40] RDP (0): Server shows cursor
    [2014-Apr-08 10:08:35] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-08 10:08:35] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-08 10:08:35] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-08 10:08:39] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-08 10:08:39] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-08 10:08:39] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-08 10:08:39] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-08 10:08:39] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 10:08:39] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 10:08:39] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.195 netmask=255.255.255.0
    [2014-Apr-08 10:08:39] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-08 10:08:39] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-08 10:08:39] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-08 10:08:39] RDP (0): client version: 8.0.24428
    [2014-Apr-08 10:08:39] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-08 10:08:39] RDP (0): Resolved '192.168.16.25' to '192.168.16.25' using NameResolveMethod_DNS(1)
    [2014-Apr-08 10:08:39] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-08 10:08:39] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-08 10:08:39] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 10:08:39] RDP (0): Server supports RAIL
    [2014-Apr-08 10:08:39] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 10:08:40] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 10:08:40] RDP (0): Server supports RAIL
    [2014-Apr-08 10:08:40] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 11:02:36] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-08 11:02:36] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-08 11:02:36] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-08 11:04:38] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.25
    audiomode:i:0
    username:s:michele.lefebvre
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-08 11:04:38] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-08 11:04:38] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-08 11:04:38] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-08 11:04:38] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 11:04:38] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 11:04:38] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-08 11:04:38] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-08 11:04:38] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-08 11:04:38] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-08 11:04:38] RDP (0): client version: 8.0.24428
    [2014-Apr-08 11:04:38] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-08 11:04:38] RDP (0): Resolved '192.168.16.25' to '192.168.16.25' using NameResolveMethod_DNS(1)
    [2014-Apr-08 11:04:38] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-08 11:04:38] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-08 11:04:38] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 11:04:38] RDP (0): Server supports RAIL
    [2014-Apr-08 11:04:39] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 11:04:39] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 11:04:39] RDP (0): Server supports RAIL
    [2014-Apr-08 11:04:39] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 11:04:49] RDP (0): Server hides cursor
    [2014-Apr-08 11:04:50] RDP (0): Server shows cursor
    [2014-Apr-08 11:04:51] RDP (0): Server hides cursor
    [2014-Apr-08 11:04:55] RDP (0): Server shows cursor
    [2014-Apr-08 11:05:09] RDP (0): Server hides cursor
    [2014-Apr-08 11:05:12] RDP (0): Server shows cursor
    [2014-Apr-08 11:06:33] RDP (0): Server hides cursor
    [2014-Apr-08 11:06:33] RDP (0): Server shows cursor
    [2014-Apr-08 11:06:35] RDP (0): Server hides cursor
    [2014-Apr-08 11:06:44] RDP (0): Server shows cursor
    [2014-Apr-08 11:06:49] RDP (0): Server hides cursor
    [2014-Apr-08 11:06:50] RDP (0): Server shows cursor
    [2014-Apr-08 11:06:54] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:02] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:06] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:14] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:26] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:29] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:32] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:33] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:35] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:35] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:35] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:35] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:35] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:35] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:36] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:36] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:36] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:36] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:36] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:36] RDP (0): Server shows cursor
    [2014-Apr-08 11:07:38] RDP (0): Server hides cursor
    [2014-Apr-08 11:07:38] RDP (0): Server shows cursor
    [2014-Apr-08 11:17:05] RDP (0): Server hides cursor
    [2014-Apr-08 11:17:08] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:53] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:54] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:54] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:54] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:54] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:54] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:54] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:54] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:54] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:54] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:58] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:58] RDP (0): Server shows cursor
    [2014-Apr-08 11:26:58] RDP (0): Server hides cursor
    [2014-Apr-08 11:26:58] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:05] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:06] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:15] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:15] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:15] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:15] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:17] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:17] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:22] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:22] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:23] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:25] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:25] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:25] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:25] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:26] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:29] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:29] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:29] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:29] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:29] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:29] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:31] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:31] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:32] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:33] RDP (0): Server shows cursor
    [2014-Apr-08 11:27:35] RDP (0): Server hides cursor
    [2014-Apr-08 11:27:36] RDP (0): Server shows cursor
    [2014-Apr-08 11:29:50] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-08 11:29:50] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-08 11:29:50] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-08 11:30:04] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-08 11:30:04] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-08 11:30:04] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-08 11:30:04] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-08 11:30:04] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 11:30:04] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 11:30:04] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-08 11:30:04] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-08 11:30:04] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-08 11:30:04] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-08 11:30:04] RDP (0): client version: 8.0.24428
    [2014-Apr-08 11:30:04] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-08 11:30:04] RDP (0): Resolved '192.168.16.25' to '192.168.16.25' using NameResolveMethod_DNS(1)
    [2014-Apr-08 11:30:04] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-08 11:30:04] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-08 11:30:04] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 11:30:04] RDP (0): Server supports RAIL
    [2014-Apr-08 11:30:04] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 11:30:05] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 11:30:05] RDP (0): Server supports RAIL
    [2014-Apr-08 11:30:05] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 11:30:11] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:11] RDP (0): Server shows cursor
    [2014-Apr-08 11:30:11] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:11] RDP (0): Server shows cursor
    [2014-Apr-08 11:30:12] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:12] RDP (0): Server shows cursor
    [2014-Apr-08 11:30:12] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:12] RDP (0): Server shows cursor
    [2014-Apr-08 11:30:12] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:12] RDP (0): Server shows cursor
    [2014-Apr-08 11:30:30] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:31] RDP (0): Server shows cursor
    [2014-Apr-08 11:30:31] RDP (0): Server hides cursor
    [2014-Apr-08 11:30:31] RDP (0): Server shows cursor
    [2014-Apr-08 14:45:21] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-08 14:45:21] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-08 14:45:21] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-08 15:11:03] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-08 15:11:03] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-08 15:11:03] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-08 15:11:03] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-08 15:11:03] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 15:11:03] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 15:11:03] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-08 15:11:03] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-08 15:11:03] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-08 15:11:03] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-08 15:11:03] RDP (0): client version: 8.0.24428
    [2014-Apr-08 15:11:03] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-08 15:11:03] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-08 15:11:03] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-08 15:11:03] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-08 15:11:03] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 15:11:03] RDP (0): Server supports RAIL
    [2014-Apr-08 15:11:03] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 15:11:04] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 15:11:04] RDP (0): Server supports RAIL
    [2014-Apr-08 15:11:04] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 15:22:36] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 15:22:36] RDP (0): Disconnect initiated by server
    [2014-Apr-08 15:22:41] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-08 15:22:41] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-08 15:22:41] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-08 16:29:11] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:michele.lefebvre
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-08 16:29:11] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-08 16:29:11] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-08 16:29:11] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-08 16:29:11] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 16:29:11] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-08 16:29:11] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.195 netmask=255.255.255.0
    [2014-Apr-08 16:29:11] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-08 16:29:11] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-08 16:29:11] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-08 16:29:11] RDP (0): client version: 8.0.24428
    [2014-Apr-08 16:29:11] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-08 16:29:11] RDP (0): Resolved '192.168.16.25' to '192.168.16.25' using NameResolveMethod_DNS(1)
    [2014-Apr-08 16:29:11] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-08 16:29:11] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-08 16:29:11] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 16:29:12] RDP (0): Server supports RAIL
    [2014-Apr-08 16:29:12] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-08 16:29:51] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-08 16:29:51] RDP (0): Disconnect initiated by server
    [2014-Apr-08 16:29:56] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-08 16:29:56] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-08 16:29:56] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-08 16:37:07] RDP (0): *** Application terminated ***
    [2014-Apr-09 09:24:29] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-09 09:24:29] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-09 09:24:29] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-09 09:24:29] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-09 09:24:29] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 09:24:29] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 09:24:29] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.195 netmask=255.255.255.0
    [2014-Apr-09 09:24:29] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-09 09:24:29] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-09 09:24:29] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-09 09:24:29] RDP (0): client version: 8.0.24428
    [2014-Apr-09 09:24:29] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-09 09:24:29] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-09 09:24:29] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-09 09:24:29] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-09 09:24:29] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 09:24:29] RDP (0): Server supports RAIL
    [2014-Apr-09 09:24:29] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 09:24:45] RDP (0): Server hides cursor
    [2014-Apr-09 09:24:46] RDP (0): Server shows cursor
    [2014-Apr-09 09:24:46] RDP (0): Server hides cursor
    [2014-Apr-09 09:24:49] RDP (0): Server shows cursor
    [2014-Apr-09 09:25:08] RDP (0): Server hides cursor
    [2014-Apr-09 09:25:10] RDP (0): Server shows cursor
    [2014-Apr-09 09:25:15] RDP (0): Server hides cursor
    [2014-Apr-09 09:25:27] RDP (0): Server shows cursor
    [2014-Apr-09 09:25:30] RDP (0): Server hides cursor
    [2014-Apr-09 09:25:31] RDP (0): Server shows cursor
    [2014-Apr-09 09:25:33] RDP (0): Server hides cursor
    [2014-Apr-09 09:25:34] RDP (0): Server shows cursor
    [2014-Apr-09 09:25:38] RDP (0): Server hides cursor
    [2014-Apr-09 09:25:48] RDP (0): Server shows cursor
    [2014-Apr-09 09:25:50] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:40] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:40] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:40] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:40] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:40] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:40] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:41] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:41] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:41] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:41] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:41] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:53] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:53] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:53] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:53] RDP (0): Server shows cursor
    [2014-Apr-09 09:26:58] RDP (0): Server hides cursor
    [2014-Apr-09 09:26:58] RDP (0): Server shows cursor
    [2014-Apr-09 09:27:20] RDP (0): Server hides cursor
    [2014-Apr-09 09:27:22] RDP (0): Server shows cursor
    [2014-Apr-09 09:27:23] RDP (0): Server hides cursor
    [2014-Apr-09 09:27:23] RDP (0): Server shows cursor
    [2014-Apr-09 10:10:53] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-09 10:10:53] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-09 10:10:53] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-09 10:10:56] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-09 10:10:56] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-09 10:10:56] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-09 10:10:56] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-09 10:10:56] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 10:10:56] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 10:10:56] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-09 10:10:56] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-09 10:10:56] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-09 10:10:56] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-09 10:10:56] RDP (0): client version: 8.0.24428
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-09 10:10:56] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 10:10:56] RDP (0): Server supports RAIL
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 10:10:56] RDP (0): Server supports RAIL
    [2014-Apr-09 10:10:56] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 10:12:00] RDP (0): Server hides cursor
    [2014-Apr-09 10:12:01] RDP (0): Server shows cursor
    [2014-Apr-09 10:16:50] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-09 10:16:50] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-09 10:16:50] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-09 10:22:22] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-09 10:22:22] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-09 10:22:22] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-09 10:22:22] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-09 10:22:22] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 10:22:22] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): en1 af=30 (AF_INET6) addr=fe80::ee35:86ff:fe3b:e3d8%en1 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 10:22:22] RDP (0): en1 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-09 10:22:22] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-09 10:22:22] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-09 10:22:22] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-09 10:22:22] RDP (0): client version: 8.0.24428
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-09 10:22:22] RDP (0): Resolved '192.168.16.x' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 10:22:22] RDP (0): Server supports RAIL
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 10:22:22] RDP (0): Server supports RAIL
    [2014-Apr-09 10:22:22] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 10:26:40] RDP (0): Protocol state changed to: ProtocolDisconnecting(7)
    [2014-Apr-09 10:26:40] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-09 10:26:40] RDP (0): *** Application terminated ***
    [2014-Apr-09 10:27:28] RDP (0): *** Application terminated ***
    [2014-Apr-09 10:28:36] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:m
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-09 10:28:36] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-09 10:28:36] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-09 10:28:36] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-09 10:28:36] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 10:28:36] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 10:28:36] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.1xx netmask=255.255.255.0
    [2014-Apr-09 10:28:36] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-09 10:28:36] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-09 10:28:36] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-09 10:28:36] RDP (0): client version: 8.0.24428
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-09 10:28:36] RDP (0): Resolved '192.168.16.25' to '192.168.16.x' using NameResolveMethod_DNS(1)
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 10:28:36] RDP (0): Server supports RAIL
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 10:28:36] RDP (0): Server supports RAIL
    [2014-Apr-09 10:28:36] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 11:33:11] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    [2014-Apr-09 11:33:11] RDP (0): Exception caught: Exception in file '../../librdp/legacytcpstreamadapter.cpp' at line 322
    User Message : Failed to read from socket: -1
    [2014-Apr-09 11:33:11] RDP (0): ------ END ACTIVE CONNECTION ------
    [2014-Apr-09 11:33:18] RDP (0): Final rdp configuration used: screen mode id:i:2
    use multimon:i:1
    session bpp:i:24
    full address:s:192.168.16.x
    audiomode:i:0
    username:s:michele.lefebvre
    disable wallpaper:i:0
    disable full window drag:i:0
    disable menu anims:i:0
    disable themes:i:0
    alternate shell:s:
    shell working directory:s:
    authentication level:i:2
    connect to console:i:0
    gatewayusagemethod:i:0
    disable cursor setting:i:0
    allow font smoothing:i:1
    allow desktop com:1
    bookmarktype:i:3
    use redirection server name:i:0
    [2014-Apr-09 11:33:18] RDP (0): --- BEGIN INTERFACE LIST ---
    [2014-Apr-09 11:33:18] RDP (0): lo0 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): lo0 af=30 (AF_INET6) addr=::1 netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
    [2014-Apr-09 11:33:18] RDP (0): lo0 af=2 (AF_INET) addr=127.0.0.1 netmask=255.0.0.0
    [2014-Apr-09 11:33:18] RDP (0): lo0 af=30 (AF_INET6) addr=fe80::1%lo0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 11:33:18] RDP (0): gif0 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): stf0 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): en0 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): en0 af=30 (AF_INET6) addr=fe80::12dd:b1ff:febe:9771%en0 netmask=ffff:ffff:ffff:ffff::
    [2014-Apr-09 11:33:18] RDP (0): en0 af=2 (AF_INET) addr=192.168.16.195 netmask=255.255.255.0
    [2014-Apr-09 11:33:18] RDP (0): en1 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): en4 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): en3 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): p2p0 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): bridge0 af=18 addr= netmask=
    [2014-Apr-09 11:33:18] RDP (0): --- END INTERFACE LIST ---
    [2014-Apr-09 11:33:18] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Apr-09 11:33:18] RDP (0): client version: 8.0.24428
    [2014-Apr-09 11:33:18] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    [2014-Apr-09 11:33:18] RDP (0): Resolved '192.168.16.25' to '192.168.16.25' using NameResolveMethod_DNS(1)
    [2014-Apr-09 11:33:18] RDP (0): Protocol state changed to: ProtocolNegotiatingCredentials(2)
    [2014-Apr-09 11:33:18] RDP (0): Protocol state changed to: ProtocolConnectingRDP(3)
    [2014-Apr-09 11:33:18] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 11:33:19] RDP (0): Server supports RAIL
    [2014-Apr-09 11:33:19] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 11:33:19] RDP (0): Protocol state changed to: ProtocolInactive(4)
    [2014-Apr-09 11:33:19] RDP (0): Server supports RAIL
    [2014-Apr-09 11:33:19] RDP (0): Protocol state changed to: ProtocolActive(5)
    [2014-Apr-09 11:33:34] RDP (0): Server hides cursor
    [2014-Apr-09 11:33:38] RDP (0): Server shows cursor
    Any help would be appreciated.

    Hi,
    A connection was forcibly closed by a peer. This normally results from a loss of the connection on the remote socket due to a timeout or a restart. On a datastream socket, the
    connection was reset. This reset could be generated locally by the network system when it detects a connection failure, or it might be received from the remote host (in TCP terms, the remote host sent an RST packet). This error is also possible on a datagram
    socket; for instance, this error could result if your application sends a UDP datagram to a host, which rejects it by responding with an ICMP Port Unreachable.
    Please check the following:
    1. Ping the remote host you were connected to. If it does respond, this problem might have been a transient one (so you can reconnect now), or the server application you were
    connected to might have terminated (so you might not be able to connect again).
    2. Type tracert at the command prompt to determine the path to the host you were connected to. This won't reveal too much unless you know the router addresses at the remote end,
    but it might help to identify if the problem is somewhere along the way.
    3. Check if there is any related error log in the server side.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • HT5167 When I try to install the update"MAC OS X Update Combined, I get a message that says it cannot be saved & connection reset by peer.  What do I need to do to get this update installed.  I just purchased my first iMAC and don't know anything about it

    When I try to install the update"MAC OS X Update Combined, I get a message that says it cannot be saved & connection reset by peer.  What do I need to do to get this update installed.  I just purchased my first iMAC and don't know anything about it.

    Try here:
    http://support.apple.com/kb/DL1524

  • Socket read error: connection reset by peer

    Hi.
    Has anybody experienced the error message �Socket read error: connection reset by peer�
    Please see below for detailed information.
    Appreciate your help
    Regards
    RT
    Enviroment specification
    Server: HP/UX 11.00 64-bit, Oracle RDBMS 8.1.6.0.0 64-bit
    2 firewalls between client and db.
    Client:
    Win 2000,
    SP3,
    Oracle Client 8.1.7.0.0 ,JDBC OCI (thin JDBC driver,class12.zip)
    JDK 1.3
    JRUN3.0
    The TCP protocol is being used in the communication
    Error messages
    Web Users receive:           Socket read error: connection reset by peer
    Trace files on the sever:      Read unexpected EOF ERROR on 18.
    Explanation: The error in the server sqlnet trace file, suggests that a client connection has terminated abnormally, i.e. client machine powered off, a cable removed or a network connection aborted without warning. No user has complained of such a problem and there is no client trace with an error.
    The problem
    The users of the java web application, experiencing an exception almost once or twice a day.
    The JRUN web-server reports broken connections to the db and client are receiving "connection reset by peer".
    At the moment when the errors occurs the users just have to wait a while(2-10 min) and then they can use the web application again.(no action is taken)
    This problem can not be reproduced. The problem happens only occasionally when the network is under heavy load and new DB connection is being created.
    The application
    The java web-application uses a customized connection pooling against the database. This pool is shared among all the users of the website. whenever a user process needs to fetch data from the database, a free connection from this pool is allocated. The application is testing if the connection is valid before making a transaction (select '1' from dual). When the error occurs a ORA-3113 end-of-file on communication channel is returned to the application.
    The path between the client and db involves at least two firewalls. The firewalls are opened for sql*net traffic. The network group can tell that enquiries from the app.server is not getting feedback from the db. They have not however, identified if the enquiries are reaching the db-srever, or if they are stopped earlier in the network.
    Around 1000 users, are using other applications which uses dedicated sqlnet connections against the db and they have not experienced any problems.
    Issues considered
    Connection pooling
    It is a customized connection pooling, developed by Lindorff developers.
    I have read through the source code for the connection pooling and it does the job as it should, and in case of bad connection, it tries to create a new connection.
    The log file shows that the call to the method DriverManager.getConnection() hangs until the server goes down, which is probably because of the fact that the method DriverManager.setLoginTimeout(), does not take effect and timeout value is Zero. ( According to oracle , Oracle JDBC does not support login timeouts and calling the static DriverManager.setLoginTimeout() method will have no effect).
    Firewall
    One thing to consider is when the firewall may decide to shut down the socket due to long inactivity of a connection. This will cause problems to JDBC Connection Pool because the pool is not aware of this disconnection at the TCP/IP level; until someone checks out the connection from the pool and tries to use it. The user will get a Socket read error: connection reset by peer.
    Jrun timeout paramter is less than the firewall�s timeout so the firewall will not close a connection before Jrun does.
    Number of processes the DB can handle
    Processes parameter is 1300, , they have not experienced the Oracle error msg �max # of processes reached�.
    Port redirection through a firewall:
    Since the firewall has a sql net proxy Port redirection through a firewall is not a problem. Problems with port redirection only appear at connect time, but in this situation the connections fail long after the connection is established.
    The network group
    The network people who investigaged the problem at Lindorff report that there are a significant amount of "dropped packages" between the database server and the jdbc client (web-application) 24 hrs. The reason for this is "unknown established TCP packet" which means that the firewall does not consider these packages to be part of an already established session. The network group believes this happen because one of the hosts send a RESET or FIN signal which the firewall have noticed but are not received by the other host.
    It seems like the firewall are dropping packages bacause of "Unknown
    established TCP packet" from both the JDBC client and the TNSLISTENER on the database server. The dropped packages are SQL*Net v2 traffic so clearly Oracle products are involved

    Presumably something is working.
    Thus the problem is not with your code. At least not the database part that you have control over.
    That error occurs when the other side closes the socket. Presumably you are catching lost connection exceptions and trying to restore it.

  • JDBC Connection reset by peer: JVM_recv in socket input stream read

    Hey Guys,
    Has anyone seen this issue? We get this error in our Weblogic app logs at times and no one is able to login to our application. Our database server and SQL server seem fine at a high level. Any ideas what is causing this?
    com.s1.arch.persistence.exception.PersistenceException weblogic.jdbc.mssqlserver4.TdsException: I/O exception while talking to the server, java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
    Thanks

    please make sure that there is no Firewall between your servers and DB server. this message usually happen when there is a fire wall between the servers. if yes please make sure that the connection time on fire wall is longer than the time needed to complete an operation another thing that you need to check if you have a fire wall which is to make sure that Oracle DBMS return the request to the same port that it is listening to (1521 default).

  • ERROR disp+work.exe WSAECONNRESET: Connection reset by peer

    Hi,
    I've a Netweaver 2004s installed on Windows 2003 Server and SQL Server. The name of the amchine is solution and the domain where it's on is grupotec.local, so when I start it from SAP MMC, the dispatcher appears with yellow colour. When I read the trace, an error appears:
    Wed Apr 16 18:10:18 2008
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4361]
    ERROR => NiIRead: SiRecv failed for hdl 4 / sock 1484
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1460) [nixxi.cpp    4361]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=4912)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    ***LOG Q0I=> NiPGetHostByName: hostname 'solution.gruposap.local' not found: gethostbyname (11004: WSANO_DATA: Valid name, no data record of requested type) [ninti.c 320]
    Wed Apr 16 18:10:19 2008
    MBUF state ACTIVE
    DpModState: change server state from STARTING to ACTIVE
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    Wed Apr 16 18:10:20 2008
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    Wed Apr 16 18:10:21 2008
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    Wed Apr 16 18:10:22 2008
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    Wed Apr 16 18:10:23 2008
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    WARNING => DpRqServiceQueue: timeout of HIGH PRIO msg, return DP_CANT_HANDLE_REQ
    The abap stack works fine, I'm able to logon and work with the system BUT the java stack doesn't work. I've looking for this error in SAP Notes page, SDN portal,... also I've revised:
    -file host, located C:\WINDOWS\system32\drivers\etc contains a line 192.168.100.42     solution.grupotec.local     SAPTRANSHOST and the last line of this file is in blank
       this machine was in domain         'solution.gruposap.local'   and now is in the domain solution.grupotec.local
    In order to solve it, I've chequed:
    -SQL Server 2003 is up and running
    -I've taken out and in the machine from the domain
    -I've turned off the machine in order it refresh the new domain(solution.grupotec.local )
    -Filesystem has enough free space
    -I've updated SAP Kernel
    Please could you help me?
    Thanks and regards

    Hi,
    full computer name:solution.grupotec.local
    domain:grupotec.local
    SID:SOL
    DBSID:SOLUTION
    number SOL instances:
          C:\usr\sap\SOL\DVEBMGS01
          C:\usr\sap\SOL\SCS00
    DEFAULT.PFL:
    j2ee/dbtype                                 mss
    j2ee/dbhost                                 SOLUTION
    j2ee/dbname                                 SOL
    SAPSYSTEMNAME                               SOL
    SAPGLOBALHOST                               SOLUTION
    j2ee/scs/host                               SOLUTION
    j2ee/scs/system                             00
    j2ee/ms/host                                SOLUTION
    j2ee/ms/port                                3900
    rdisp/bufrefmode                            sendoff,exeoff
    rdisp/mshost                                SOLUTION
    rdisp/msserv                                sapmsSOL
    rdisp/msserv_internal                       3901
    login/system_client                         001
    SAPDBHOST                                   SOLUTION
    dbms/type                                   mss
    dbs/mss/server                              SOLUTION
    dbs/mss/dbname                              SOL
    dbs/mss/schema                              sol
    About message server:
    in the file services(C:\WINDOWS\system32\drivers\etc):
    sapmsSOL     3601/tcp     # SAP System Messaging Service Port
    and when I type command netstat:
    C:\Documents and Settings\soladm.SOLUTION>netstat -a
    Active Connections
      Proto  Local Address          Foreign Address        State
      TCP    solution:epmap         solution.grupotec.local:0  LISTENING
      TCP    solution:microsoft-ds  solution.grupotec.local:0  LISTENING
      TCP    solution:1031          solution.grupotec.local:0  LISTENING
      TCP    solution:ms-sql-s      solution.grupotec.local:0  LISTENING
      TCP    solution:sapdp00       solution.grupotec.local:0  LISTENING
    TCP    solution:sapmsSOL      solution.grupotec.local:0  LISTENING
    TCP    solution:3901          solution.grupotec.local:0  LISTENING
    and log for message server, the file C:\usr\sap\SOL\DVEBMGS01\work\dev_ms:
    trc file: "dev_ms", trc level: 1, release: "700"
    [Thr 3528] Fri Apr 18 12:28:32 2008
    [Thr 3528] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    133
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        144
    [Thr 3528] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 144) [msxxserv.c   1824]
    [Thr 3528] load acl file = C:\usr\sap\SOL\SYS\global\ms_acl_info.DAT
    [Thr 3528] MsGetOwnIpAddr: my host addresses are :
    [Thr 3528]   1 : [192.168.100.42] solution.grupotec.local (HOSTNAME)
    [Thr 3528]   2 : [127.0.0.1] solution.grupotec.local (LOCALHOST)
    [Thr 3528] MsHttpInit: full qualified hostname = solution.grupotec.local
    [Thr 3528] HTTP logging is switch off
    [Thr 3528] set HTTP state to LISTEN
    [Thr 3528] MsHttpOwnDomain: own domain[1] = grupotec.local
    [Thr 3528] ms/icf_info_server : deleted
    [Thr 3528] *** I listen to port sapmsSOL (3601) ***
    [Thr 3528] *** I listen to internal port 3901 (3901) ***
    [Thr 3528] *** HTTP port 8101 state LISTEN ***
    [Thr 3528] CUSTOMER KEY: >M0059840091<
    [Thr 3528] Fri Apr 18 12:28:55 2008
    [Thr 3528] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/logon_groups (403 Forbidden)
    [Thr 3528] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/urlprefix (403 Forbidden)
    Edited by: Raul Aguilar on Apr 18, 2008 1:21 PM

  • Connection reset by peer issue

    Hello,
    Our application is occasionally getting messages like :
    weblogic java.net.SocketException: Connection reset by peer: JVM_recv
    in socket input stream read
    although it eventually recovers (we have the jdbc refreshTestMinutes
    set to 5). We are using Weblogic 5.1 Service Pack 12 and Jdk1.3.1_04
    connecting to SQL Server 2000 on another machine.
    After scratching our heads with what might be wrong with our
    application, we think it might be a network issue. Theres nothing in
    the SQL Server logs to indicate that there has been a problem on that
    side.
    Has anyone had this problem and resolved it, and if so how? Are we on
    the right track?
    Thanks,
    Caroline Sturtridge

    Thanks for those suggestions, we'll try them and see if they work.
    Strangely, I wrote a small program to keep a socket open between the
    two machines (completely separate from the main application) and we've
    not had a problem since...
    Z
    "Slava Imeshev" <[email protected]> wrote in message news:<[email protected]>...
    Hi Zeetha,
    "zeetha" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    Our application is occasionally getting messages like :
    weblogic java.net.SocketException: Connection reset by peer: JVM_recv
    in socket input stream read
    although it eventually recovers (we have the jdbc refreshTestMinutes
    set to 5). We are using Weblogic 5.1 Service Pack 12 and Jdk1.3.1_04
    connecting to SQL Server 2000 on another machine.
    After scratching our heads with what might be wrong with our
    application, we think it might be a network issue. Theres nothing in
    the SQL Server logs to indicate that there has been a problem on that
    side.
    Has anyone had this problem and resolved it, and if so how? Are we on
    the right track?It's definitely a network issue. I faced this kind of problem before.
    o You need to use test connections on reserve to true.
    o You need to talk to your network admin and find out
    if there are any firewalls/proxies between the app server
    and the database. They can be dropping connections
    after a period of incativity.
    o Ask the network admin to check error counters on the switch
    ports. Sometimes when the switch port is set to 100Mbit/Firm
    and other side use 100MBit/Auto, the parites can't negotiate
    speed and fall down to speed of 10th of kilobytes, having
    multiple errors etc. Cisco switches like doing this.
    Hope this helps.
    Regards,
    Slava Imeshev

  • Connection reset by peer: socket write error

    Anybody can help me?
    I run vdbench to test our NAS server, but it always failed with "
    Slave localhost-0 aborting: Error writing file Y:\dir11\vdb.1_2.dir\vdb.2_2.dir\vdb.3_1.dir\vdb.4_1.dir\vdb.5_2.dir\vdb.6_2.dir\vdb.7_1.dir\vdb.8_2.dir\vdb.9_2.dir\vdb.10_1.dir\vdb_f0001.file
    Error:         Windows System Error code: 64: ",  how to solve this fail ?
    conf file:
    fsd=fsd,anchor=Y:\dir,count=(11,15),depth=10,width=2,files=1,size=(10k,20,100k,20,160k,20,8m,20,10m,10,1g,5,2g,5)
    fwd=fwd1,fsd=(fsd11,fsd12,fsd13,fsd14,fsd15),rdpct=85,xfersize=(10k,22,100k,22,160k,22,8m,22,10m,12),fileio=random,fileselect=random,threads=5
    rd=rd1,fwd=fwd1,operations=read,fwdrate=max,format=yes,elapsed=10,interval=1
    logfile.html:
    14:22:49.510 Vdbench distribution: vdbench50401
    14:22:49.510
    14:22:49.526 input argument scanned: '-fcifs'
    14:22:49.526 java.vendor                   Sun Microsystems Inc.
    14:22:49.526 java.home                     C:\Program Files\Java\jre6
    14:22:49.526 java.vm.specification.version 1.0
    14:22:49.526 java.vm.version               16.3-b01
    14:22:49.526 java.vm.vendor                Sun Microsystems Inc.
    14:22:49.526 java.specification.version    1.6
    14:22:49.526 java.class.version            50.0
    14:22:49.526 user.name                     zcuser1002
    14:22:49.526 user.dir                      C:\Users\zcuser1002\Desktop\Y-vdbench-1021
    14:22:49.526 java.class.path               C:\Users\zcuser1002\Desktop\Y-vdbench-1021\;C:\Users\zcuser1002\Desktop\Y-vdbench-1021\classes;C:\Users\zcuser1002\Desktop\Y-vdbench-1021\vdbench.jar
    14:22:49.526 os.name                       Windows Server 2008 R2
    14:22:49.526 os.arch                       amd64
    14:22:49.526 os.version                    6.1
    14:22:49.526 sun.arch.data.model           64
    14:22:49.557 'fsd=fsd,count=(start,count)' added fsd11 Y:\dir11
    15:08:57.031       2704    0.0  0.00   0.9 4.42   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:08:58.030       2705  343.0 386.6   8.5 4.36   0.0    0.0  0.00  343.0 386.6  0.00 42.22  42.22  129071   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:08:59.031       2706   15.0 983.4   0.0 3.41   0.0    0.0  0.00   15.0 983.4  0.00  1.85   1.85  129160   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:09:51.406 localhost-0: anchor=Y:\dir15: Created 420 of 1024 files (41.02%)
    15:10:02.202       2707  12143 31.35   8.0 6.25   0.0    0.0  0.00  12143 31.35  0.00  1513 1513.9  130736   0.0  0.00   0.0  0.00  65.0 59795  65.0 202.8  67.0 44969   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.234       2708    0.0  0.00   8.6 8.40   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.249       2709    0.0  0.00  43.7 37.5   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00  27.0  4268   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.265       2710    0.0  0.00   0.0 0.00   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.296       2711    0.0  0.00 100.0 81.2   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.312       2712    0.0  0.00   0.0 0.00   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.312 localhost-0: 15:10:02.218 op: write  lun: Y:\dir11\vdb.1_2.dir\vdb.2_2.dir\vdb.3_1.dir\vdb.4_1.dir\vdb.5_2.dir\vdb.6_2.dir\vdb.7_1.dir\vdb.8_2.dir\vdb.9_2.dir\vdb.10_1.dir\vdb_f0001.file lba:   1484652544 0x587E0000 xfer:   131072 errno: Windows System Error code: 64: ??¡§????????????
    15:10:02.327 localhost-0: 15:10:02.234 op: write  lun: Y:\dir14\vdb.1_2.dir\vdb.2_2.dir\vdb.3_1.dir\vdb.4_1.dir\vdb.5_2.dir\vdb.6_2.dir\vdb.7_1.dir\vdb.8_2.dir\vdb.9_2.dir\vdb.10_1.dir\vdb_f0001.file lba:   1971847168 0x75880000 xfer:   131072 errno: Windows System Error code: 64: ??¡§????????????
    15:10:02.343       2713    0.0  0.00 100.0 74.9   0.0    0.0  0.00    0.0  0.00  0.00  0.00   0.00       0   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00   0.0  0.00
    15:10:02.343
    15:10:02.343 **********************************************************
    15:10:02.343 Slave localhost-0 aborting: Error writing file Y:\dir11\vdb.1_2.dir\vdb.2_2.dir\vdb.3_1.dir\vdb.4_1.dir\vdb.5_2.dir\vdb.6_2.dir\vdb.7_1.dir\vdb.8_2.dir\vdb.9_2.dir\vdb.10_1.dir\vdb_f0001.file
    Error:         Windows System Error code: 64: ??¡§????????????
    lba:           1484652544
    xfersize:      131072
    blocks_done:   11327
    bytes_done:    1484652544
    open_for_read: false
    15:10:02.343 **********************************************************
    15:10:02.343
    15:10:18.013 Exception from slave: localhost-0
    15:10:18.013
    15:10:18.013 common.failure():
      java.net.SocketException: Connection reset by peer: socket write error
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown Source)
    at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(Unknown Source)
    at java.io.ObjectOutputStream.reset(Unknown Source)
    at Vdb.SlaveSocket.putMessage(SlaveSocket.java:277)
    at Vdb.CollectSlaveStats.<init>(CollectSlaveStats.java:121)
    at Vdb.Reporter.run(Reporter.java:183)
    localhost-0.stdout.html:
    stdout/stderr for slave=localhost-0
    14:22:50.072 14:22:50.072 SlaveJvm execution parameter:  '-m localhost'
    14:22:50.072 14:22:50.072 SlaveJvm execution parameter:  '-n localhost-10-141104-14.22.49.432'
    14:22:50.072 14:22:50.072 SlaveJvm execution parameter:  '-l localhost-0'
    14:22:50.072 14:22:50.072 SlaveJvm execution parameter:  '-p 5570'
    14:22:50.072 14:22:50.072 SlaveJvm positional parameter: 'SlaveJvm'
    14:22:50.118 14:22:50.118 successfully connected to master localhost
    14:22:50.118 14:22:50.118 Connection to localhost using port 5570 successful
    14:22:50.571 14:22:50.571 execute(): ls -l Y:\dir11
    14:22:50.618 14:22:50.618 execute(): ls -l Y:\dir12
    14:22:50.633 14:22:50.633 execute(): ls -l Y:\dir13
    14:22:50.664 14:22:50.664 execute(): ls -l Y:\dir14
    14:22:50.680 14:22:50.680 execute(): ls -l Y:\dir15
    14:22:50.711 14:22:50.711 Configuration interpretation took 0.45 seconds
    Link to Run Definitions:         <A HREF="#_225912260">format_for_rd1 For loops: None</A>
                                     <A HREF="#_156265924">rd1 For loops: None</A>
    14:22:50.852 14:22:50.852 Beginning of run setup
    14:22:50.852 14:22:50.852 **********************
    14:22:50.852
    14:22:50.852
    14:22:51.538 14:22:51.538 Completed the creation of the directory list for Y:\dir11: 2046 directories.
    14:22:56.811 14:22:56.811 Memory total Java heap:   77.438 MB; Free:   32.782 MB; Used:   44.655 MB;
    14:22:56.874 14:22:56.874 checkMemory()
    14:22:56.874 14:22:56.874 Memory total Java heap:   77.438 MB; Free:   52.364 MB; Used:   25.074 MB;
    14:23:03.426 14:23:03.426 Generated     1024 file names; total anchor size: 130.841g
    14:23:03.426 14:23:03.426 Writing control file for anchor=Y:\dir11 at start of run.
    14:23:03.457 14:23:03.441 Completed control file for anchor=Y:\dir11 at start of run.  dirs: 2046/2046 files: 1024/88 sizes: 130.841g/8.721g/0/0.0
    14:23:03.457 14:23:03.441 During anchor creation for anchor=Y:\dir11 there were 2046 directories and 88 files
    14:23:03.551 14:23:03.551 Completed the creation of the directory list for Y:\dir12: 2046 directories.
    14:23:08.902 14:23:08.902 Memory total Java heap:   77.438 MB; Free:   24.149 MB; Used:   53.288 MB;
    14:23:08.964 14:23:08.964 checkMemory()
    14:23:08.964 14:23:08.964 Memory total Java heap:   77.438 MB; Free:   50.640 MB; Used:   26.798 MB;
    14:23:15.579 14:23:15.579 Generated     1024 file names; total anchor size: 130.841g
    14:23:15.579 14:23:15.579 Writing control file for anchor=Y:\dir12 at start of run.
    14:23:15.594 14:23:15.594 Completed control file for anchor=Y:\dir12 at start of run.  dirs: 2046/2046 files: 1024/74 sizes: 130.841g/7.092g/0/0.0
    14:23:15.594 14:23:15.594 During anchor creation for anchor=Y:\dir12 there were 2046 directories and 74 files
    14:23:15.688 14:23:15.688 Completed the creation of the directory list for Y:\dir13: 2046 directories.
    14:23:21.210 14:23:21.210 Memory total Java heap:   74.688 MB; Free:   19.725 MB; Used:   54.963 MB;
    14:23:21.273 14:23:21.273 checkMemory()
    14:23:21.273 14:23:21.273 Memory total Java heap:   76.562 MB; Free:   48.176 MB; Used:   28.386 MB;
    14:23:28.168 14:23:28.168 Generated     1024 file names; total anchor size: 130.841g
    14:23:28.168 14:23:28.168 Writing control file for anchor=Y:\dir13 at start of run.
    14:23:28.184 14:23:28.184 Completed control file for anchor=Y:\dir13 at start of run.  dirs: 2046/2046 files: 1024/84 sizes: 130.841g/8.886g/0/0.0
    14:23:28.184 14:23:28.184 During anchor creation for anchor=Y:\dir13 there were 2046 directories and 84 files
    14:23:28.262 14:23:28.262 Completed the creation of the directory list for Y:\dir14: 2046 directories.
    14:23:33.785 14:23:33.785 Memory total Java heap:   74.250 MB; Free:   17.213 MB; Used:   57.037 MB;
    14:23:33.863 14:23:33.863 checkMemory()
    14:23:33.863 14:23:33.863 Memory total Java heap:   72.812 MB; Free:   42.829 MB; Used:   29.983 MB;
    14:23:40.976 14:23:40.976 Generated     1024 file names; total anchor size: 130.841g
    14:23:40.976 14:23:40.976 Writing control file for anchor=Y:\dir14 at start of run.
    14:23:40.976 14:23:40.976 Completed control file for anchor=Y:\dir14 at start of run.  dirs: 2046/2046 files: 1024/87 sizes: 130.841g/8.778g/0/0.0
    14:23:40.976 14:23:40.976 During anchor creation for anchor=Y:\dir14 there were 2046 directories and 87 files
    14:23:41.054 14:23:41.054 Completed the creation of the directory list for Y:\dir15: 2046 directories.
    14:23:46.296 14:23:46.296 Memory total Java heap:   74.062 MB; Free:   42.390 MB; Used:   31.672 MB;
    14:23:46.374 14:23:46.374 checkMemory()
    14:23:46.374 14:23:46.374 Memory total Java heap:  101.000 MB; Free:   68.809 MB; Used:   32.191 MB;
    14:23:52.958 14:23:52.958 Generated     1024 file names; total anchor size: 130.841g
    14:23:52.958 14:23:52.958 Writing control file for anchor=Y:\dir15 at start of run.
    14:23:52.989 14:23:52.973 Completed control file for anchor=Y:\dir15 at start of run.  dirs: 2046/2046 files: 1024/96 sizes: 130.841g/8.995g/0/0.0
    14:23:52.989 14:23:52.973 During anchor creation for anchor=Y:\dir15 there were 2046 directories and 96 files
    14:23:52.989 14:23:52.973 Skew for fwd=format,fsd=fsd11,operation=read:    20.0
    14:23:52.989 14:23:52.973 Skew for fwd=format,fsd=fsd12,operation=read:    20.0
    14:23:52.989 14:23:52.973 Skew for fwd=format,fsd=fsd13,operation=read:    20.0
    14:23:52.989 14:23:52.973 Skew for fwd=format,fsd=fsd14,operation=read:    20.0
    14:23:52.989 14:23:52.973 Skew for fwd=format,fsd=fsd15,operation=read:    20.0
    14:23:53.051 14:23:53.051 Started 8 threads for fwd=format,fsd=fsd11
    14:23:53.114 14:23:53.114 Started 8 threads for fwd=format,fsd=fsd12
    14:23:53.161 14:23:53.161 Started 8 threads for fwd=format,fsd=fsd13
    14:23:53.207 14:23:53.207 Started 8 threads for fwd=format,fsd=fsd14
    14:23:53.270 14:23:53.270 Started 8 threads for fwd=format,fsd=fsd15
    14:23:53.270 14:23:53.270 Started 40 FwgThreads
    14:23:53.270 14:23:53.270 Waiting for task synchronization
    14:23:53.270 14:23:53.270 task_wait_start_complete() end
    <a name="_225912260"></a><i><b>14:23:53.971 Starting RD=format_for_rd1</b></i>
    14:23:54.002 14:23:54.002 task_run_all(): 41 tasks
    14:23:54.051 14:23:54.051 Message to master: anchor=Y:\dir15 mkdir complete.
    14:23:54.051 14:23:54.051 Message to master: anchor=Y:\dir11 mkdir complete.
    14:23:54.051 14:23:54.051 Message to master: anchor=Y:\dir13 mkdir complete.
    14:23:54.066 14:23:54.066 Message to master: anchor=Y:\dir14 mkdir complete.
    14:23:54.066 14:23:54.066 Message to master: anchor=Y:\dir12 mkdir complete.
    14:24:24.685 14:24:24.685 Message to master: anchor=Y:\dir14: Created 130 of 1024 files (12.70%)
    14:24:56.311 14:24:56.311 Message to master: anchor=Y:\dir12: Created 130 of 1024 files (12.70%)
    14:25:40.473 14:25:40.464 Message to master: anchor=Y:\dir13: Created 140 of 1024 files (13.67%)
    14:32:52.125 14:32:52.125 Message to master: anchor=Y:\dir12: Created 140 of 1024 files (13.67%)
    14:33:30.374 14:33:30.374 Message to master: anchor=Y:\dir12: Created 160 of 1024 files (15.63%)
    14:34:33.842 14:34:33.842 Message to master: anchor=Y:\dir14: Created 170 of 1024 files (16.60%)
    14:35:49.810 14:35:49.810 Message to master: anchor=Y:\dir14: Created 180 of 1024 files (17.58%)
    14:36:34.451 14:36:34.451 Message to master: anchor=Y:\dir14: Created 190 of 1024 files (18.55%)
    14:38:13.437 14:38:13.437 Message to master: anchor=Y:\dir14: Created 200 of 1024 files (19.53%)
    14:39:01.966 14:39:01.966 Message to master: anchor=Y:\dir11: Created 210 of 1024 files (20.51%)
    14:39:57.837 14:39:57.837 Message to master: anchor=Y:\dir15: Created 220 of 1024 files (21.48%)
    14:41:51.763 14:41:51.763 Message to master: anchor=Y:\dir13: Created 220 of 1024 files (21.48%)
    14:42:31.156 14:42:31.156 Message to master: anchor=Y:\dir14: Created 240 of 1024 files (23.44%)
    14:45:32.607 14:45:32.607 Message to master: anchor=Y:\dir15: Created 260 of 1024 files (25.39%)
    14:46:44.611 14:46:44.611 Message to master: anchor=Y:\dir11: Created 270 of 1024 files (26.37%)
    14:47:53.707 14:47:53.707 Message to master: anchor=Y:\dir14: Created 280 of 1024 files (27.34%)
    14:48:25.032 14:48:25.032 Message to master: anchor=Y:\dir12: Created 280 of 1024 files (27.34%)
    14:48:56.946 14:48:56.946 Message to master: anchor=Y:\dir13: Created 290 of 1024 files (28.32%)
    14:50:40.869 14:50:40.868 Message to master: anchor=Y:\dir11: Created 300 of 1024 files (29.30%)
    14:51:22.062 14:51:22.062 Message to master: anchor=Y:\dir15: Created 330 of 1024 files (32.23%)
    14:53:55.390 14:53:55.390 Message to master: anchor=Y:\dir14: Created 350 of 1024 files (34.18%)
    14:56:20.897 14:56:20.897 Message to master: anchor=Y:\dir14: Created 360 of 1024 files (35.16%)
    14:58:08.513 14:58:08.513 Message to master: anchor=Y:\dir11: Created 360 of 1024 files (35.16%)
    14:59:34.933 14:59:34.933 Message to master: anchor=Y:\dir12: Created 360 of 1024 files (35.16%)
    15:02:15.234 15:02:15.234 Message to master: anchor=Y:\dir13: Created 370 of 1024 files (36.13%)
    15:02:48.482 15:02:48.482 Message to master: anchor=Y:\dir14: Created 380 of 1024 files (37.11%)
    15:04:27.359 15:04:27.359 Message to master: anchor=Y:\dir13: Created 380 of 1024 files (37.11%)
    15:05:57.406 15:05:57.406 Message to master: anchor=Y:\dir15: Created 390 of 1024 files (38.09%)
    15:07:18.982 15:07:18.982 Message to master: anchor=Y:\dir11: Created 390 of 1024 files (38.09%)
    15:08:15.419 15:08:15.419 Message to master: anchor=Y:\dir11: Created 410 of 1024 files (40.04%)
    15:08:50.624 15:08:50.624 Message to master: anchor=Y:\dir13: Created 410 of 1024 files (40.04%)
    15:09:51.406 15:09:51.406 Message to master: anchor=Y:\dir15: Created 420 of 1024 files (41.02%)
    15:10:02.202 15:10:02.202 file_write error2: 64
    15:10:02.202 15:10:02.202 file_write error2: 64
    15:10:02.202 15:10:02.202 handle: 0000000000000B38
    15:10:02.202 15:10:02.202 seek:   0000000075880000
    15:10:02.202 15:10:02.202 handle: 0000000000000BC0
    15:10:02.202 15:10:02.202 length: 0000000000020000
    15:10:02.202 15:10:02.202 seek:   00000000587E0000
    15:10:02.202 15:10:02.202 buffer: 0000000034430000
    15:10:02.202 15:10:02.202 length: 0000000000020000
    15:10:02.202 15:10:02.202 buffer: 000000002E3E0000
    15:10:02.234 15:10:02.234
    15:10:02.234 15:10:02.234 Error writing file Y:\dir11\vdb.1_2.dir\vdb.2_2.dir\vdb.3_1.dir\vdb.4_1.dir\vdb.5_2.dir\vdb.6_2.dir\vdb.7_1.dir\vdb.8_2.dir\vdb.9_2.dir\vdb.10_1.dir\vdb_f0001.file
    15:10:02.234 15:10:02.234 Error:         Windows System Error code: 64: ??¡§????????????
    15:10:02.234 15:10:02.234 lba:           1484652544
    15:10:02.234 15:10:02.234 xfersize:      131072
    15:10:02.234 15:10:02.234 blocks_done:   11327
    15:10:02.234 15:10:02.234 bytes_done:    1484652544
    15:10:02.234 15:10:02.234 open_for_read: false
    15:10:02.234 15:10:02.234
    15:10:02.234 java.lang.RuntimeException: Error writing file Y:\dir11\vdb.1_2.dir\vdb.2_2.dir\vdb.3_1.dir\vdb.4_1.dir\vdb.5_2.dir\vdb.6_2.dir\vdb.7_1.dir\vdb.8_2.dir\vdb.9_2.dir\vdb.10_1.dir\vdb_f0001.file
    15:10:02.234 Error:         Windows System Error code: 64: ??¡§????????????
    15:10:02.234 lba:           1484652544
    15:10:02.234 xfersize:      131072
    15:10:02.234 blocks_done:   11327
    15:10:02.234 bytes_done:    1484652544
    15:10:02.234 open_for_read: false
    15:10:02.234  at Vdb.common.failure(common.java:308)
    15:10:02.234  at Vdb.ActiveFile.writeError(ActiveFile.java:611)
    15:10:02.234  at Vdb.ActiveFile.writeBlock(ActiveFile.java:458)
    15:10:02.234  at Vdb.FwgThread.doSequentialWrite(FwgThread.java:327)
    15:10:02.234  at Vdb.OpCreate.doOperation(OpCreate.java:51)
    15:10:02.234  at Vdb.OpFormat.doOperation(OpFormat.java:91)
    15:10:02.234  at Vdb.FwgThread.run(FwgThread.java:157)

    'Socket write error' is merely the master finding out that the slave aborted unexpectedly.
    It it the '64' you have to worry about.
    Windows system error code 64:
    (It appears that the Vdbench translation from number to text may have some language issues and therefore can not properly print it).
    ERROR_NETNAME_DELETED
    64 (0x40)
    The specified network name is no longer available.

  • Connection Reset By Peer & IIS5

    Hi All;
    I developed a java stress test application using sockets.
    Currently, I am trying to stress test a IIS5/Weblogic5.1 installation,
    but IIS5 is terminating my socket prior to me being able to read all
    of it.
    I get about halfway through the response, and then IIS decides to
    reset the connection.
    In Windows, I get the JVM_recv error, and in unix (linux & solaris)
    I get just the standard connection reset by peer error.
    I tried jvm 1.2.2, 1.3.1_01, and even 1.4... no change.
    When reading the data from the response, IIS resets the socket
    intermittantly
    (See // ### lines below).
    Does anyone know why IIS is doing this? Are my sockets reading too
    slow?
    Is it a MS Conspiracy? Why does a browser doing the exact same
    transactions work fine,
    yet, when using java sockets, IIS does not like it. I have used this
    stress test
    app on UNIX equipment and I never had problems... but when it comes to
    talking to IIS on
    port 80, things don't work.
    Any insight would be appreciated.
    This problem has stumped me for months. Sincerely,
    [email protected]
    Wanna play chess using Java and HTML?
    http://www.paulrowe.com/chess.html
    package com.tivo.framework.util.http;
    import java.net.*;
    import java.io.*;
    import com.tivo.framework.config.*;
    import com.tivo.framework.log.*;
    import com.tivo.framework.types.*;
    import com.tivo.framework.types.http.*;
    import com.tivo.framework.util.*;
    import com.tivo.framework.util.string.*;
    public abstract class HttpCommunicator
    private static final String
    className="com.tivo.framework.util.http.HttpCommunicator";
         private static final boolean
    printOutbound=StringUtil.booleanValue(Config.get("tivo.framework.http.print.outbound"));
         private static final boolean
    printInbound=StringUtil.booleanValue(Config.get("tivo.framework.http.print.inbound"));
         private static int socketTimeoutTime=0;
         static
         try
    socketTimeoutTime=Integer.parseInt(Config.get("tivo.framework.http.socketTimeoutTime"));
              catch (Exception e)
              Log.putMessage(className+".static: illegal
    \"tivo.framework.http.socketTimeoutTime\" setting in properties");
         public static void main(String[] args) throws Exception
              HttpRequest request=new HttpRequest(args[0],
                        Integer.parseInt(args[1]),
                                                           args[2]);
              HttpResponse response=getResponse(request);
              System.out.println(response.getResponseHeaders().getHeaderString());
              System.out.println();
              System.out.println(response);
    System.out.println("response.getElapsedTime() =
    "+response.getElapsedTime());
              System.out.println("response.getContentLength() =
    "+response.getContentLength());
              System.out.println("response.getResponse() =
    "+response.getResponse());
    //          hexDump.dump(response.getResponse(),System.out,false);
    public static HttpResponse getResponse(HttpRequest in)
         throws IOException, UnknownHostException
              String myName=className+".getResponse(): ";
              Log.putFrameworkDebug(myName+"ENTRY w/ "+in);
    String request=in.getRequest();
              HttpResponse hout=null;
              HttpResponseHeaders headers=null;
              Socket socket=null;
              OutputStream output=null;
              BufferedOutputStream bufferedOutput=null;
              PrintStream out=null;
              InputStream input=null;
              BufferedInputStream bufferedInput=null;
              ByteArrayOutputStream baos=null;
              PrintStream inboundOut=null;
              long start=System.currentTimeMillis();
              int repeatCount=0;
              if (printOutbound)
                   System.out.println("
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                   System.out.println(" >>>>>>>> OUTBOUND HttpRequest
    ");               System.out.println("
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                   System.out.println(request);
                   System.out.println("
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
                   System.out.println(" >>>>>>>> OUTBOUND HttpRequest
    ");               System.out.println("
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
              try
              socket=new Socket(in.getHost(),in.getPort());
    socket.setSoTimeout(socketTimeoutTime); // socketTimeout);
                   socket.setTcpNoDelay(true);
                   socket.setReceiveBufferSize(16384);
                   socket.setSoLinger(true,10000);
                   socket.setKeepAlive(true);
                   socket.setSoTimeout(60000);
                   socket.setTcpNoDelay(false);
         System.out.println("socket="+socket);
                   System.out.println("socket.getInetAddress() =
    "+socket.getInetAddress());
    System.out.println("socket.getKeepAlive() =
    "+socket.getKeepAlive());
    System.out.println("socket.getLocalAddress() =
    "+socket.getLocalAddress());
    System.out.println("socket.getLocalPort() =
    "+socket.getLocalPort());
    System.out.println("socket.getPort() =
    "+socket.getPort());
    System.out.println("socket.getReceiveBufferSize() =
    "+socket.getReceiveBufferSize());
    System.out.println("socket.getSendBufferSize() =
    "+socket.getSendBufferSize());
    System.out.println("socket.getSoLinger() =
    "+socket.getSoLinger());
    System.out.println("socket.getSoTimeout() =
    "+socket.getSoTimeout());
    System.out.println("socket.getTcpNoDelay() =
    "+socket.getTcpNoDelay());
              output=socket.getOutputStream();
                   bufferedOutput=new BufferedOutputStream(output);
                   input=socket.getInputStream();
              out=new PrintStream(bufferedOutput);
         out.println(request);
                   out.flush();
                   bufferedOutput.flush();
                   output.flush();
                   boolean streamDone=false;
                   // read headers
    do               
                        baos=new ByteArrayOutputStream();
                        inboundOut=new PrintStream(baos);     
         boolean headerDone=false;
                        boolean lastcr=false;
                        boolean headerStart=true;
                        int lastch1=-1;
                        int lastch2=-1;
                        int lastch3=-1;
                        int lastch4=-1;
                        StringBuffer sb=new StringBuffer();
                        while (!headerDone)
                        int ch=input.read();
                             if (ch==-1)
                                  headerDone=true;
                                  streamDone=true;
                             else
                             if (ch==13 || ch==10)
                                       if (!lastcr && !headerStart)
                                       inboundOut.println(sb.toString());
                                            sb=new StringBuffer();
                                            lastcr=true;
                                  else
                                  sb.append((char)ch);
                                       lastcr=false;
                                       headerStart=false;
                             lastch4=lastch3;
                             lastch3=lastch2;
                             lastch2=lastch1;
                             lastch1=ch;
                             if (!headerStart)
                                  if ( (lastch1 == 13 && lastch2 == 13)
                                  || (lastch1 == 10 && lastch2 == 10)
                                       || (lastch1 == 13 && lastch2 == 10 && lastch3 == 13 && lastch4
    == 10)
                                       || (lastch1 == 10 && lastch2 == 13 && lastch3 == 10 && lastch4
    == 13)
                                  headerDone=true;
                        inboundOut.close();
                   inboundOut = null;
                        headers=new HttpResponseHeaders(baos.toString());
                        Log.putFrameworkDebug(myName+" headers="+headers
                        +" headers.getResultCode()="+headers.getResultCode());
                   while (headers.getResultCode()==100);
                   // read message appropriately.
                   if (!streamDone)
                        int contentLength=headers.getContentLength();
                        int byteCount=0;
                        baos=new ByteArrayOutputStream();
                        if (contentLength==-1)
                             bufferedInput = new BufferedInputStream(input);
                             while (true)
                             int ch=bufferedInput.read(); // ### SOCKET GETS DROPPED
    HERE!
                             if (ch!=-1)
                                  byteCount++;
                                  baos.write(ch);
                             else
                             break;     
                        else
                        byte[] buffer=new byte[contentLength];
                        while (byteCount<contentLength)
                                  int bytesRead=input.read(buffer); // ### SOCKET GETS DROPPED
    HERE!
                                  baos.write(buffer,0,bytesRead);
                                  byteCount+=bytesRead;
                        hout=new HttpResponse(baos.toString(),headers);
                        hout.setElapsedTime(System.currentTimeMillis()-start);
              catch (IOException e)
                   System.out.println(myName+"EXCEPTION: "+e);
                   e.printStackTrace();
                   throw e;
              finally
                   try
                        inboundOut.close();
                   catch (Exception e)
              try
                   out.close();
                   catch (Exception e)
                   try
                        bufferedOutput.close();
                   catch (Exception e)
                   try
                        output.close();
                   catch (Exception e)
    try
                        bufferedInput.close();
                   catch (Exception e)
                   try
                        input.close();
                   catch (Exception e)
                   try
                        socket.close();
                   catch (Exception e)
              if (printInbound)
                   System.out.println("
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
                   System.out.println(" <<<<<<<< INBOUND HttpResponse
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ");
                   System.out.println("
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              System.out.println("hout.getResponseHeaders().getHeaderString()
    = ");
              System.out.println(hout.getResponseHeaders().getHeaderString());
                   System.out.println();
                   System.out.println("hout.getResponse() = ");
                   System.out.println(hout.getResponse());
                   System.out.println("
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
                   System.out.println(" <<<<<<<< INBOUND HttpResponse
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ");
                   System.out.println("
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              Log.putFrameworkDebug(myName+"EXIT w/ "+hout);
              return hout;

    Assuming your network is working for other activities, and it's just the Mac App Store that's failing...
    Try restarting the download within the Mac App Store. 
    Failing that, restart Mac App Store and try restarting the download again.
    Then failing all that, I'd close Mac App Store, reboot the system, and open and try the Mac App Store download again. 
    Here are some details on the Mac App Store (including how to cancel and restart downloads), and here are the App Store Troubleshooting suggestions from Apple.

  • TCP Connection Reset by Peer

    Hi All,
    We are using Oracle Version 8.1.5. We needed to send some data from a stored procedure to a TCP port and get the response back synchronously. We are using the package utl_tcp for doing this. Since in our case the data returned is quiet big, we are storing it in a Clob, but since utl_tcp.Get methods return varchar, We go into a loop and catch the return data in chunks in a varchar variable and then append them to a Clob.
    It is working right for services returning not that big amount of data, but for one service it gives the Connection reset by peer error each time when the data receiving loop is in its 4th iteration. We are receving the data using the utl_tcp.Get_Text() method.
    The server that is sending the data has no problem since all this is working right in Oracle 9i. I also saw there is no tx_timeout parameter in the utl_tcp.Open_Connection() method of the Oracle version we are using. I guess this might be a connection time out thing on the Oracle end, which is forcing connection to be ended after a specific period of time, but how can we increase that in our version of Oracle? or is that a problem with something else, Please Help!
    Regards
    Sajid

    Hi All,
    We are using Oracle Version 8.1.5. We needed to send some data from a stored procedure to a TCP port and get the response back synchronously. We are using the package utl_tcp for doing this. Since in our case the data returned is quiet big, we are storing it in a Clob, but since utl_tcp.Get methods return varchar, We go into a loop and catch the return data in chunks in a varchar variable and then append them to a Clob.
    It is working right for services returning not that big amount of data, but for one service it gives the Connection reset by peer error each time when the data receiving loop is in its 4th iteration. We are receving the data using the utl_tcp.Get_Text() method.
    The server that is sending the data has no problem since all this is working right in Oracle 9i. I also saw there is no tx_timeout parameter in the utl_tcp.Open_Connection() method of the Oracle version we are using. I guess this might be a connection time out thing on the Oracle end, which is forcing connection to be ended after a specific period of time, but how can we increase that in our version of Oracle? or is that a problem with something else, Please Help!
    Regards
    Sajid

  • Failing to upload a file on storage account with "[Errno 104] Connection reset by peer" message.

    Hi All
    I am trying to upload a file (5GB) to storage account using put page blob api of azure python sdk.
    example-  blob_service.put_page_blob_from_path('container', 'windows.vhd', '/mnt/23/Windows.vhd').
    But after sometime connection gets reset, i am getting same error in other regions as well. Following is the connection reset log-
    >> blob_service.put_page_blob_from_path('container', 'windows.vhd', '/mnt/snapshotted_images/23/Windows7-flat.vhd')
    *** error: [Errno 104] Connection reset by peer
    Thanks,
    Vaibhav Kale

    Hello Vaibhav,
    Directly uploading a 5GB file may last long time due to client network, then in that time period, if certain network latency or exception happens, then the upload action will be impacted.
    To overcome this type of issue, you can consider to apply existing tool to upload vhd: azcopy
    http://azure.microsoft.com/en-us/documentation/articles/storage-use-azcopy/
    http://blogs.msdn.com/b/windowsazurestorage/archive/2012/12/03/azcopy-uploading-downloading-files-for-windows-azure-blobs.aspx
    you can either start the tool by your python code to upload the target vhd file or manually run azcopy command to upload(if this uploading happens very rarely to you).
    in azcopy, as the tutorial, there is option for you to specify the target blob to be page blob:
    /BlobType:<block | page>
    Specifies whether the destination blob is a block blob or a page blob. This option is applicable only when uploading blob; otherwise, an error is generated. If the destination is a blob and this option is not specified, then by default AzCopy will create
    a block blob.
    hopes this helps in your project.
    In addition, I tested the python sdk here
    https://github.com/Azure/azure-sdk-for-python, as it described, the function for create page blobs (from a stream, a file, or a string) worked for me. could you also try to reload this sdk and test?
    let me know if there is any question.
    Jian Wu

  • [SOLVED] sshfs: Connection reset by peer

    I am trying to use sshfs (to replace nfs) so I can access my music and my vids across my network (music and vids are on "marbles", I want to access them on "toaster").
    Now, if on toaster, I do "ssh chris@marbles", it works fine.  I can "scp" across the network fine as well.
    If, however, I do "sshfs chris@marbles:/mnt/music-vids/ ~/marbles/", I get the error:
    read: Connection reset by peer
    Going through the logs on marbles, all I get is this:
    Dec 7 15:34:33 marbles sshd[5905]: Accepted publickey for chris from 192.168.0.3 port 44030 ssh2
    Dec 7 15:34:33 marbles sshd(pam_unix)[5907]: session opened for user chris by (uid=0)
    Dec 7 15:34:33 marbles sshd[5907]: subsystem request for sftp
    Dec 7 15:34:33 marbles sshd(pam_unix)[5907]: session closed for user chris
    Which means nothing to me really.
    Anyone got any ideas?
    Cheers.

    Turns out I had:
    Subsystem sftp /usr/lib64/misc/sftp-server
    Must have been from when I had Gentoo amd64 installed.. I just blindly copied the configs over, doh!  Fixed and it all works now
    Cheers

  • [Solved] sshfs - read: Connection reset by peer

    I've used this command to try testing a remote file sharing system, just locally.
    [dalesalter@Archy ~]$ sudo sshfs [email protected]:~/Desktop/Test/ ~/Desktop/Test1/ -C -p 99
    which results in...
    read: Connection reset by peer
    I've read the trouble shooting page here: https://wiki.archlinux.org/index.php/Sshfs
    Although none of it seems to resolve anything
    Thanks in advance and feel free to ask any questions, as what I did was probably a stupid mistake.
    Last edited by Compulsed (2011-09-30 07:21:06)

    A few things, though I'm not sure they're the cause of the problem...
    - Don't use sshfs as root. It's a FUSE filesystem and meant to be user mounted.
    - Don't specify a full path as the remote FS. It's SSH, so by default, the $PWD on the remote side is the login user's $HOME. You can merely specify 192.168.1.101:Desktop/Test
    Rule of thumb: if ssh works, sshfs will work. The easiest way is to make sure that ~/.ssh/config has an entry for the remote host with the user, port, etc provided.

Maybe you are looking for