Author |
Message
|
firoj.badsa |
Posted: Tue May 07, 2013 6:32 am Post subject: not able to connect SFTP server |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
Hi experts,
I was trying to connect to a SFTP server using FileInput node (user id and password). But I see the flow gets hanged after deployment and not able to pickup the file from the source folder. Though I am able to connect through winScp and AIX sftp command line. What could be the issue?
We have couple of other SFTP connection similar way .. but not sure why this does not works.
Thanks in advance. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 07, 2013 6:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
the issue could be a lot of things.
Did you follow the correct documented steps for configuring SFTP access, including managing keystores and issuing any needed mqsisetdbparms commands? |
|
Back to top |
|
 |
firoj.badsa |
Posted: Tue May 07, 2013 8:11 am Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
Hi mqjeff,
Thanks for your quick reply. Yes, followed all the steps and similar to other interfaces we have (which works fine) .. Only this one we are having issue .. I do not see anything in syslog as well.. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 07, 2013 8:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
take a service trace at startup. |
|
Back to top |
|
 |
firoj.badsa |
Posted: Tue May 07, 2013 9:04 pm Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
Hi mqjeff,
Today I see some exception in my log -- "password authentication credentials invalid" .. But the same password works when we connect from winSCP. Any idea? |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Tue May 07, 2013 10:08 pm Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Does password contain special characters? If so use mqsisetdbparms command in interactive mode to set password correctly.
--
Marko |
|
Back to top |
|
 |
firoj.badsa |
Posted: Tue May 07, 2013 10:26 pm Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
Hi Marko,
thanks for your reply.. No, it does not contain any special character .. still I have put the password in interactive mode.. no luck  |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 08, 2013 4:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Have you confirmed that the security profile you created with mqsisetdbparms is the one being used (i.e. that the user being sent is the correct one)?
Do you have access to the server logs on the sftp site, to see if they can tell you what credential is not being passed or accepted? |
|
Back to top |
|
 |
firoj.badsa |
Posted: Wed May 08, 2013 5:09 am Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
@mqjeff,
Yes, I have double checked and entered the password interactively. I do not hae direct access to SFTP log. But when I asked them they said .. they see some rejected password failure. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 08, 2013 5:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
firoj.badsa wrote: |
@mqjeff,
Yes, I have double checked and entered the password interactively. I do not hae direct access to SFTP log. But when I asked them they said .. they see some rejected password failure. |
Does it tell them what userid is being presented?
I.e. it may be that you issued mqsisetdbparms for UserA, but this is not being picked up by the flow somehow, and so broker is sending UserB (and it's password). |
|
Back to top |
|
 |
firoj.badsa |
Posted: Wed May 08, 2013 5:14 am Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
One more thing to add, though I have used the default FileInput node properties and scan delay is 60 sec. But in syslog I see the exception message at every 1 hour.
File node 'File Input' in message flow 'testSFTP' cannot log in to remote 'SFTP' server 'transfer.wilkeglobal.com' with user name 'henkel'. Reason: 'password authentication credentials invalid'. : |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 08, 2013 6:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
ok, so is username 'henkel' the correct user name? |
|
Back to top |
|
 |
firoj.badsa |
Posted: Wed May 08, 2013 6:18 am Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
yes, User name is correct. |
|
Back to top |
|
 |
firoj.badsa |
Posted: Wed May 08, 2013 10:10 am Post subject: |
|
|
 Centurion
Joined: 16 Feb 2007 Posts: 104
|
SFTP server configured using GlobalScape EFT Standard Server running on Windows 2008 VMware. Could there be any incompatabilities between Websphere and the used sftp? |
|
Back to top |
|
 |
|