ShreyAmbesh/Traffic-Rule-Violation-Detection-System

Exception: (401) Reason: Unauthorized HTTP response headers:

Sumitkaroo opened this issue · 3 comments

40.06525495330597
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:06 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

45.95841105434803
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:07 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

3.791946779176099e-08
3.791946763836186e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:15 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

45.05635933619914
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:17 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

43.7427250660291
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:25 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

43.61580800729858
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:26 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

67.87657521632674
57.485815185672074
3.791946729174035e-08
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:29 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

2020-02-21 21:28:31,198 WARNING Connection pool is full, discarding connection: api.openalpr.com
Exception:
(401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Access-Control-Allow-Headers': 'x-requested-with', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset="utf-8"', 'Date': 'Fri, 21 Feb 2020 15:58:30 GMT', 'Server': 'nginx/1.10.3', 'Content-Length': '51', 'Connection': 'keep-alive'})
HTTP response body: {"error_code": 401, "error": "Invalid credentials"}

I think you are giving invalid credentials to the api

I think you are giving invalid credentials to the api

Where and how should we change it?

Hey friends, I am also having the same problem with this unauthorized HTTP response headers.
Could anyone please help me to solve it?
Your help will be very much appreciated
Thank you