lftp connection issues


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users lftp connection issues
# 1  
Old 05-23-2012
Error lftp connection issues

Hi guys,

We are receiving fatal error while trying to use lftp client to connect to an external server using ftps protocol. It seems to connect but when I issue 'ls' command, it fails with below error:

Code:
$ lftp -u  user,pwd ftps://<URL>:990/Submit
lftp user@URL:~> ls
ls: Fatal error: gnutls_handshake: An unexpected TLS packet was received.

Any ideas how this can be resolved? We are using version lftp 4.3.6 on AIX 5.3.

Thanks,
-NC


Here is the debug log:

Code:
FileCopy(300257a8) enters state INITIAL
FileCopy(300257a8) enters state DO_COPY
---- dns cache hit
---- Connecting to DUMMY URL (DUMMY IP) port 990
GNUTLS: REC[30042358]: Allocating epoch #0
GNUTLS: ASSERT: gnutls_constate.c:695
GNUTLS: REC[30042358]: Allocating epoch #1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_AES_128_CBC_SHA256
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_CAMELLIA_128_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_AES_256_CBC_SHA256
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_CAMELLIA_256_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_RSA_3DES_EDE_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_AES_128_CBC_SHA256
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_CAMELLIA_128_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_AES_256_CBC_SHA256
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_CAMELLIA_256_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_3DES_EDE_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: DHE_DSS_ARCFOUR_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_AES_128_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_AES_128_CBC_SHA256
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_CAMELLIA_128_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_AES_256_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_AES_256_CBC_SHA256
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_CAMELLIA_256_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_3DES_EDE_CBC_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_ARCFOUR_SHA1
GNUTLS: HSK[30042358]: Keeping ciphersuite: RSA_ARCFOUR_MD5
GNUTLS: EXT[30042358]: Sending extension SAFE RENEGOTIATION (1 bytes)
GNUTLS: EXT[SIGA]: sent signature algo (4.2) DSA-SHA256
GNUTLS: EXT[SIGA]: sent signature algo (4.1) RSA-SHA256
GNUTLS: EXT[SIGA]: sent signature algo (2.1) RSA-SHA1
GNUTLS: EXT[SIGA]: sent signature algo (2.2) DSA-SHA1
GNUTLS: EXT[30042358]: Sending extension SIGNATURE ALGORITHMS (10 bytes)
GNUTLS: HSK[30042358]: CLIENT HELLO was sent [112 bytes]
GNUTLS: REC[30042358]: Sending Packet[0] Handshake(22) with length: 112
GNUTLS: REC[30042358]: Sent Packet[1] Handshake(22) with length: 117
GNUTLS: REC[30042358]: Expected Packet[0] Handshake(22) with length: 1
GNUTLS: REC[30042358]: Received Packet[0] Handshake(22) with length: 81
GNUTLS: REC[30042358]: Decrypted Packet[0] Handshake(22) with length: 81
GNUTLS: HSK[30042358]: SERVER HELLO was received [81 bytes]
GNUTLS: HSK[30042358]: Server's version: 3.1
GNUTLS: HSK[30042358]: SessionID length: 32
GNUTLS: HSK[30042358]: SessionID: 9f20a9b67ffefa58c2c180c329ce25674755490ea1f5c55ebc98c7fef6b0e64c
GNUTLS: HSK[30042358]: Selected cipher suite: RSA_AES_128_CBC_SHA1
GNUTLS: EXT[30042358]: Parsing extension 'SAFE RENEGOTIATION/65281' (1 bytes)
GNUTLS: HSK[30042358]: Safe renegotiation succeeded
GNUTLS: ASSERT: gnutls_buffers.c:731
GNUTLS: REC[30042358]: Sent ChangeCipherSpec
GNUTLS: REC[30042358]: Sending Packet[1] Change Cipher Spec(20) with length: 1
GNUTLS: REC[30042358]: Sent Packet[2] Change Cipher Spec(20) with length: 6
GNUTLS: REC[30042358]: Initializing epoch #1
GNUTLS: INT: KEY BLOCK[104]: 39561aae3c4b5952a8bd445b974b21016ab57ba52eeb9ce7887dcebbc1d63d09
GNUTLS: INT: CLIENT WRITE KEY [16]: f7a3d48a3c610a115cb12a000e565d75
GNUTLS: INT: SERVER WRITE KEY [16]: 19671ac243a43e3d3a608403627eeff1
GNUTLS: REC[30042358]: Epoch #1 ready
GNUTLS: HSK[30042358]: Cipher Suite: RSA_AES_128_CBC_SHA1
GNUTLS: HSK[30042358]: Initializing internal [write] cipher sessions
GNUTLS: REC[30042358]: Start of epoch cleanup
GNUTLS: REC[30042358]: End of epoch cleanup
GNUTLS: HSK[30042358]: FINISHED was sent [16 bytes]
GNUTLS: REC[30042358]: Sending Packet[0] Handshake(22) with length: 16
GNUTLS: REC[30042358]: Sent Packet[1] Handshake(22) with length: 197
GNUTLS: ASSERT: ext_session_ticket.c:710
GNUTLS: REC[30042358]: Expected Packet[1] Change Cipher Spec(20) with length: 1
GNUTLS: REC[30042358]: Received Packet[1] Handshake(22) with length: 796
GNUTLS: REC[30042358]: Decrypted Packet[1] Handshake(22) with length: 796
GNUTLS: ASSERT: gnutls_handshake.c:3188
GNUTLS: ASSERT: gnutls_record.c:1122
GNUTLS: ASSERT: gnutls_handshake.c:2933
GNUTLS: ASSERT: gnutls_handshake.c:3139
**** gnutls_handshake: An unexpected TLS packet was received.
---- Closing control socket
GNUTLS: REC[30042358]: Epoch #0 freed
GNUTLS: REC[30042358]: Epoch #1 freed

Moderator's Comments:
Mod Comment Code tags for code, please.

Last edited by Corona688; 05-23-2012 at 01:13 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

lftp is not working.how to replace lftp with expect utility using same .cfg file.

We have lftp command inside shell file. which is intern calling .cfg file for transferring the file from one server to other. Below command to not working. lftp -e "set net:max-retries 1; set net:reconnect-interval-base 1; put -E -O /destinationdir/inbox/ /sourcedir/test.txt; bye" -u... (4 Replies)
Discussion started by: johnsnow
4 Replies

2. SuSE

Connection is broken because of underlying network issues

Hi Guys, I have two databases where I copy archivelog files from server A to server B frequently...yesterday we did the VM upgrade now...I am struggling to copy/ship the files from server A to server B... I manually tested the file transfer but the big files, e.g 46M, stall. I can copy small... (2 Replies)
Discussion started by: Phuti
2 Replies

3. UNIX and Linux Applications

VMware View Client Connection Issues

I installed the VMware View Client for Linux in Ubuntu and whenever I try and connect I recieve: Untrusted View Connection: Failed to connect to the View Connection Server. The server provided an invalid certificate. The certificate authority is invalid or incorrect. Having access to... (2 Replies)
Discussion started by: metallica1973
2 Replies

4. Shell Programming and Scripting

Rsync through java program - issues with remote connection failure

Hi Everybody, I am running rsync through my java application. The Java application will sync the files with remote machine. During our connection failure testing we noticed an issue running rsync through java program. The java application which is running at source side is not receiving any... (2 Replies)
Discussion started by: MVEERA
2 Replies

5. UNIX for Advanced & Expert Users

lftp: Option to lftp a file, wait and download a file as soon as its created

Please let me know what is lftp options combination to wait and download a file from target as soon as its gets created. I tried with different options but not able to get it working as I need any help would be appreciated (4 Replies)
Discussion started by: bmkux
4 Replies

6. UNIX for Dummies Questions & Answers

IP connection Bash script issues

Hello I need assistance with a bash script that needs to tell me whether in the last "x" days (which is a variable) anyone connected to the xxxx IP (which is another variable). Thank you! (1 Reply)
Discussion started by: Melchiah
1 Replies

7. UNIX for Advanced & Expert Users

Exceed connection issues

I'm trying to use Exceed 7.1 to connect to a Solaris server (T2000, running Solaris 10). What are the settings that should be specified on Solaris to enable this connectivity to happen? I'm getting connection issues. Is there a type of service that needs to be running? If sombody can give a... (1 Reply)
Discussion started by: Sunguy222
1 Replies

8. UNIX for Dummies Questions & Answers

Remote connection to HP-UX from Linux, GUI issues.

Not sure if that's the best thread title... anyway, working remotely on a HP-UX machine I often need a GUI window when executing remote software installs, and for this I use Cygwin/X on my Windows laptop which works perfectly. Connect via telnet, set DISPLAY, run installer, GUI appears locally -... (3 Replies)
Discussion started by: stefcha
3 Replies
Login or Register to Ask a Question