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

XML Reader does not work properly #365

Open
AashishMTech opened this issue Aug 22, 2024 · 3 comments
Open

XML Reader does not work properly #365

AashishMTech opened this issue Aug 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@AashishMTech
Copy link

Issue Description

  • Description of the issue: getting error while connecting to sftp
    ssh: handshake failed: ssh: no common algorithm for key exchange; client offered: [curve25519-sha256 [email protected] ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha256 diffie-hellman-group14-sha1 ext-info-c [email protected]], server offered: [diffie-hellman-group-exchange-sha256

  • Sling version (sling --version): 1.2.14

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

  • Replication Configuration:

# replication.yaml

source: MY_SFTP
target: SNOWFLAKE

defaults:
  mode: truncate
  source_options:
    format: xml


streams:
  
  "sftp://host/IN/contract.xml":
    object: 'app_{USER_NAME}'
    single: true


 
env:
  SAMPLE_SIZE: 2000 # increase the sample size to infer types (default=900).
  SLING_STREAM_URL_COLUMN: true # adds a _sling_stream_url column with file path
  SLING_LOADED_AT_COLUMN: timestamp
  USER_NAME: '${USER_NAME}' 
  
  ...
  • Log Output (please run command with -d):
Paste log here.
ssh: handshake failed: ssh: no common algorithm for key exchange; client offered: [curve25519-sha256 [email protected] ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha256 diffie-hellman-group14-sha1 ext-info-c [email protected]], server offered: [diffie-hellman-group-exchange-sha256
@flarco
Copy link
Collaborator

flarco commented Aug 22, 2024

can you try latest dev build?

https://f.slingdata.io/dev/latest/sling_linux_amd64.tar.gz
https://f.slingdata.io/dev/latest/sling_darwin_arm64.tar.gz

@AashishMTech
Copy link
Author

This works, i am able to connect.

@AashishMTech
Copy link
Author

AashishMTech commented Aug 23, 2024

Auth works however, reading the xml files is giving below error now.

~ dataflow error while waiting for ready state ~ error in getting rows unhandled JSON interface type: <nil>

@flarco flarco changed the title SFTP does not support 'diffie-hellman-group-exchange-sha256' XML Reader does not work properly Aug 26, 2024
@flarco flarco added the bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants