开发者

400 Bad Request error using ingest/fastingest on EchoPrint

开发者 https://www.devze.com 2023-03-17 05:28 出处:网络
I am doing the following to start codegen/ server for echo print ! cd echoprint-server/solr/solr java -Dsolr.solr.home=/home/path/to/echoprint-server/solr/solr/solr/ -

I am doing the following to start codegen/ server for echo print !

cd echoprint-server/solr/solr
java -Dsolr.solr.home=/home/path/to/echoprint-server/solr/solr/solr/ -
Djava.awt.headles开发者_Python百科s=true -jar start.jar

ttservctl start

python api.py 9090

Ingest codes are at http://pastebin.com/8iud70hD

curl http://localhost:9090/ingest -d
"fp_code=<fp_code_here>&track_id=thisone&length=30000"

I am getting the following error --

127.0.0.1:40197 - - [01/Jul/2011 18:06:33] "HTTP/1.1 POST /ingest" - 400 Bad Request


Do you want to ingest a very long code? length=30000?

Think the api calls are not capable to handle too long codes, so i used the python calls directly. You should try to follow this instruction:

https://github.com/echonest/echoprint-server#generating-and-importing-data

0

精彩评论

暂无评论...
验证码 换一张
取 消