Jump to content

Getting Disconnect after downloading for a while (WSAECONNRESET)


  • Please log in to reply
1 reply to this topic

#1 CBProductions



  • Members
  • Pip
  • 1 posts

Posted 01 March 2018 - 11:48 AM


I am having trouble with one client downloading with P4V (or P4 command line). It keeps disconnecting after a while. The server is located in Germany and the client located in US. Client from Germany can download without problems.

I did set up a proxy in the US on AWS, however, that didn't help.

Server log looks like this:


Perforce server info:
  2018/02/26 18:25:07 pid 3752 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-client -o ee_DESKTOP-BF6S1MM_8203'
Perforce server info:
  2018/02/26 18:25:07 pid 3548 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-changes -s pending -l -m 100 -u ee -c ee_DESKTOP-BF6S1MM_8203'
Perforce server info:
  2018/02/26 18:25:07 pid 4928 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-depots'
Perforce server info:
  2018/02/26 18:25:07 pid 4268 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-dirs //depot/* //depot/Project/*'
Perforce server info:
  2018/02/26 18:25:13 pid 3816 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-fstat -Olhp -Dl -F ^headAction=delete & ^headAction=move/delete //depot/* //depot/Project/*'
Perforce server info:
  2018/02/26 18:25:14 pid 3676 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-fstat -Olhp h:\My Work\OutSource Projects\CB Productions\Project\Project\Primordial.uproject'
Perforce server info:
  2018/02/26 18:25:41 pid 3752 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-change -o'
Perforce server info:
  2018/02/26 18:26:20 pid 3804 completed 161s
Perforce server info:
  2018/02/26 18:23:39 pid 3804 myuser@myuser_DESKTOP-BE5S1NM_8003 [P4V/NTX64/2017.3/1601999/v83] 'user-sync //depot/...#head'
--- lapse 161s
--- rpc msgs/size in+out 8+2205/0mb+8mb himarks 523588/523588 snd/rcv 161s/.422s
--- rpc send receive errors, duplexing F/R 26/0

Perforce server error:
  Date 2018/02/26 18:26:20:
  Pid 3804
  Connection from broken.
  TCP send failed.
  write: socket: WSAECONNRESET

When running "netstat" on the server I can see that the state of the connection changes from "Established" to "Time Waiting" when the client gets disconnected.

Ping/Tracert from client to servers works fine.

I tried every solution that was described here:


But none of those helped.

What can I do to make this work?

Server version: P4D/NTX64/2017.2/1579154 (2017/10/12)
P4V version: Helix Visual Client/NTX64/2017.2/1518788

#2 p4rfong


    Advanced Member

  • Staff Moderators
  • 294 posts

Posted 09 March 2018 - 09:18 PM

Try "p4 -v net.maxwait=60 sync //..." from the command prompt

And try parallel sync

If all else fails, write a batch script to sync only a portion of files at at time.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users