Search Unity

Cannot perform upm operation: unable to verify the first certificate

Discussion in 'Package Manager' started by cloui, Oct 30, 2018.

  1. cloui

    cloui

    Joined:
    Oct 24, 2018
    Posts:
    7
    Hello,
    I am working behind a corp firewall. I get this error when i open the package manager

    Cannot perform upm operation: unable to verify the first certificate [NotFound]
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

    Is there a url i need to whitelist?
     
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    Hi @Fleer_CTC,

    The following domain names need to be accessible (whitelisted in your company firewall rules, if required) for Unity Package Manager to work:
    - packages.unity.com
    - download.packages.unity.com

    The Unity Package Manager connects to these URLs using HTTPS by default. You can configure the proxy to use by setting the HTTP_PROXY and HTTPS_PROXY environment variables before launching Unity.

    Regards,

    Pascal
     
    cloui likes this.
  3. cloui

    cloui

    Joined:
    Oct 24, 2018
    Posts:
    7
    Hi thank you for the help. @okcompute_unity

    We have whitelisted the provided URLs. I am able to open the package manager successfully. But now i get a new error when i try to download a package.
    Talking to my IT department they have requested the ip subnet to whitelist

    I have attached an image of the new error when i try to install a new package.
     

    Attached Files:

    Last edited: Oct 30, 2018
  4. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    Can you ask your IT to also whitelist these URLs:

    * `dl.bintray.com`
    * `api.bintray.com `
    * `akamai.bintray.com`

    Let me know if it works, please!

    Pascal
     
    cloui likes this.
  5. cloui

    cloui

    Joined:
    Oct 24, 2018
    Posts:
    7
  6. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
  7. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    I am not working in any corp, I am using a pc but still I get same errors.
    And I just don't know how to whitelist websites(if needed) can anyone please help me, because of these errors I am unable to even view packages like 2d-animation, 2d-ik, etc...

    Help me solve this problem or otherwise tell me a way so I can use these packages please...
     
  8. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    Hi @pratikraut1000,

    Do you have an antivirus enabled? For example, Windows Defender was reported to some time to block the Package Manager. What version of Unity are you using?

    Regards,

    Pascal
     
  9. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    I disabled my antivirus and windows defender but still problem exist..
    And I am using unity 2018.2.18f1 personal, I also tried many other versions but same problem occurred on them also.

    Please give me it's solution I am finding its solution for a month. because the 2d animation package is very important for my game
     
    Last edited: Dec 12, 2018
  10. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    Also here is the log of unity
     

    Attached Files:

    • log.txt
      File size:
      19.8 KB
      Views:
      296
  11. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    Sorry to read that you had problems like this for a month :(

    Have you tried the latest 2018.3 release? https://unity3d.com/unity/beta/2018.3#download

    Looking at the log looks like you are behind a proxy of some sort. The SSL handshake cannot be completed:

    Code (CSharp):
    1. <RI> Initialized touch support.[Package Manager] unable to verify the first certificate
    2. Cannot perform upm operation: unable to verify the first certificate [NotFound]
    3.  
    I suggest you look at this pinned forum thread: https://forum.unity.com/threads/network-configuration.590470/

    Hope it helps,

    Pascal
     
  12. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    Thanks it's not showing that error message anymore by making the .cmd file as shown in that forum.
    But,

    New problems just arrived.
    1 ) I still can't see new packages to install

    2) if I just tried to change version of package manager then I get this error message
     

    Attached Files:

  13. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    In that forum it's telling to replace proxy-url by my proxy server url

    But I just don't know what is my proxy server url

    Please tell me how to get it...

    By the way I didn't replaced that word, but still main error message is not coming
     
  14. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    I cannot help you figure out your proxy URL. I'm sorry.

    There are still network related errors in your logs:

    Code (CSharp):
    1. <RI> Initialized touch support.UnityConnectOrganizationRequest: Timed out while fetching orgs - please check your network connection
    2. Request timed out while processing request "https://core.cloud.unity3d.com/api/orgs", HTTP error code 0
    3. .[UnityConnect] Request timed out.
    4. [Package Manager] failed to fetch from registry: https://packages.unity.com/com.unity.package-manager-ui
    5. Cannot perform upm operation: failed to fetch from registry: https://packages.unity.com/com.unity.package-manager-ui [NotFound]
    6.  
     
  15. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    SO what should I do now ?
     
  16. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hello @pratikraut1000,

    I'm very sorry you're having issues. Unfortunately, finding if you are behind a proxy is hard. It involves verifying headers for TCP requests or comparing results between server and host requests. You could try a website like these and see if they are able to detect it:
    On top of this check asked above, would you kindly help me understand what type of environment you are under?
    • Are you using Wi-Fi or Wired?
    • Are you at home, in a school, in a work environment?
    • Have you the chance to try a different connection? Perhaps an internet cafe or an open Wi-Fi?
    Thanks kindly for your patience and help in advance,
    Pedro
    Unity STE
     
  17. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    I am connecting my smart phone with my pc via USB cable and enabling USB tethering option...

    And I am at my home
     
  18. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    Both websites are telling that no proxy found

    And I downloaded unity 2018.3.0f2 but still the main problem is occurring here
     
    Last edited: Dec 15, 2018
  19. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    Asset store, signing In this things work fluently in my unity. BUT

    when it comes anything related to package manager that doesn't work And unity analytics also showing 'request timed out message'

    I am sick of this now....:mad:
     
  20. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    @pratikraut1000,

    I understand you might be sick of this, but bear with me for a little while more. Permit me to understand what your problem might be and we might potentially find a resolution.

    You said you are tethering through a phone. Is this an Android device? What connection speed do you get when you connect? What percentage of package loss do you get? You can easily do this through a ping command on cmd in windows.

    Have you access to a connection that is not tethered? A tether is, in essence, a proxy, by the way, and it might be exposing a problem with one of our connection timeouts. In your case, you are not able to do a SSH handshake, which normally, in our tests, points to something taking too long establishing said connection.

    For more information, we have team members that tether regularly and haven't seen this issue, which might indicate that there are other variables at play that we haven't identified yet. I'm keen on finding these, with your help, so please, work with me to find them.

    Thank you so much!
    Pedro
    Unity STE
     
  21. pratikraut1000

    pratikraut1000

    Joined:
    Dec 12, 2018
    Posts:
    10
    Sorry for late reply

    1) yes it is an android device

    2) average speed I get is 2 MBps

    3) I can see only pre installed packages (that may be come with the installer)

    4) I just can't afford to buy any broadband for my pc and my pc is very old (2013) and it don't have WiFi connectivity so, can't try another connectivity

    Suggestion,
    Why don't you all make a system to install packages offline ? :D
     
  22. wallysach2

    wallysach2

    Joined:
    Dec 28, 2018
    Posts:
    3
    Hola. Tengo este problema: Cannot perform upm operation: unable to verify the first certificate [NotFound]
    UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
    y leí el contenido de este post pero no entiendo cómo hacer lo de firewall. Podrían detallar como solucionarlo? Gracias
     
  23. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
    Hola @wallysach2,

    Perdon, pero no hablo espanol muy bien. Con su permisso me voy a continuar en ingles:

    Are you at home or at work. Is your firewall controlled by you or by an admin. In general, when this message appears, it means that the firewall is not permitting certificates signed by Unity to safely install, which results in a failure to read/parse package contents.

    Cheers,
    Pedro
    Unity STE
     
    wallysach2 likes this.
  24. wallysach2

    wallysach2

    Joined:
    Dec 28, 2018
    Posts:
    3
    Hi thanks. I understand what it says, what I do not understand is that in several post and comments on all sides talk about putting the following list in the white list: package.unity.com and download.package.unity.com, but I do not know how to do it , I think it should be done in the rules of entry but I do not know how to do that, this I do in my home with private internet from my cell phone connected to the computer. From already thank you very much.
    PD: Sorry if my English is bad but I use a language translator.
     
  25. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    162
  26. wallysach2

    wallysach2

    Joined:
    Dec 28, 2018
    Posts:
    3

    I have tried many things in firewall (Windows). I've turned it off and nothing, I've turned it on and made the settings that they say in the forums but I'm not sure I do it right, I need to see how it is configured step by step for unity and I have not found any full forum or videos that explain it well . It's something I can not understand how to do and I need it. Sorry for my ignorance.
     
  27. Deleted User

    Deleted User

    Guest

    How do we do that
     
  28. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    575
    HI @farhan-parvez,

    I'm sorry, I cannot help you. This is environment/infrastructure specific. Please, contact your IT dept.

    Regards,

    Pascal