You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the "publish sumstats" method, Globus is called to do the file transfer. However, a timeout from globus is likely when the number of files in the globus dir are in the thousands. This prevents us from being able to get the file names and subsequently, files are not transferred to the staging directory.
Globus error: 502, 'ExternalError.DirListingFailed.Timeout
stacktrace from python:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/celery/app/trace.py", line 648, in __protected_call__
return self.run(*args, **kwargs)
File "/sumstats_service/sumstats_service/app.py", line 177, in publish_sumstats
au.publish_sumstats(resp)
File "/sumstats_service/sumstats_service/resources/api_utils.py", line 278, in publish_sumstats
study.move_file_to_staging()
File "/sumstats_service/sumstats_service/resources/study_service.py", line 225, in move_file_to_staging
return ssf.move_file_to_staging()
File "/sumstats_service/sumstats_service/resources/file_handler.py", line 283, in move_file_to_staging
dest_file = os.path.join(dest_dir, self.staging_file_name + ext)
TypeError: must be str, not NoneType
The text was updated successfully, but these errors were encountered:
globus timeouts could still be an issue. One approach would be to allow nested structures i.e. subfolders and request/impose that users can't put more than X number of files in a single folder. This is generally good practice anyway.
On the "publish sumstats" method, Globus is called to do the file transfer. However, a timeout from globus is likely when the number of files in the globus dir are in the thousands. This prevents us from being able to get the file names and subsequently, files are not transferred to the staging directory.
Globus error:
502, 'ExternalError.DirListingFailed.Timeout
stacktrace from python:
The text was updated successfully, but these errors were encountered: