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

Exception occurred during processing of request #12

Open
interbiznw opened this issue Sep 23, 2021 · 0 comments
Open

Exception occurred during processing of request #12

interbiznw opened this issue Sep 23, 2021 · 0 comments

Comments

@interbiznw
Copy link

Attaching to uptimerobot_exporter
uptimerobot_exporter    | 192.168.2.2 - - [23/Sep/2021 12:58:00] "GET / HTTP/1.1" 200 -
uptimerobot_exporter    | 192.168.2.2 - - [23/Sep/2021 12:58:02] "GET /favicon.ico HTTP/1.1" 200 -
uptimerobot_exporter    | ----------------------------------------
uptimerobot_exporter    | Exception occurred during processing of request from ('192.168.2.2', 65068)
uptimerobot_exporter    | Traceback (most recent call last):
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/socketserver.py", line 316, in _handle_request_noblock
uptimerobot_exporter    |     self.process_request(request, client_address)
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/socketserver.py", line 347, in process_request
uptimerobot_exporter    |     self.finish_request(request, client_address)
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/socketserver.py", line 360, in finish_request
uptimerobot_exporter    |     self.RequestHandlerClass(request, client_address, self)
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/socketserver.py", line 747, in __init__
uptimerobot_exporter    |     self.handle()
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/http/server.py", line 427, in handle
uptimerobot_exporter    |     self.handle_one_request()
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/http/server.py", line 415, in handle_one_request
uptimerobot_exporter    |     method()
uptimerobot_exporter    |   File "/exporter.py", line 127, in do_GET
uptimerobot_exporter    |     accountdetails = fetch_accountdetails(api_key)
uptimerobot_exporter    |   File "/exporter.py", line 87, in fetch_accountdetails
uptimerobot_exporter    |     return req.json()
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 910, in json
uptimerobot_exporter    |     return complexjson.loads(self.text, **kwargs)
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
uptimerobot_exporter    |     return _default_decoder.decode(s)
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
uptimerobot_exporter    |     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
uptimerobot_exporter    |   File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
uptimerobot_exporter    |     raise JSONDecodeError("Expecting value", s, err.value) from None
uptimerobot_exporter    | json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
uptimerobot_exporter    | ----------------------------------------
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

1 participant