Hi,
All goes well with you.
I am working in China.
I made API application coded by python, which uploads clips to shotgun Version entity.
Not only the connection speed on Web interface somewhat slow but also API connection speed is too slow.
Can you let me know how we speed up the connection?
Hi,
I have found that there was some error while trying to connect storage url.
Is this related to upgrading to “Direct upload to S3”
my Python_api is 3.2.2, Python 2.7
error messages are below :
Traceback (most recent call last):
File “clip_upload.py”, line 104, in i_shotgun_upload
result = sg.upload(“Version”, w_version_id, w_movie_clip_file,field_name=“sg_uploaded_movie”)
File “C:\Python27\lib\site-packages\shotgun_api3\shotgun.py”, line 2432, in upload
tag_list, is_thumbnail)
File “C:\Python27\lib\site-packages\shotgun_api3\shotgun.py”, line 2468, in _upload_to_storage
self._upload_file_to_storage(path, upload_info[“upload_url”])
File “C:\Python27\lib\site-packages\shotgun_api3\shotgun.py”, line 3887, in _upload_file_to_storage
self._upload_data_to_storage(fd, content_type, file_size, storage_url)
File “C:\Python27\lib\site-packages\shotgun_api3\shotgun.py”, line 3979, in _upload_data_to_storage
result = opener.open(request)
File “C:\Python27\lib\urllib2.py”, line 429, in open
response = self._open(req, data)
File “C:\Python27\lib\urllib2.py”, line 447, in _open
‘_open’, req)
File “C:\Python27\lib\urllib2.py”, line 407, in _call_chain
result = func(*args)
File “C:\Python27\lib\urllib2.py”, line 1241, in https_open
context=self._context)
File “C:\Python27\lib\urllib2.py”, line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>
If your DNS wasn’t returning the proper ip for the requested domain, I would expect you might stumble on the issue outlined in your second message.
When you say a DNS change solved your problem, was this the speed problem from the first message, the connection problem from the second message or both problems?
Caused by the bad virus epidemic, crews are working at home for a while.
Every crews have different network service companies at their home.
Some of them are quite slower than previous, some of them are not able to connect.
In office, it is doable but slower.