URLError

This document explains how to resolve Maya particularly the URLError:

<urlopen error [WinError 10060] ​​...>

<urlopen error [WinError 10054]...>

<urlopen error [WinError 10013]...>

Error: URLError: .... <urlopen error timed out>

URLError: <urlopen error [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions>

Maya's built-in Python functionality for network requests may be intercepted, particularly in environments with strict company networks or firewalls.

Solution 1:

If you're using a local proxy (e.g., Clash, V2Ray, etc.), use the following code to run Groomer's Tool instead:

import os
os.environ['http_proxy'] = 'http://127.0.0.1:7890'
os.environ['https_proxy'] = 'http://127.0.0.1:7890'

import xgtc
import xgToolsUI_user_sub
xgToolsUI_user_sub.XgtRun()

Replace 7890 with the proxy port used by your software (e.g. 7890 for Clash, 10809 for V2RayN, 8787 for Lantern). Check your app settings or listen ports for details.

Solution 2:

If you still get [WinError] even after setting proxy, try:

  1. Run Maya as Administrator

  2. Update Windows to the latest version

  3. Install the .NET Desktop Runtime:

    • Download from: https://dotnet.microsoft.com/en-us/download/dotnet/8.0

    • Select: Windows Desktop Runtime x64

  4. Restart your computer

Several users reported that installing .NET Desktop Runtime 8.0.18 and updating Windows fixed proxy and network access issues, even when VPN was not in global mode.

Optional: Auto-load Proxy on Maya Startup

You can also choose to embed this in your Maya's environment on startup.

  1. Open (or create) the following file:

    1. C:\Users\<your_username>\Documents\maya\2025\scripts\userSetup.py

  2. Add:

import os
os.environ['http_proxy'] = 'http://127.0.0.1:7890'
os.environ['https_proxy'] = 'http://127.0.0.1:7890'
  1. Save and restart Maya. Now every time Maya launches, the proxy settings will be applied automatically.

Summary:

The errors happens usually to users who have restricted access to the internet either from a country wide block, or a firewall block from an institute/studio. You can try either:

  • ​Use an VPN (Global Proxy needs to be on)

  • In a studio setting, if you are using a firewall, anti-virus, or security software, please make sure the following addresses are allowed:

    • https://api.gumroad.com/

    • https://api.gumroad.com/v2/licenses/verify​

  • ​You also need to add maya.exe to the internet allow list.

Last updated