Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error invoking method ... : 301 Moved Permanently #16

Open
silvtal opened this issue Dec 14, 2021 · 1 comment
Open

[BUG] Error invoking method ... : 301 Moved Permanently #16

silvtal opened this issue Dec 14, 2021 · 1 comment

Comments

@silvtal
Copy link

silvtal commented Dec 14, 2021

Hi, thanks for developing the PATRIC command line scripts. I have been using them for more than a week and I find them really useful

Today, my pipeline stopped halfway at the rast-add-features command. Then I noticed all the commands, even previous ones, had stopped working. I reinstalled everything to no avail.

This is the error (the method varies from command to command)

$ rast-create-genome --scientific-name $SCIENTIFIC_NAME --genetic-code $GENETIC_CODE --domain $DOMAIN --contigs "clean_"$(basename $INPUT_CONTIGS) > GTO.1
Error invoking method create_genome: 301 Moved Permanently at /usr/share/patric-cli/deployment/lib/Bio/KBase/GenomeAnnotation/Client.pm line 1389.

I guess you just changed something on your server and this is a bug? I wanted to report that it can be fixed by changing "http" to "https" at line 39 of the /usr/share/patric-cli/deployment/lib/Bio/KBase/GenomeAnnotation/Client.pm file:

$url = 'https://tutorial.theseed.org/services/genome_annotation';

If you run into this error

Error invoking method create_genome: 500 Can't connect to tutorial.theseed.org:443 (certificate verify failed) at /home/silviatm/perl5/lib/perl5/patric-cli-1.026/lib/Bio/KBase/GenomeAnnotation/Client.pm line 1393.

try the solutions here.

@silvtal
Copy link
Author

silvtal commented Apr 28, 2022

The issue is mentioned here https://rast.nmpdr.org/Html/RAST_301-errors.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant