htmlpreview / htmlpreview.github.com

HTML Preview for GitHub Repositories
htmlpreview.github.com
1.53k stars 307 forks source link

get error code 429 when using html preview #92

Closed pranavkirtani88 closed 3 years ago

pranavkirtani88 commented 3 years ago

I get error code 429 sometimes when I use https://htmlpreview.github.io/?https://github.com/persistentsystems/corda-did-method/blob/master/corda_did_method.html

fionarhuang commented 3 years ago

I have the same issue too (https://htmlpreview.github.io/?https://github.com/fionarhuang/treeclimbR_article/blob/master/microbe/docs/3-Visualization.html)

niutech commented 3 years ago

HTML Preview uses https://jsonp.afeld.me or https://cors-anywhere.herokuapp.com under the hood. The former returns 403 Forbidden (see https://github.com/afeld/jsonp/issues/179) and the latter sometimes returns 429 Too Many Requests. You have to retry.

alshan commented 3 years ago

The service consistently returns status 429 for at least 8 hours now. https://htmlpreview.github.io/?https://raw.githubusercontent.com/JetBrains/lets-plot-kotlin/master/docs/api-reference/plot-api/index.html

sjspielman commented 3 years ago

Can confirm this is ongoing as in Issue #94 . Please re-open this issue. The documentation is not the issue.

niutech commented 3 years ago

This issue is still opened. I have filed the issue: https://github.com/Rob--W/cors-anywhere/issues/283 and I have added fallback proxies. Check if the problem remains.

fionarhuang commented 3 years ago

This issue is still opened. I have filed the issue: https://github.com/Rob--W/cors-anywhere/issues/283 and I have added fallback proxies. Check if the problem remains.

It works for me now! Thanks!

niutech commented 3 years ago

That's great! If you know any other reliable and free CORS proxy, please suggest it.