Receiver SFTP Channel giving error
Hi PI Experts,
My scenario is ECC->PI->SFTP server.
I am using Password based Authentication to send files to SFTP server using SFTP adapter.
Now SFTP adapter giving the error like "Message could not be forwarded to the JCA adapter. Reason: com.jcraft.jsch.JSchException: Auth failed".
I am able to login to SFTP server with provided User ID and Password through WinSCP tool. But when I tried to place files through SFTP adapter, it is throwing the above error.
I have configured the Server IP (not host name), Port and Server fingerprint.
I am using the PI7.31 SP08.
Could anyone please help me on this issue?
Thanks,
Govindu.
Hi Govindu,
The problem could be some things, check these notes
1945020 - SFTP Recevier channel throws UnsupportedOperationException
1514898 - XPI Inspector for troubleshooting XI
Regards.
Similar Messages
-
File Receiver Comm Channel in error
Hi All,
I am getting below error in my receiver communication channel -
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Unable to clone File Adapter receiver channel for parallel processing
This is just FiletoFile scenario. I am trying to use VARIABLE SUBSTITUTION here to give dynamic name to the file at receiver. I haven't use FCC here.
If I dont use VARIABLE SUBSTITUTION then scenario is working fine.
Thanks & Regards,
Rashmi JoshiHi Abhradeep,
I am getting new error now -
Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: Vname
I have changed the reference value as -
Emp_ID
payload:MT_File,1,Record,1,Emp_ID,1
Thanks & regards,
Rashmi Joshi -
Receiver FTP channel showing error
I am facing some bizarre error even though my target directory for target ftp location is correct
I checked all the parameters but didnt find out the issue.
I have attached the screenshot for Receiver file channel.
Please help and do reply.
Below is the error:-
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The parameter "argument" has the value "remote://\pos\Place/*20150422-183629-696.xml", so it contains the character "remote://\pos\Place/*20150422-183629-696.xml" which is not allowed: com.sap.exception.standard.SAPIllegalArgumentException: The parameter "argument" has the value "remote://\pos\Place/*20150422-183629-696.xml", so it contains the character "remote://\pos\Place/*20150422-183629-696.xml" which is not allowedHi Mahesh,
Have you trying to create a file with a wildcard like the asterisk '*'?. Try to avoid the asterisk to set the file name.
Regards. -
Receiver SFTP adapter giving spaces between characters in the Output file
Hi PI Experts,
My Scenario is: Paymul (EDI file ) ECC -> PI -> SFTP server.
Source Sender File adapter able to pickup this Paymul D96A file and able to send messages to target SFTP server using SFTP receiver adapter.
But, Generated Output file having single space between each character. I am not using any content conversion modules in Receiver SFTP adapter.
Also not having any mappings to transform the messages. it is just pass through interface.
I have attached example Output file. I have changed the .Dat file to .txt just to attach here.
Could any one try to help me on this. Please let me know incase need any more details.
Thanks,
Govindu.Hi Govindu,
Please see if the below Endcoding settings wont resolve your issue.
File Type - Text
File Encoding - ISO-8859-1
Regards,
Jannus Botha -
Receiver FTPS (Explicit) channel giving error while writing files.
Hi All,
We are facing an issue while using FTPS for writing a file to a partner location. Since this is the first time we are using FTPS, we went through some blogs and notes to configure the same, but still facing problems. Listed below are the steps undertaken for the configuration:
1. Got necessary ports opened on the firewall (the partner FTPS site uses explicit FTPS with control commands on port 21 and data on some custom ports).
2. Tested file transfer on FTPS using some FTPS client tools from the PI 7.11 server being used.
3. Uploaded the server SSL certificates in the NWA Keystore, Trusted CA view in both Base64 and normal formats (all certificates in the chain uploaded).
4. Configured the FTPS receiver channel for the CN name mentioned in the certificate, port 21, directory specified, NO X.509 client authentication (as that is not needed), AUTH TLS, USER,PASS,PBSZ,PROT as command order and using some authentication (user ID, Pwd for logging in).
But we are still getting the error:
'An error occurred while connecting to the FTP server 'xxxxxx.xxx.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Access denied.'. For details, contact your FTP server vendor..'
On the partner side we could not find any logs and from PI too we are not getting any more details than mentioned above. CAn some let us know any known resolutions to the issue or how to get more details from the trace in PI (we have already increased the trace level of the file adapter to error but nothing more useful is available in Java default trace than mentioned above).
Appreciate any help extended towards this.
Thanks in advance,
Avishek.
Edited by: Avishek Gorai on Feb 21, 2011 8:50 AMThank you all for your answers. I want to bring to your notice that the file transfer (using FTPS) is still working using commercially available FTP client tools from the PI server. So in my opinion issues like OS user not having authorization, incorrect user credentials and firewall issues are ruled out. We are facing issue only when using PI adapter for file transfer, this could be due to incorrect commands or command sequence being sent to the Server etc. which the server is rejecting and giving an unauthorized error.
We also tested this by giving incorrect pwd OR changing the command sequence, in which case the errors thrown were more specific and appropriate (like incorrect credentials OR AUTH TLS command missing).
The strange thing is that things work from the PI server when using FTP tools, but fails from PI adapters, which makes me feel there is some issue with the protocol or the setup.
Also please let me mention that we have ensured Java cryptographic toolkit is installed on the PI system being used. -
Regd : Communication Channel giving Error - RecoverableException ?
Hi @,
My sender file CC is failing to deliver the message and giving the below mentioned exception :
Transmitting the message to endpoint http://igdcsap:8005/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Timeout.
I searched for the HTTP error code also but not able to solve the issue .Urgent help is required .
thanks in advance
RegardsHi amit,
As i understood...your file is picked up and your getting an error message in RWb--> message monitoring...For this refresh your SXI_CACHE(Tcode) ---then go to menu start delta cache refresh ..its suppose to be in green color and then ..keep the file in same send folder..
Note: Reward points if its helpfull..
Kumar -
Hi All,
We are facing issue in receiver SFTP scenario, sender is a simple flat file and receiver is SFTP.
In the receiver SFTP channel we are getting below error:
Delivery of the message to the application using connection SFTP_http://sap.com/xi/XI/SFTP failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: 2: Putting /rbs.txt failed.
Through winscp tool, I am able to open the SFTP location and place the file manually.But facing issue while trying to place the file through PI receiver SFTP channel.
Thanks in advance.
Best Regards,
VigneshHi Venkat,
I have tried your option but still I am getting same error.
Hi Rudra,
One more SFTP scenario is present in our landscape and it is working fine without any issues.
Also, I am not getting any usefull link regarding this error.
.MessagingException: javax.resource.ResourceException: 2
Please provide your input.
Best Regards,
Vignesh. -
Hi,
I am doing a simple file pass through using PI (File-PI-SFTP) and not using ESR.
I have two requirements -
1. The target file name should be in the format xyz_yyyymmdd.dat
The standard function with the receiver SFTP channel is to get the timestamp but I don't require timestamp.
Could anyone please let me know if I can get the file name format (xyz_yyyymmdd.dat) without using any mapping?
2. I am using certificates, but still the channel requires a User Name (it is a mandatory field). I am unable to understand why I need User Name even if I am using certificates? Is there a way of avoiding that?
Any help will be highly appreciated.
Thanks,
AbhiQuestion 1
Have you seen this wiki page?
http://wiki.sdn.sap.com/wiki/display/Snippets/DynamicfilenameinaFiletoFilepassthroughscenario
2. I am using certificates, but still the channel requires a User Name (it is a mandatory field). I am unable to understand why I need User Name even if I am using certificates? Is there a way of avoiding that?
You might want to try anonymous ssl mode. This might not require credentials. But certificate authentication looks for the user credentials. Take help from BASIS.
Edited by: Baskar Gopal on Mar 6, 2012 4:53 PM -
FTP error: Receiver Communication Channel
Hello Experts,
I am getting the following FTP error in my Receiver Communication Channel.
Error occurred while connecting to FTP server: Peer certificate rejected by ChainVerifier
Please suggest.
Thanks,
AnupHi Anup,
Problem is with FTPS and not FTP.The SSL handshake needs to confirm that the FTPS client is using the FTPS server's DNS name to access the FTP service since only the DNS name of the FTPS server is stored in the certificate signed by the trusted CA (e.g. VeriSign). it's the way the Certification Authorities works.
If you are using any IP address then try with your host name.
Regards,
Madan -
Receiver SOAP channel error-- Cant parse the document; HTTP 200 OK
Hi All,
I am facing below error in SOAP receiver communication channel
SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Cant parse the document; HTTP 200 OK
If I use "Do Not se SOAP Envelop" in receiver communication channel then it shows successfully delivered in message monitoring but never reached to target application. And if I uncheck "Do Not se SOAP Envelop" then the error is as I mentioned above.
Both ways it not working foe me.
Please advice.
Thanks
ShiviHi
I had a similar issue recent times and I have enablede the xpi inspector to check the logs of the request and the response sent and received...
Based on that you can check whether your payload is able to sent to receiver in proper format or any other issues..
Also try to check the payload format using the SOAPUI whether the ws is working fine for that or not.
HTH
Rajesh -
"known hosts store" parameter in SFTP channel
Hi Experts,
I am working on Seeburger SFTP adapter and want the information on its configuration.
My scenario is IDOC to SFTP, I have configured the receiver SFTP channel.
But there is a parameter 'Known hosts store' in it, please let me know what is it and what value needs to be put.
I am using 'Password' as Authentication method.
Your help is highly appreciated.
-Supriya.Hi Supriya,
This parameter contains the information about the path on PI server where certificates of remote hosts (server where u r actually connecting to for data transfer from PI) have been stored.
You can check for complete path from NWA for Key storage service view paramaters. The value for this entry should start with "USERS\viewname\*".
Please let me know if still there is an issue in understanding about this!
Thanks,
Anoop Garg -
View Channel disconnected error
Hi Everyone,
I received a Channel disconnected error, how can I view where the error is occuring? Is that possible?
WesleyI finally figured out what I was doing wrong. I was following davidflex's insturction at http://forums.adobe.com/thread/875709 and did not realize that I ahve to set host = "localhost:8889" in my php that connects to my remote mysql server. It's tricky because sicen it's remote server, you should set host = your domain, but that's not right. As davidflex said you need to set host = "local:8889" since your gateway.php is also running on the remote server.
I stumbled for several weeks and hope someone else won't get stuck like I did for serveral weeks. -
Error in the SOAP Receiver communication channel
Hi ,
My scenario is RFC - to -SOAP (synchronous ) i have specified the TARGET URL inthe SOAP receiver comminication chanel.. but while testing the interface by providing the test data from R/3 .. I'm not getting any Respose.. ..
If I check in the SXMB_MONI in i'm getting the following message .. but the URL whicjh i provided that is fine.. but my doubt is through XI may be it's not able to connect the Target System... .. so, please suggest me...
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: www.webservicex.net</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
regards
JainBy default, the SOAP adapter sends the SOAP message with the content type text/xml.
When you check "Do not use SOAP envelope", the default contnet type is application/xml.
You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
Check out this
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
One way of testing ur scenario
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
Also have a look here
SAP Note 856597
reward points if solution found helpfull
regards
chandrakanth -
Error in Receiver Communication Channel in FCC
I have a simple scenario of Proxy to File. I have to just one field in complete row. So my structure is as below : MT_RecordIB -> Records. So my XSD looks like this :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://XXXl.com/INF31018/SAPSerOrd_DaysIn" targetNamespace="http://hnwl.com/INF31018/SAPSerOrd_DaysIn">
<xsd:element name="MT_RecordIB" type="DT_RecordIB" />
<xsd:complexType name="DT_RecordIB">
<xsd:sequence>
<xsd:element name="Records" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
I have used FCC and the parameters are :
Recordset Structure Records
Records.fieldSeparator 'nl'
But I am getting following error in Receiver Communication Channel :
Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_RecordIB' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.21)
Thanks,
Pankaj SinghHey Pankaj,
Your content conversion parameter might be configured improperly.
Refer this blogs
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Refer the following threads for your problem
[ Unknown structure 'ns0:MT_dbglgtr_FileName' found in document'|Unknown structure 'ns0:MT_dbglgtr_FileName' found in document']
Rgds
Ramesh -
File not found error in SFTP channel
Hi All,
We are getting a "file not found error " while using a SFTP sender channel .
Our Scenario :
We are using SFTP as the source adapter .Presently we are using two nodes for load balancing for all the sender channels.
One of the node's of the SFTP channel is picking the file , while the other node at the same time is throwing a "File not found error".
The file is being picked and is placed at the target, but the channels are in error state as one of the nodes is in error state.
Please let me know, if we did any mistake while configuring the adapter.
Thanks,
YamunanHi,
Could you please check if you have provided right path in your sender communication channel...to pick the file from...
Regards,
Naveen.
Maybe you are looking for
-
Help, HD Video Out From Timeline? How?
Hi What is the Solution for play out footage from the timeline in Final Cut Pro HD-Video out to a HD LCD Monitor? Canopus has no solution, and I was looking at the Aja hardware also. I need HDMI out I think ? Your thoughts on what works? Thanks, Tim
-
Has anyone dealt with either Paypal Advanced or iShop as a payment gateway?
If so, does Business Catalyst has a tutorial or article on either of them? I haven't been able to find one. Chuck
-
Hi I have a billing date "0Bill_date" in Billing ods report. Now there is a billing creation date "0createdon" so i am required to create the variable on billing date "0Bill_date" to capture the invoces if created date is different like bill date 01/
-
I CANT CHANGE MY SETTING IN ACCESSEBILTY. MY IPHONE IS TALKING TO ME AND I CAN NOT SCROLL TO CHANGE
-
Failed Hardware and software inventory
My cllientes are all reporting to the console normally, but the inventory of hardware and sotware stopped reporting, validei the InventoryAgent.log and has no error, someone has gone through this problem?