Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to discover FTPS streams #398

Open
guaripete-github opened this issue Oct 8, 2024 · 4 comments
Open

Unable to discover FTPS streams #398

guaripete-github opened this issue Oct 8, 2024 · 4 comments

Comments

@guaripete-github
Copy link

Issue Description

  • Description of the issue: Unable to discover FTPS streams

  • Sling version (sling --version): 1.2.19

  • Operating System (linux, mac, windows): windows

  • env.yaml:

  URL__FTPS:
    url: "ftps://<username>:<password>@<host>"
  • Log Output (please run command with -d):
sling conns test URL__FTPS
10:34AM INF success!

sling conns discover URL__FTPS
fatal:
~ could not discover URL__FTPS (See https://docs.slingdata.io/sling-cli/environment)
Unhandled connection type: ftps

tried:

  URL__FTPS:
    url: "ftps://<username>:<password>@<host>"
    ftps: true

with same result.

And also tried:

  URL__FTPS:
    url: "ftp://<username>:<password>@<host>"
    ftps: true
sling conns test URL__FTPS   
fatal:
~ unable to connect to ftp server
EOF
@flarco
Copy link
Collaborator

flarco commented Oct 9, 2024

This is the proper way to input:

URL__FTPS:
    url: "ftp://<username>:<password>@<host>"
    ftps: true

Can you run with env var DEBUG=TRUE?

@guaripete-github
Copy link
Author

Got:

sling conns test URL__FTPS
DBG opened "ftp" connection (conn-ftp-GDN)
fatal:
~ unable to connect to ftp server
dial tcp <ip>:21: i/o timeout

I believe the server uses implicit FTPS (port 990) and not explicit FTPS (port 21)

Tried:

URL__FTPS:
    url: "ftp://<username>:<password>@<host>:990"
    ftps: true
DBG opened "ftp" connection (conn-ftp-X2j)
fatal:
~ unable to connect to ftp server
EOF

@flarco
Copy link
Collaborator

flarco commented Oct 10, 2024

Don't think it will make a difference, but just to try... can you specify type=ftp host, user, password, port keys instead of url? see https://docs.slingdata.io/connections/file-connections/ftp

@guaripete-github
Copy link
Author

Indeed, no difference:

  URL__FTPS:
    type: ftp
    host: <host>
    user: <user>
    port: 990
    password: <password>
    ftps: true
DBG opened "ftp" connection (conn-ftp-GRx)
fatal:
~ unable to connect to ftp server
EOF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants