proxy_py icon indicating copy to clipboard operation
proxy_py copied to clipboard

500 internal error

Open Roundik opened this issue 5 years ago • 2 comments

Hello! When try to get proxies with simple query:

{"model":"proxy","method":"get","limit":1024,"offset":0}

HTTP/1.1 500 Internal Server Error Content-Type: text/plain; charset=utf-8 Content-Length: 12 Date: Fri, 15 May 2020 10:23:17 GMT Server: Python/3.7 aiohttp/2.3.10

Server error.

Try to remove container and rebuild. The same.

{"status": "ok", "count": 19679, "status_code": 200} - count method working fine (debian 9 x64, virtualbox) What is the problem?

Roundik avatar May 15 '20 10:05 Roundik

http://127.0.0.1:55555/i/get/proxy_count_item/ everytime dead and not checked = 0 Good: 21786 Bad: 35920 Dead: 0 Not checked: 0

During handling of the above exception, another exception occurred: core_1 | core_1 | Traceback (most recent call last): core_1 | File "/proxy_py/server/api_v1/api_request_handler.py", line 22, in handle core_1 | response.update(await self.request_executor.execute(req_dict)) core_1 | File "/proxy_py/server/api_v1/requests_to_models/request_executor.py", line 20, in execute core_1 | raise ExecutionError(repr(ex)) core_1 | server.api_v1.requests_to_models.request_executor.ExecutionError: AddressNotFoundError('The address 162.159.248.57 is not in the database.') core_1 | ERROR ~ [proxy_py/server] ~ 2020-05-15 12:39:30,149 ~ log():L57 - Your reverse proxy doesn't present user's IP core_1 | INFO ~ [proxy_py/server] ~ 2020-05-15 12:39:30,150 ~ log():L60 - <- data={"request_number": 5, "status_code": 500, "exception": "None"}

Roundik avatar May 15 '20 11:05 Roundik

Duplicate of https://github.com/DevAlone/proxy_py/issues/6 The fix is here https://github.com/DevAlone/proxy_py/issues/6#issuecomment-583732014 Anyway thanks for reporting.

DevAlone avatar May 15 '20 20:05 DevAlone