Possible resolution to fix URLError exception on Linux