-
Notifications
You must be signed in to change notification settings - Fork 896
Open
Description
Version 4.61.0:
It seems that when there is an issue with the sftp, say a permissions issue on overwriting a file, the sftp output will never reconnect to the sftp server. First there is a permission denied issue overwriting a file on the remote:
time="2025-08-12T17:45:56Z" level=error msg="Failed to send message to sftp: failed to open remote file: permission denied" @service=redpanda-connect label="" path=root.output.broker.outputs.0 stream=sftp
Then after the failure I start seeing these messages in the log:
time="2025-08-12T17:45:57Z" level=error msg="Failed to send message to sftp: failed to create SFTP client: ssh: rejected: connect failed (open failed)" @service=redpanda-connect label="" path=root.output.broker.outputs.0 stream=sftp
And on and on forever until this morning:
time="2025-08-13T16:21:14Z" level=error msg="Failed to send message to sftp: failed to create SFTP client: ssh: rejected: connect failed (open failed)" @service=redpanda-connect label="" path=root.output.broker.outputs.0 stream=sftp
If I restart my redpanda-connect pod, transfers resume normally. I believe this is a bug with the reuse of the ssh connection in the sftp output.
Metadata
Metadata
Assignees
Labels
No labels