Scott Zelenka
07/01/2020, 1:42 PM[2020-07-01 13:40:32] DEBUG - prefect.CloudFlowRunner | Failed to retrieve flow state with error: AttributeError("'SSLSocket' object has no attribute 'connection'")
The Flow runs fine on my local machine, and the healthcheck passes, but when it's deployed to K8, it seems the CloudFlowRunner cannot write logs to Prefect Cloud and aborts the execution of the Flow.josh
07/01/2020, 1:42 PMScott Zelenka
07/01/2020, 1:42 PM[2020-07-01 13:40:32] DEBUG - prefect.CloudFlowRunner | Failed to retrieve flow state with error: AttributeError("'SSLSocket' object has no attribute 'connection'")
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Failed to write log with error: 'SSLSocket' object has no attribute 'connection'
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Failed to write log with error: 'SSLSocket' object has no attribute 'connection'
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Failed to write log with error: 'SSLSocket' object has no attribute 'connection'
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Failed to write log with error: 'SSLSocket' object has no attribute 'connection'
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Unable to write logs to Prefect Cloud
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Unable to write logs to Prefect Cloud
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Unable to write logs to Prefect Cloud
[2020-07-01 13:40:32] CRITICAL - CloudHandler | Unable to write logs to Prefect Cloud
'ujson==3.0.0',
'requests==2.24.0',
'pandas==1.0.5',
'numpy==1.19.0',
'sqlalchemy==1.3.18',
'hvac==0.10.4',
'snowflake-connector-python==2.2.8',
'snowflake-sqlalchemy==1.2.3',
'pyarrow==0.17.1',
josh
07/01/2020, 1:44 PMScott Zelenka
07/01/2020, 1:45 PMjosh
07/01/2020, 1:48 PMScott Zelenka
07/01/2020, 1:48 PMflow.run()
while the other is using the CloudRunnerjosh
07/01/2020, 1:51 PM<2.2.8
and see if that has any effectScott Zelenka
07/01/2020, 2:36 PMjosh
07/01/2020, 2:38 PM