Unable to connect to stream error in file-based source connector

Summary

The log output shows an error message indicating inability to connect to a stream in a file-based source connector. The traceback suggests an issue with the availability strategy in the connector code.


Question

Relevant log output Unable to connect to stream <airbyte_cdk.sources.file_based.stream.default_file_based_stream.DefaultFileBasedStream object at 0x7f519ea143d0> - Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/file_based/file_based_source.py", line 80, in check_connection
) = stream.availability_strategy.check_availability_and_parsability(stream, logger, self)
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availability_strategy.py", line 64, in check_availability_and_parsability
handle.close()



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["unable-to-connect", "stream", "file-based-source-connector", "availability-strategy", "error"]