在 EchoPrint 上使用 ingest/fastingest 时出现 400 Bad Request 错误
我正在执行以下操作来启动 codegen/ 服务器以进行回显打印!
cd echoprint-server/solr/solr
java -Dsolr.solr.home=/home/path/to/echoprint-server/solr/solr/solr/ -
Djava.awt.headless=true -jar start.jar
ttservctl start
python api.py 9090
摄取代码位于 http://pastebin.com/8iud70hD
curl http://localhost:9090/ingest -d
"fp_code=<fp_code_here>&track_id=thisone&length=30000"
我收到以下错误 --
127.0.0.1:40197 - - [01/Jul/2011 18:06:33] "HTTP/1.1 POST /ingest" - 400 Bad Request
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.headless=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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想摄取很长的代码吗?长度=30000?
认为api调用无法处理太长的代码,所以我直接使用python调用。您应该尝试遵循以下说明:
https://github.com/echoprint-server /echoprint-server#生成并导入数据
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