jolav / codetabs

Free Online Services. Github/GitLab star history. Count Lines of Code. CORS proxy server. IP GeoLocation. HTTP Headers. Random Data. Api weather temp. Alexa ranking.
https://codetabs.com
BSD 3-Clause "New" or "Revised" License
238 stars 32 forks source link

api.codetabs.com/v1/loc always returns error #5

Closed joelbarmettlerUZH closed 5 years ago

joelbarmettlerUZH commented 5 years ago

Your API-Endpoint under "https://api.codetabs.com/v1/loc?github=jolav/betazone" either returns the Error message {"Error": "Valid format is 'api.codetabs.com/v1/{service}?{param}=value' .Please read our docs at https://codetabs.com"} or the Error { "Error": "jolav/betazone doesn't exist" }, or even { "Error": "Cant create temporal dir for jolav/betazone"}, but never the actual values. Which error is being displayed seems to have no pattern. Until yesterday, 10th of February, everything worked fine. The same behavior occurs on different devices, different OS and different networks (tested via VPN).

RouNNdeL commented 5 years ago

The whole LOC part of the site is dead. When attempting User/Repo based count it always returns a "User/Repo doesn't exist error". When uploading a file, a "Error creating folder temp/loc/XXXX" error appears.

jolav-old-account commented 5 years ago

Sorry, a restart fixed the error. I'm going crazy trying to find how to solve this error that appears every few days 2019/02/23 07:47:13 ERROR opening hits file open ./logs/hits.log: too many open files 2019/02/23 07:47:13 http: Accept error: accept tcp 127.0.0.1:3510: accept4: too many open files; retrying in 80ms At the moment the only solution is to make a restart