最近,需要上传数据到NCBI,因为数据量有2T左右,所以考虑用aspera。
但是报错如下:
ascp: Failed to open TCP connection for SSH, exiting.
Session Stop (Error: Failed to open TCP connection for SSH)
(1)其实NCBI已经做出声明:
As of early 2019, the SRA is starting to make use of additional forms of storage media, which are less useful over Aspera's faspprotocol. Files stored in these media may not be accessible via ascp and have triggered creation of some issues to report the problem.
简单来说,就是NCBI存储方式变了,aspera不稳定。
(2)出现这种错误,很可能是防火墙的问题
On many Linux systems the default firewall can be configured with iptables. You will have to allow all incoming and outgoing traffic on UDP port 33001 (or whatever your Aspera UDP port is)
(3)解决方案
#命令行输入如下命令
iptables -I INPUT -p tcp --dport 33001 -j ACCEPT
iptables -I OUTPUT -p tcp --dport 33001 -j ACCEPT
(4)
image.png目前,我的传了34GB了,还没有问题。
参考链接:
https://zhuanlan.zhihu.com/p/89024212
http://blog.sina.com.cn/s/blog_149c7d4b60102wi3j.html
网友评论