Skip to content

SFTP.DownloadFiles possibly leaves connections open #236

@Svenskapojkarna

Description

@Svenskapojkarna

Received a report that the task seems to leave connections open.

Report: "Meillä on 15 aktiivista prosessia, jotka ottavat yhteyttä palvelimelle SFTP:llä, mutta palomuurista näemme, että meillä on aktiivisia sessioita Frends-palvelimelta ****-palvelimelle 150-180".

The process in question is scheduled to run every 2 seconds, so basically all the time.
Process runs only one execution at the time, not parallel executions.
The issue is that source SFTP server flags Frends agent as possible DDOS-attacker due to flooding the server with connections.
The task should close the connection at the end of execution instead of leaving them open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions