You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cause seems to be : the ui_url used http and not https
OK, I take the blame, but wouldn't a better error message be nicer? (see temboard logs below).
The workaround is to copy manually signing-public.pem into /etc/temboard-agent/version/instance, maybe this should be documented in the error message or in the INFO?
Fetching the key:
root@feng:/etc/temboard# temboard-agent --config /etc/temboard-agent/15/pagode/temboard-agent.conf fetch-key
INFO: app: Using config file /etc/temboard-agent/15/pagode/temboard-agent.conf.
INFO: fetch_key: Requesting public key from http://feng.XXXX.org:8889.
ERROR: app: Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/temboardagent/toolkit/app.py", line 351, in entrypoint
retcode = self.main(argv, environ)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/temboardagent/cli/app.py", line 135, in main
return command.main(args)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/temboardagent/cli/fetch_key.py", line 42, in main
response.raise_for_status()
File "/usr/lib/python3/dist-packages/temboardagent/toolkit/http.py", line 177, in raise_for_status
raise HTTPError(self.status, self.reason)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: HTTPError.__init__() missing 3 required positional arguments: 'msg', 'hdrs', and 'fp'
ERROR: app: temboardagent version is 8.2.1.
ERROR: app: This is a bug!
ERROR: app: Please report traceback to https://github.com/dalibo/temboard/issues/new! Thanks!
From temboard:
# journalctl -f -u temboard.service
Feb 16 16:00:48 feng temboard[729661]: taskmanager: Job schedule_collector terminated.
Feb 16 16:00:48 feng temboard[729661]: taskmanager: Job statements_pull_data terminated.
Feb 16 16:01:44 feng temboard[729658]: tornado.general: HTTP_REQUEST on SSL handshake from ('127.0.0.1', 45264).
Feb 16 16:01:44 feng temboard[729658]: autossl: Received b'signing.key HTTP/1.1\r\nHost: feng.XXXX.org:8889\r\nAccept-Encoding: identity\r\n\r\n'
Feb 16 16:01:44 feng temboard[729658]: autossl: Redirecting client to https://feng.XXXX.org:8889/.
Hi,
ui_url
usedhttp
and nothttps
OK, I take the blame, but wouldn't a better error message be nicer? (see temboard logs below).
The workaround is to copy manually
signing-public.pem
into/etc/temboard-agent/version/instance
, maybe this should be documented in the error message or in the INFO?Fetching the key:
From temboard:
Versions:
The text was updated successfully, but these errors were encountered: