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.
  2. Dismiss Notice

Getting Curl 51 error (for all projects)...

Discussion in 'Editor & General Support' started by UmutDervis, Mar 17, 2021.

  1. UmutDervis

    UmutDervis

    Joined:
    Mar 17, 2021
    Posts:
    1
    I'm using Unity 2018.4.29f1 and this error started to pop-up today, as soon as I open any of my projects in unity. (Everything was working perfectly before and I haven't made any changes): Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED

    It also reoccurs when I play the game in the editor.

    When I searched internet, I found results saying it's a Unity server problem, so I wanted to ask if Unity staff is aware of this (if that's the case) or is there something I should check on my part?

    Note: My project(s) are not trying to access internet in any way, and disabling hwstatistics doesn't make the error go away.

    Thanks.
     
    Last edited: Mar 17, 2021
  2. dmaisy

    dmaisy

    Joined:
    Sep 1, 2018
    Posts:
    3
    I am using the version of unity 2019.2.14f1. I run the code for the creation of AssetBundle for Android:

    Code (CSharp):
    1. using UnityEditor;
    2. using System.IO;
    3.  
    4. public class CreateAssetBundles
    5. {
    6.     [MenuItem("Assets/Build AssetBundles")]
    7.     static void BuildAllAssetBundles()
    8.     {
    9.         string assetBundleDirectory = "C:/xampp3/htdocs/dev.folder/models";
    10.         if (!Directory.Exists(assetBundleDirectory))
    11.         {
    12.             Directory.CreateDirectory(assetBundleDirectory);
    13.         }
    14.         BuildPipeline.BuildAssetBundles(assetBundleDirectory,
    15.                                         BuildAssetBundleOptions.None,
    16.                                         BuildTarget.Android);
    17.     }
    18. }

    Then, when trying the code again, this error appeared:
    Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED
     
  3. Elvin-Hillbird

    Elvin-Hillbird

    Joined:
    Nov 15, 2012
    Posts:
    10
    Same thing happening to me. My project doesn't access the internet. Unity version 2018.4.15f1
    Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED
     
  4. CastleSeven

    CastleSeven

    Joined:
    Jan 24, 2018
    Posts:
    6
    Same for me - 2018.4.24f1
     
  5. NeuralStudioLLC

    NeuralStudioLLC

    Joined:
    Sep 4, 2020
    Posts:
    2
    Same error for for us on Unity 2018.4. Someone tried it offsite, also same result. We tried restarting computer, restarting router, still get the error 51 message. The only way unity doesn't crash or show error is if the computer is not connected to the internet, but it's not viable if working remotely through a internet connection. Maybe if you somehow disable all internet connectivity for Unity except your remote portal.
     
  6. njwilson

    njwilson

    Joined:
    Mar 25, 2017
    Posts:
    1
    Same error for me except the editor crashes when hit play
     
  7. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    520
    Same here and I can't work until it's stops doing this! What's going on?
    @Aurore Help!

    I tried signing out, updated Unity Hub to 2.4.3, restarted Unity = no difference. Unity services status page indicates no problems.

    Unity 2018.4.27f
     
    Last edited: Mar 17, 2021
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, I'm seeing the same thing. We are looking at this now at high priority.
     
    UmutDervis, LilGames and njwilson like this.
  9. ersagunkuruca

    ersagunkuruca

    Joined:
    Feb 26, 2021
    Posts:
    3
    I am getting the same error. Also, I get crashes when I hit play. Some scenes are fine though. I don't understand. I lost a whole day because of this. I reinstalled Unity, updated Unity Hub, updated MacOS, disconnected from the internet, tried to connect through my phone's hotspot, nothing works.
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    This issue has been resolved, apologies on the inconvenience. It was an expired SSL cert, it may take a few minutes for it to propagate.
     
    dmaisy and UmutDervis like this.
  11. ersagunkuruca

    ersagunkuruca

    Joined:
    Feb 26, 2021
    Posts:
    3
    It is not as bad as wednesday but I am still getting crashes. It started again yesterday, but signing out from the unity account worked somehow, I don't know for sure if that's what solved it though. Do you have any info on that? Do I have to clear some system wide SSL cache or something?
     
  12. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please describe your steps to reproduce and the specific error that you are seeing.