cj
06/09/2021, 1:58 PMcj
06/09/2021, 2:00 PM.prefect/config.toml
file per the instructionscj
06/09/2021, 2:01 PMprint(prefect.context.secrets.get("SLACK_WEBHOOK_URL"))
within my Python code to ensure that I can receive the webhook URLcj
06/09/2021, 2:02 PMrequests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=4200): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8328313c70>: Failed to establish a new connection: [Errno 61] Connection refused'))
Kevin Kho
cj
06/09/2021, 2:03 PMprefect==0.14.21
requests==2.25.1
urllib3==1.26.5
I included the latter two modules since I figured they may be relevant to this error message, but I'm unsure.cj
06/09/2021, 2:04 PMKevin Kho
prefect backend cloud
in the command line?cj
06/09/2021, 2:09 PMERROR - prefect.TaskRunner | Unexpected error while calling state handlers: ClientError('Malformed response received from Cloud - please ensure that you have an API token properly configured.')
Seems to be a matter of getting the API token configured?Kevin Kho
Kevin Kho
cj
06/09/2021, 3:13 PMcj
06/09/2021, 3:27 PMKevin Kho