Question: Network proxy error during "myRast" commands
gravatar for surendra
4.3 years ago by
South Africa
surendra30 wrote:


I am trying to run the command "svr_assign_to_dna_using_figfams" from myRast package.

But I am getting the following error, which might be due the script not able to connect the server due to proxy restrictions.

svr_assign_to_dna_using_figfams <contigs.fasta>

500 Can't connect to (connect: Connection timed out) at /home/user/Softwares/sas/lib/ line 724.
    ClientThing::_send_request(ANNOserver=HASH(0x183b8a0), "function", "methods", "args", "--- []\x{a}", "source", "ClientThing", "dbName", undef, ...) called at /home/user/Softwares/sas/lib/ line 476
    ClientThing::_call_method(ANNOserver=HASH(0x183b8a0), "methods", ARRAY(0x184c858)) called at /home/user/Softwares/sas/lib/ line 186
    ClientThing::new("ANNOserver", "ANNO", "url", "") called at /home/user/Softwares/sas/lib/ line 56
    ANNOserver::new("ANNOserver", "url", undef) called at /home/user/Softwares/sas/plbin/ line 131

Can anyone suggest how to use MyRast script behind the proxy server on Linux using terminal.

Thanks in advance


proxy network error myrast • 1.4k views
ADD COMMENTlink written 4.3 years ago by surendra30

Maybe try setting your proxy environment variable in the terminal session? <export http_proxy="http://host:port/">

Or try the LWP::UserAgent module inside the script for setting the proxy. Suggested from:

ADD REPLYlink written 4.3 years ago by Cytosine450

Thanks for the reply Cytosine

The proxy server is already in the environment setting. Also the script from myRast package "" includes the LWP::UserAgent module.

but still the script is not woirking.

ADD REPLYlink written 4.3 years ago by surendra30

Hard to guess then...

First thing I would do is check whether the server is accessible at all.

Can you manually ping/telnet the server from your terminal? If no, then you need to configure the system, if yes then you need to modify the script.

I'm not familiar with MyRast so I can't give you any more specific suggestions, sorry.

ADD REPLYlink written 4.3 years ago by Cytosine450

Yes, I have checked and found that server is accessible. It starts gethering the results in output file but then fails with the error. I will check the scripts to modify.

ADD REPLYlink written 4.3 years ago by surendra30

I'm trying to use myrast as well on debian but I get the same errors. Did you solve the issue in the end?

ADD REPLYlink written 3.1 years ago by eugeniolcv0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1125 users visited in the last hour