Using Unity when behind a proxy

Hi everyone, happy to join this great community!

Here is my first question : can we configure somewhere in Unity the proxy settings to be able to access online features of the editor (updates check and assets store in particular)?
I’m using Unity at work, where network is filtered and we need to use a proxy to go outside…

When checking for updates, I get this message : “Connection to the update server failed” (console saying “Couldn’t connect to server url: https://kharma.unity3d.com/”).

When trying to access Asset Store, I get this message : “You are currently offline. You must be online in order to download content from Asset Store. Existing downloaded content may still imported into your current Project.”.

If it is not possible to configure proxy settings, could someone please give me the ports used by Unity so I can ask our admins to open it?

Thanks a lot by advance.

Am I really the only one having this kind of issue? :smile:

Well I finally got a partial solution : directly access https://kharma.unity3d.com from my browser… but I can’t download packages :frowning:

Doesn’t work anymore… ;___;
It’s really annoying not being able to access Asset Store (which is a huge feature of Unity)… especially when you bought a pro version!

I agree and we are having the same issues.
There must be some simple solution to this. Aside from waiting until I am home and thus having no firewall…

Helllllooooo support? XD

I was hoping maybe the latest 3.2 release would fix things, but alas…no.

+1… ideally Unity would use IE’s proxy data, the way Google Chrome does on Windows (dunno if the same goes for Safari on the Mac).

I was finally able to solve this by setting the user ENV Variable HTTPS_proxy to http://www{my own proxy}:8000. This was instead of the HTTP_proxy. It was confusing, because apparently the “Check of Updates” does not use a secure conneciton (so it worked with HTTP_proxy), but the Assett Store does require a secrue connection.

4 Likes

Man, you rock so much! :sunglasses:
Worked for me too (don’t forget to restart Unity after setting user environment variables).

3 Likes

Hi I am having this same issue at uni. Could you please specify in more detail where you did this (unity files/window files/web files) and if possible give me a quick guide on how to do this.

I am concerned that if I edit the wrong file I could cause major problems.

Thanks for the help :slight_smile:

Everything is said here : http://blog.gfx47.com/2011/03/08/unity3d-httphttps-proxy-problem-solved-o/ :slight_smile:

1 Like

Thanks a lot, Rob!!!

For those using a proxy with password, use:

http://username: password@example.com:8080

Anyone know how to fix this if you’re not behind a proxy?

I get “Connecting to asset store”, then “You Are Currently Offline”.

In the console it reads “Couldn’t connect to server url: https://kharma.unity3d.com

I also couldn’t use Internet Activation when registering, if that helps.

You must have some kind of network problem on the machine you’re using.
Can you browse internet from it? If yes, check your browser’s settings.

EDIT: It was Comodo firewall. Doh.

I disabled it and it works.

Thank you! The HTTPS_proxy works.

I tried all this options but nothing seems to work for me :frowning: Am able to browse all the sites, only update and asset store is not working…

If i have one @ symbol in my password, then how to proceed for the suggested value given below ?
http://username: password@example.com:8080

I fixed this on one of my machines by uninstalling everything related to Unity - i.e. all folders and registry settings, then doing a fresh install - HOWEVER - what I would recommend trying first is to go to your Windows Firewall and deleting all the rules related to Unity, restarting, and then having Unity ask again how you want to handle it connecting to the internet. When I went from 3.5.6 to 4.0, I lost my ability to connect to the Asset Server and Asset Store - but cleaning everything out and reinstalling fixed it. I wish I could be more specific, but when settings are kept in any number of places, it’s hard to troubleshoot and it’s sometimes better to just start with a clean sheet of paper :wink: