Search Unity

Resolved Error - Plastic SCM 'The socket has been shut down'

Discussion in 'Unity Version Control' started by v_James_v, Apr 19, 2022.

  1. v_James_v

    v_James_v

    Joined:
    Feb 13, 2016
    Posts:
    40
    Hi guys,
    Been trying to submit changes yesterday and today with error popping up shortly after running checkin.
    Tried restarting Hub, Unity and Mac ending up with same result.
    Any ideas on what's going on?
    Thanks,
    James
    Screen Shot 2022-04-20 at 7.39.28 am.png
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,792
    Not sure if the plugin has similar config, but for me the solution for the same problem with the PlasticSCM client was to add

    <Upload_SendDataThreadCount>1</Upload_SendDataThreadCount>

    To plastic's client.conf. Not sure if the plugin has an equivalent conf file somewhere.
     
    AllanRW, badplastics and v_James_v like this.
  3. v_James_v

    v_James_v

    Joined:
    Feb 13, 2016
    Posts:
    40
    Awesome thank you! Found the config file and added the single thread line. Ran checkin and all good now.

    Config file location for anyone using plastic package on Mac:
    (To show hidden files press cmd + shift + . (period) keys at the same time)

    Config Location.png

    Config Mod.png

    Resolved.png

    Thanks again
     
    AllanRW, Ryan-Unity and AcidArrow like this.
  4. badplastics

    badplastics

    Joined:
    Jul 4, 2018
    Posts:
    4
    Thanks so much for this! Had the same issue on macOS and can confirm that single-threading the upload solves it. :)
     
    v_James_v likes this.
  5. AllanRW

    AllanRW

    Joined:
    Nov 6, 2014
    Posts:
    37
    Thanks, that's solved that issue for me too, but that's why I hate PlasticSCM... it's just looks like it's on alpha stage... so sad... Collab was great for me...