Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 internal error #11

Open
Roundik opened this issue May 15, 2020 · 2 comments
Open

500 internal error #11

Roundik opened this issue May 15, 2020 · 2 comments

Comments

@Roundik
Copy link

Roundik commented May 15, 2020

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
Copy link
Author

Roundik commented May 15, 2020

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"}

@DevAlone
Copy link
Owner

Duplicate of #6 The fix is here #6 (comment) Anyway thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants