EpubConv_Python icon indicating copy to clipboard operation
EpubConv_Python copied to clipboard

zhconvert Request error. status code: 429

Open tkh0395 opened this issue 3 years ago • 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 . . .

tkh0395 avatar Jul 28 '22 06:07 tkh0395

fyi, https://github.com/maple3142/ebook-converter/issues/17

jfcherng avatar Jul 28 '22 08:07 jfcherng

issue solved itself by time i guess

tkh0395 avatar Jul 31 '22 04:07 tkh0395

@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

ThanatosDi avatar Aug 04 '22 10:08 ThanatosDi

I want to know how many times to request per second

My NGINX setup for APIs: rate=20r/s, burst=20 nodelay

jfcherng avatar Aug 04 '22 12:08 jfcherng

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

ThanatosDi avatar Aug 04 '22 17:08 ThanatosDi

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 avatar Sep 29 '22 04:09 tkh0395

@tkh0395 now I still refactoring all code, but the progress is slow due to work the async request limit will add by next version

ThanatosDi avatar Dec 30 '22 06:12 ThanatosDi