Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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

Discussion in 'Plastic SCM' started by v_Jay_v, Apr 19, 2022.

  1. v_Jay_v

    v_Jay_v

    Joined:
    Feb 13, 2016
    Posts:
    34
    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:
    9,791
    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_Jay_v like this.
  3. v_Jay_v

    v_Jay_v

    Joined:
    Feb 13, 2016
    Posts:
    34
    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_Jay_v likes this.
  5. AllanRW

    AllanRW

    Joined:
    Nov 6, 2014
    Posts:
    29
    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...