Search Unity

[SOLVED] Unity can't connect to any unity services and collab is not working.

Discussion in 'Unity Collaborate' started by DimitrPapas, Jan 24, 2019.

  1. DimitrPapas

    DimitrPapas

    Joined:
    Jul 22, 2013
    Posts:
    8
    Hey! So, I'm trying to connect my projects to the unity services but I'm always greeted with this message


    Clicking on `refresh access` does nothing, well it actually redirects me instantly to the same exact message, and clicking on `new link...` does actually create a new project under my account in my dashboard, so now I have reached "MyProject (6)", but afterwards also sends me back to this same screen, again instantly.

    Also, when collapsing the collab button, the tray looks like this


    Does anyone know what might be causing such behavior? I've tried creating new projects through unity and through the hub, importing projects, copypasting etc. I've tried Unity 2018.2.7 and 2018.2.14 through unity hub for linux, on OpenSuse Leap 42.3.

    Thanks in advance for your help.
     
  2. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,209
    Hi @DimitrPapas! It sounds like there's something in your network setup that is preventing Unity's services from connecting. Could you try running our Network Reporter tool and opening a Support ticket from the Collaborate->Support section of your project's dashboard along with the report generated by that tool? We'll be able to see if there's something interfering with Unity's connection and help get you unblocked.
     
  3. DimitrPapas

    DimitrPapas

    Joined:
    Jul 22, 2013
    Posts:
    8
    Sure thing, I'll do it first thing in the morning. I thought about it too, that maybe it was the firewall, and didn't know what to make of it because obviously some data made it through. In the unity website my dashboard does indeed spawn a new project whenever i request a new link.
     
  4. technicat

    technicat

    Joined:
    Nov 22, 2006
    Posts:
    1,278
    This may sound too obvious, but just in case you haven’t tried it, I have run into this sporadically, and when Refresh Access doesn’t work, I just close and restart Unity, and then it usually connects OK. And also in the Services Settings make sure it’s trying to connect to the organization and project that you expect.
     
  5. DimitrPapas

    DimitrPapas

    Joined:
    Jul 22, 2013
    Posts:
    8
    @technicat thanks for the suggestion. Sadly it is behaviour that has persisted for a while.
     
    technicat likes this.
  6. DimitrPapas

    DimitrPapas

    Joined:
    Jul 22, 2013
    Posts:
    8
    Okay, so, by looking at the editor log I found out that unity couldn't connect because it couldn't locate
    /etc/ssl/certs/ca-certificates.crt


    Upon some further searching I found out that on opensuse that file needs to be generated manually by creating a symlink to
    /etc/ssl/ca-bundle.pem
    and I did that by running this command:

    sudo ln -s /etc/ssl/ca-bundle.pem /etc/ssl/certs/ca-certificates.crt


    This solved all my issues and now i can connect to unity collab and access all other unity services.
     
    ryanc-unity likes this.
  7. anonymosemouse

    anonymosemouse

    Joined:
    Sep 4, 2019
    Posts:
    1
    Ironically that issue persists with Linux builds. You'll find errors from curl.

    Code (csharp):
    1. MonoRuntime: 5.11.0 ((no/d1502a3)
    2. Curl error 77: Error reading ca cert file from /etc/ssl/certs/ca-certificates.crt
    3.  
    That path is not the same on all distros.