Troubleshooting of Olami speech to text
Jump to navigation
Jump to search
Category:NLP > Speech to text > Troubleshooting of Olami speech to text
Troubleshooting of OLAMI 中文語音辨識 API|歐拉蜜人工智慧開放平台(威盛電子)
- sample code: olami-developers/olami-api-quickstart-curl-samples
Errors
Error: Invalid Timestamp
output message
$ ./olami-asr-api-test.sh https://cn.olami.ai/cloudservice/api <app key> <app secret> <audio file> 0 ./olami-asr-api-test.sh: line 24: 1536204037N: value too great for base (error token is "1536204037N") ./olami-asr-api-test.sh: line 30: md5sum: command not found curl -X POST "https://tw.olami.ai/cloudservice/api?api=asr&appkey=<app key>×tamp=&sign=&seq=seg,nli&stop=1&compress=0" -H "content-type:application/octet-stream" --data-binary @sample.wav -c mycookie % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 98505 100 55 100 98450 23 41587 0:00:02 0:00:02 --:--:-- 41575 Audio file has been sent! Server response: {"msg":"Invalid Timestamp","code":108,"status":"error"} [ERROR] Error occurred!
solution: BASH script is only supported on Linux not Mac
Error: Request Entity Too Large
output message
Audio file has been sent! Server response: <html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor="white"> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx/1.12.2</center> </body> </html>
solution: try to decrease the file size of audio file
Error: Invalid App Key
output message
./olami-asr-api-test.sh https://cn.olami.ai/cloudservice/api <app key> <app secret> <audio file> 0 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1843k 100 53 100 1843k 26 909k 0:00:02 0:00:02 --:--:-- 909k Audio file has been sent! Server response: {"msg":"Invalid App Key","code":106,"status":"error"}
solution: Because tw.olami.ai & cn.olami.ai are different account system, you should register new account and apply different app key.
Error: Cost too much time to complete the request
output message: the second number are always the same number after hours
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87 100 87 0 0 479 0 --:--:-- --:--:-- --:--:-- 478 Sending request to get result by HTTP GET... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87 100 87 0 0 699 0 --:--:-- --:--:-- --:--:-- 701 Sending request to get result by HTTP GET... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 87 100 87 0 0 692 0 --:--:-- --:--:-- --:--:-- 696
solution: Press control + c to cancel the process and try it later.
Troubleshooting of ...
- PHP, cUrl, Python, selenium, HTTP status code errors
- Database: SQL syntax debug, MySQL errors, MySQLTuner errors or PostgreSQL errors
- HTML/Javascript: Troubleshooting of javascript, XPath
- Software: Mediawiki, Docker, FTP problems, online conference software
- Test connectivity for the web service, Web Ping, Network problem, Web user behavior, Web scrape troubleshooting
Template