Skip to content

Instantly share code, notes, and snippets.

@tbenst
Created May 25, 2021 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbenst/a569bc0d30e6a53bd93ff6890306966b to your computer and use it in GitHub Desktop.
Save tbenst/a569bc0d30e6a53bd93ff6890306966b to your computer and use it in GitHub Desktop.
Neptune
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Experiencing connection interruptions. Reestablishing communication with Neptune.
Exception in thread Thread-10:
Traceback (most recent call last):
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/oauth.py", line 68, in _refresh_token
self._refresh_session_token()
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/oauth.py", line 76, in _refresh_session_token
self.session.refresh_token(self.session.auto_refresh_url, verify=self.session.verify)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/requests_oauthlib/oauth2_session.py", line 446, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
validate_token_parameters(params)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in validate_token_parameters
raise MissingTokenError(description="Missing access token parameter.")
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/internal/channels/channels_values_sender.py", line 123, in run
self._process_batch()
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/internal/channels/channels_values_sender.py", line 131, in _process_batch
self._send_values(self._values_batch)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/internal/channels/channels_values_sender.py", line 157, in _send_values
self._experiment._send_channels_values(channels_with_values)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/experiments.py", line 1032, in _send_channels_values
self._backend.send_channels_values(self, channels_with_values)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/internal/api_clients/hosted_api_clients/migration_switch_leaderboard_api_client_proxy.py", line 41, in wrapper
return func(api_proxy, *args, **kwargs)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/internal/api_clients/hosted_api_clients/migration_switch_leaderboard_api_client_proxy.py", line 202, in send_channels_values
return self._client.send_channels_values(experiment, channels_with_values)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/utils.py", line 271, in wrapper
return func(*args, **kwargs)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/internal/api_clients/hosted_api_clients/hosted_leaderboard_api_client.py", line 573, in send_channels_values
batch_errors = self.backend_swagger_client.api.postChannelValues(
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/bravado/client.py", line 276, in __call__
return http_client.request(
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/bravado/requests_client.py", line 399, in request
self.authenticated_request(sanitized_params),
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/bravado/requests_client.py", line 440, in authenticated_request
return self.apply_authentication(requests.Request(**request_params))
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/bravado/requests_client.py", line 445, in apply_authentication
return self.authenticator.apply(request)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/oauth.py", line 118, in apply
self.auth.refresh_token_if_needed()
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/utils.py", line 271, in wrapper
return func(*args, **kwargs)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/oauth.py", line 63, in refresh_token_if_needed
self._refresh_token()
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/oauth.py", line 73, in _refresh_token
self._refresh_session_token()
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/neptune/oauth.py", line 76, in _refresh_session_token
self.session.refresh_token(self.session.auto_refresh_url, verify=self.session.verify)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/requests_oauthlib/oauth2_session.py", line 446, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
validate_token_parameters(params)
File "/home/tyler/opt/anaconda3/envs/bf/lib/python3.8/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 441, in validate_token_parameters
raise MissingTokenError(description="Missing access token parameter.")
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment