zhconvert Request error. status code: 429
Closed this issue · 7 comments
2022-07-28 02:26:14,367 EPUB INFO : * function: version, * msg: 2.0.5
2022-07-28 02:26:14,368 EPUB INFO : * function: _read_config, * msg: already read config
engine: zhconvert_bata
converter: Traditional
format: Horizontal
loglevel: DEBUG
syslevel: INFO
file_check: True
enable_pause: True
2022-07-28 02:26:14,368 EPUB INFO : * function: convert, * msg: file path: MY PATH
2022-07-28 02:26:14,443 EPUB INFO : * function: convert, * msg: unzip file "EPUB FILE" success and get convert file list
2022-07-28 02:26:14,443 EPUB INFO : * function: _content_lang, * msg: convert language to zh-TW
2022-07-28 02:26:14,452 EPUB INFO : * function: _zhconvert_bata, * msg: async convert content.
2022-07-28 02:26:14,934 EPUB ERROR : * function: convert, * msg: zhconvert Request error. status code: 429
Press any key to continue . . .
issue solved itself by time i guess
@jfcherng hi, I want to know how many times to request per second let server loading not to high
I want to be as polite as possible when it comes to using the API, thanks
I want to know how many times to request per second
My NGINX setup for APIs: rate=20r/s, burst=20 nodelay
I want to know how many times to request per second
My NGINX setup for APIs: rate=20r/s, burst=20 nodelay
thanks
recently, I am refactoring the code and I will add some limit when user used async request
error is back again, first time using in 1 month I'm using this, and the first epub for converting, already saying im causing too many requests
Edit: after some small trials I found out that is async that is causing the issue, normal 繁化姬 mode doesnt
@tkh0395 now I still refactoring all code, but the progress is slow due to work
the async request limit will add by next version