OTA-HTTP-SEND-401 Error
Hi,
We're getting a 401 error message from a Trading Partner (TP). They say there is no password required to get to their website. From their end, the request doesn't send a certificate with it. The TP certificate has 2048 keysize, while the wallet and our other TPs have 1024 keysize.
Could the problem be with the transport endpoint or the TP certificate?
Here is the error from the b2b.log:
2009.05.05 at 15:06:03:520: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking PackMessage
2009.05.05 at 15:06:03:520: Thread-15: B2B - (DEBUG) MimePackaging:pack:Enter
2009.05.05 at 15:06:03:525: Thread-15: B2B - (DEBUG) MimePackaging:createMimeMessage:Enter
2009.05.05 at 15:06:03:535: Thread-15: B2B - (DEBUG) MimePackaging:createMimeMessage:number of pc components: 1
2009.05.05 at 15:06:03:535: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:Enter
2009.05.05 at 15:06:03:560: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:header name-value: Content-Type-application/EDI-X12; name=004010
2009.05.05 at 15:06:03:560: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:header name-value: Content-Disposition-attachment; filename=004010
2009.05.05 at 15:06:03:561: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:header name-value: Content-Transfer-Encoding-binary
2009.05.05 at 15:06:03:562: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Enter
2009.05.05 at 15:06:03:562: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Exit
2009.05.05 at 15:06:03:563: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:Exit
2009.05.05 at 15:06:03:690: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:03:691: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:03:785: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Enter
2009.05.05 at 15:06:03:786: Thread-15: B2B - (DEBUG) MimePackaging:createSignedMimeBodyPart:Enter
2009.05.05 at 15:06:03:787: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Entering...
2009.05.05 at 15:06:03:788: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Leaving...
2009.05.05 at 15:06:03:788: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setSignatureAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:03:788: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setSignatureAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:03:789: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:03:789: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:03:789: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
2009.05.05 at 15:06:03:790: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate
2009.05.05 at 15:06:03:790: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /hub02/app/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default
2009.05.05 at 15:06:03:802: Thread-15: B2B - (DEBUG) Utility:getPrivateKey:Enter
2009.05.05 at 15:06:04:928: Thread-15: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
2009.05.05 at 15:06:04:931: Thread-15: B2B - (DEBUG) Utility:getPrivateKey:Exit
2009.05.05 at 15:06:04:964: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Entering...
2009.05.05 at 15:06:04:964: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Leaving...
2009.05.05 at 15:06:04:965: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Entering...
2009.05.05 at 15:06:04:965: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Leaving...
2009.05.05 at 15:06:04:965: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: encode Entering...
2009.05.05 at 15:06:04:966: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: encode Leaving...
2009.05.05 at 15:06:04:967: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Leaving...
2009.05.05 at 15:06:04:967: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo Entering...
2009.05.05 at 15:06:04:968: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo Leaving...
2009.05.05 at 15:06:04:982: Thread-15: B2B - (DEBUG) MimePackaging:createSignedMimeBodyPart:Exit
2009.05.05 at 15:06:04:982: Thread-15: B2B - (DEBUG) MimePackaging:createEncryptedMimeBodyPart:Enter
2009.05.05 at 15:06:04:985: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Entering...
2009.05.05 at 15:06:04:985: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Leaving...
2009.05.05 at 15:06:04:986: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:04:986: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:04:987: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionCertificate Entering...
2009.05.05 at 15:06:04:988: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Entering...
2009.05.05 at 15:06:04:988: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Leaving...
2009.05.05 at 15:06:04:989: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Entering...
2009.05.05 at 15:06:04:989: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Leaving...
2009.05.05 at 15:06:04:989: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: decode Entering...
2009.05.05 at 15:06:04:997: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: decode Entering...
2009.05.05 at 15:06:04:997: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionCertificate Leaving...
2009.05.05 at 15:06:04:997: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: encrypt Entering...
2009.05.05 at 15:06:05:006: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: encrypt Leaving...
2009.05.05 at 15:06:05:007: Thread-15: B2B - (DEBUG) MimePackaging:createEncryptedMimeBodyPart:Exit
2009.05.05 at 15:06:05:007: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Exit
2009.05.05 at 15:06:05:008: Thread-15: B2B - (DEBUG) MimePackaging:createMimeMessage:Exit
2009.05.05 at 15:06:05:013: Thread-15: B2B - (DEBUG) MimePackaging:getMimeContent:Enter
2009.05.05 at 15:06:05:014: Thread-15: B2B - (DEBUG) MimePackaging:getMimeContent:Exit
2009.05.05 at 15:06:05:014: Thread-15: B2B - (DEBUG) MimePackaging:pack:Exit
2009.05.05 at 15:06:05:019: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking Pre-Transmit
2009.05.05 at 15:06:05:019: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Enter
2009.05.05 at 15:06:05:020: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Log & Update Database Tables
2009.05.05 at 15:06:05:020: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Update the Message Table Row with message state Wait for Incoming Acknowledgment
2009.05.05 at 15:06:05:021: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create a Native Event Table row for outgoing Request Message
2009.05.05 at 15:06:05:021: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Enter
2009.05.05 at 15:06:05:023: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:insertNativeEvtTblRow msgInfo.id = <1396700:0:[email protected]>
2009.05.05 at 15:06:05:023: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:protocl id set A
2009.05.05 at 15:06:05:024: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:insertNativeEvtTblRow protocolCollabId = null
2009.05.05 at 15:06:05:357: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:05:357: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
2009.05.05 at 15:06:05:366: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
2009.05.05 at 15:06:05:387: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:05:388: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
2009.05.05 at 15:06:05:408: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
2009.05.05 at 15:06:05:408: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Exit
2009.05.05 at 15:06:05:419: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:05:420: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2009.05.05 at 15:06:05:431: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2009.05.05 at 15:06:05:432: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create Event Table row for Message Retries
2009.05.05 at 15:06:05:433: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit timeToAck = Wed Dec 31 18:00:00 PST 1969
2009.05.05 at 15:06:05:437: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Enter
2009.05.05 at 15:06:05:463: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Event Type = 2
2009.05.05 at 15:06:05:463: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow EventId = 12
2009.05.05 at 15:06:05:463: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Id = 1396700:0:221
2009.05.05 at 15:06:05:468: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Exit
2009.05.05 at 15:06:05:472: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Current TimeStamp isTue May 05 15:06:05 PDT 2009
2009.05.05 at 15:06:05:473: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Retry shall happen at Tue May 05 17:06:05 PDT 2009
2009.05.05 at 15:06:05:473: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit business transaction info name null revision null
2009.05.05 at 15:06:05:474: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Exit
2009.05.05 at 15:06:05:474: Thread-15: B2B - (DEBUG) DBContext commit: Enter
2009.05.05 at 15:06:05:482: Thread-15: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.05.05 at 15:06:05:483: Thread-15: B2B - (DEBUG) DBContext commit: Leave
2009.05.05 at 15:06:05:483: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2009.05.05 at 15:06:05:484: Thread-15: B2B - (DEBUG) Protocol Name: HTTPS
2009.05.05 at 15:06:05:484: Thread-15: B2B - (DEBUG) Version Name: 1.1
2009.05.05 at 15:06:05:484: Thread-15: B2B - (DEBUG) Endpoint: https://tp.com:88/invoke/tp.receive/as2
2009.05.05 at 15:06:05:485: Thread-15: B2B - (DEBUG) using SSL
2009.05.05 at 15:06:05:486: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTPS://TP.COM:88/INVOKE/TP.RECEIVE/AS2
2009.05.05 at 15:06:05:487: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 502 https://tp.com:88/invoke/tp.receive/as2
2009.05.05 at 15:06:05:487: Thread-15: B2B - (DEBUG)
Protocol = HTTPS
Version = 1.1
Transport Header
Content-Transfer-Encoding:binary
Message-ID:<1396700:0:[email protected]>
MIME-version:1.0
Receipt-Delivery-Option:https://b2bserver.edu:55/b2b.IP_OUT_QUEUE
From:096997515
Disposition-Notification-To:[email protected]
AS2-To:ZZ043073964T
User-Agent:AS2 Server
Date:Tue, 05 May 2009 22:06:01 GMT
Disposition-Notification-Options:signed-receipt-protocol=required, pkcs7-signature; signed-receipt-micalg=required, sha1
AS2-From:096997515
AS2-Version:1.1
Content-Type:application/pkcs7-mime; smime-type="enveloped-data"
Connection:close
Parameters
-- listing properties --
http.sender.timeout=0
2009.05.05 at 15:06:05:847: Thread-15: B2B - (DEBUG) scheme null userName null realm null
2009.05.05 at 15:06:07:519: Thread-15: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-401
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :401
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:748)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:560)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:284)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:837)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1666)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:331)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:206)
2009.05.05 at 15:06:07:520: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2009.05.05 at 15:06:07:520: Thread-15: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2009.05.05 at 15:06:07:521: Thread-15: B2B - (DEBUG) DBContext beginTransaction: Enter
2009.05.05 at 15:06:07:521: Thread-15: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2009.05.05 at 15:06:07:522: Thread-15: B2B - (DEBUG) DBContext beginTransaction: Leave
2009.05.05 at 15:06:07:523: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :401
[IPT_HttpSendError] HTTP encounters send error :401
2009.05.05 at 15:06:07:532: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:07:533: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2009.05.05 at 15:06:07:540: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2009.05.05 at 15:06:07:540: Thread-15: B2B - (DEBUG) DBContext commit: Enter
2009.05.05 at 15:06:07:543: Thread-15: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.05.05 at 15:06:07:544: Thread-15: B2B - (DEBUG) DBContext commit: Leave
2009.05.05 at 15:06:07:544: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
2009.05.05 at 15:06:07:545: Thread-15: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
***** REQUEST MESSAGE *****
Exchange Protocol: AS2 Version 1.1
Transport Protocol: HTTPS
Unique Message ID: <1396700:0:[email protected]>
Trading Partner: ZZ043073964T
Message Signed: RSA
Payload encrypted: 3DES
Attachment: None
***** REQUEST MESSAGE *****
2009.05.05 at 15:06:07:546: Thread-15: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Exit
2009.05.05 at 15:06:07:546: Thread-15: B2B - (DEBUG) DBContext commit: Enter
2009.05.05 at 15:06:07:546: Thread-15: B2B - (DEBUG) DBContext commit: Leave
2009.05.05 at 15:06:07:548: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppInterfaceListener:onMessage processOutgoingMessage was successful, returning transport ACK to the transport layer
Thankyou,
Lavar
When I telnet to the host, I get (Connection to tp.com closed by foreign host.
I went to the TP URL and save the certificate as Base 64. I then loaded that into my wallet as a Trusted Certificate.
I see TP.com in the wallet as a Trusted Certificate with an expiration date of July 28, 2010 and Key Size 2048.
We still get the same 401 error message. The TP is saying that we are not receiving a certificate on their end. I guess that means there is a problem with encoding and encryption.
I loaded the TP Verisign certificate into my browser as a CA Root.
Now I get a pop up box, when I go to the website that wants me to choose a digital certificate.
There are not any digital certificates to choose from, so I can only click OK or Cancel.
After clicking OK or Cancel, I get prompted for a password.
There seems to be trust isses between our server and the TP's server. :)
I asked the trading partner to send me their Root certificate, in case they have a different Verisign certificate.
Thank you,
Lavar
Similar Messages
-
OTA-HTTP-SEND-1005 Error while sending to destination B2B
Hi,
While sending ebxml message to destination B2B, we are getting error as
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-1005
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendConnectionRefused] HTTP connection is refused.
I tried opening opening https://<hostname>:443/b2b/transportServlet url in the browser and could see that destination B2B was accepting connections.
I went through few threads in forum which suggests that difference in RMI port number may cause this issue. But that is not same in my case. I have the same port number in both tip.properties and web.xml.
Please find below the extract of my b2b.log.
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) Protocol Name: HTTPS
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) Version Name: 1.1
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) Endpoint: https://<hostname>:443/b2b/transportServlet
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) using SSL
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTPS://<hostname>:443/B2B/TRANSPORTSERVLET
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 502 https://<hostname>:443/b2b/transportServlet
2010.07.09 at 08:09:12:248: Thread-23: B2B - (DEBUG)
Protocol = HTTPS
Version = 1.1
Transport Header
DOCTYPE_NAME:rqRequestIncidentReportAmend_DT
SOAPAction:"ebXML"
TO_PARTY:229736194
DOCTYPE_REVISION:1.0
ACTION_NAME:rqRequestIncidentReportAmend
FROM_PARTY:001316827
Content-Type:multipart/related;type="text/xml";boundary="----=_Part_14_26794447.1278677352170";start="<ebxheader-C02C7BC9129B71BFE2E00000F2690000>"
Content-Length:7520
Parameters
-- listing properties --
http.sender.timeout=0
2010.07.09 at 08:09:12:279: Thread-23: B2B - (DEBUG) scheme null userName null realm null
2010.07.09 at 08:09:33:467: Thread-23: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-1005
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendConnectionRefused] HTTP connection is refused.
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:629)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1050)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1758)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1194)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:913)
at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:326)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:154)
at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:3916)
2010.07.09 at 08:09:33:467: Thread-23: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2010.07.09 at 08:09:33:467: Thread-23: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2010.07.09 at 08:09:33:467: Thread-23: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.07.09 at 08:09:33:467: Thread-23: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2010.07.09 at 08:09:33:467: Thread-23: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.07.09 at 08:09:33:467: Thread-23: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendConnectionRefused] HTTP connection is refused.
Connection timed out: connect
2010.07.09 at 08:09:33:467: Thread-23: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2010.07.09 at 08:09:33:482: Thread-23: B2B - (DEBUG) Engine:notifyApp Enter
2010.07.09 at 08:09:33:482: Thread-23: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = null
2010.07.09 at 08:09:33:482: Thread-23: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>null</correlationId>
<b2bMessageId>C02C7BC9129B71BF76800000F268FE00</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: [IPT_HttpSendConnectionRefused] HTTP connection is refused.
Connection timed out: connect</errorText>
<errorDescription>
<![CDATA[Machine Info: (BDC-EXTRA107)
Transport error: [IPT_HttpSendConnectionRefused] HTTP connection is refused.
Connection timed out: connect ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
2010.07.09 at 08:09:33:498: Thread-23: B2B - (DEBUG) Engine:notifyApp Exit
2010.07.09 at 08:09:33:498: Thread-23: B2B - (DEBUG) DBContext commit: Enter
2010.07.09 at 08:09:33:498: Thread-23: B2B - (DEBUG) DBContext commit: Transaction.commit()
Kindly suggest us on what could be the issue here and a possible resolution.
Thanks in advance.
Regards,
NagasudhanRe: Outbound HTTP - Connection fails Hi,
I got my issue resolved. I refered to a similar post on the forum. All I had to was adding proxy settings in tip.properties. For benefit of others I'm pasting the link I've refered to.
Re: Outbound HTTP - Connection fails
Regards,
Nagasudhan -
HTTP Status 401 error download sdk
So I guess I'm missing the secret sauce here. I log into the portal and click the purple button to download the sdk but all I get is a HTTP Status 401 error:
type Status report
message
description This request requires HTTP authentication ().
Same thing happens on firefox, safari, and ie 8. Anyone else run into this?
Thanks,
EricHah fixed my own problem I guess. I had to create a new account not login with my existing adobe developer account. Not sure why that didn't work but I got what I wanted.
-
Redirect HTTP 404, 401 errors to custom html pages ?
Does anyone know how to set up Weblogic 6.1 to TRAP and REDIRECT http 404, 401 etc error messages to custom predefined friendly html pages on the server ?? Here, WL takes http requests directly and outputs the results directly back to the browsers (not going through a proxy server like IPlanet or other web servers).
So how do I trap HTTP error messages in WL and redirects them to my own custom error pages ??
Help!Hi Aswin,
Vintela libraries changed in SP3. Usually a 404 error means:
- Typo in any of the xml tags (you can check opening it in IE)
- Typo in the SPN (cannot be found). However, you mention seeing in stdout.log "credentials obtained" so it looks that's fine
- If you are using keytab, comment those lines in web.xml and use the password in Tomcat > Java
If nothing mentioned above solve the issue, I will suggest you to enable debug in Tomcat and post here the stdout.log
Regards,
Julian -
HTTP Unauthorized 401 Error when calling custom code Workflow-Activity (SharePoint 2013)
Hi,
from one day to the other the custom code activity within a SP2013 workflow gives me the following error:
Activity in progress Retrying last request.
Next attempt scheduled in less than one minute.
Details of last request:
HTTP Unauthorized to
http://server/subsite/_vti_bin/client.svc/sp.utilities.utility.ResolvePrincipalInCurrentcontext([email protected],scopes='15',sources='15',inputIsEmailOnly='false',addToUserInfoList='False')?%40ParamUser='i%3A0%23.w%7Csp2013-dev%5Cadministrator'
Correlation Id: 9d507c00-1e24-af73-fcea-faa4a0a61ae1
Instance Id: 5c91916e-918b-453a-bf48-e61649afa3d0
After some time the workflow gets cancelled automatically. The custom code activity ran many times before without any errors.
Thanks a lot in advance!Hello,
this KB could help also:
HTTP Unauthorized to /_vti_bin/client.svc/sp.utilities.utility.SendEmail
Regards,
Alex
Alex Pitulice, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip
„IT-Pros helfen IT-Pros“ beruht, kein technischer Support geleistet werden kann
oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können. -
SCCM 2012 - Error sending DAV request. HTTP code 401, status 'Unauthorized'
Hi everyone!
I have a SCCM 2012 install with SQL 2008 R2 RU6 on it. All roles on the same server.
Application deployment was working last week and suddently, today, it's not working anymore.
Client fail to download applications. When I see the log "dataTransfertService.log" I got:
<![LOG[Enumerating DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.388-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:135">
<![LOG[Enumeration of DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:151">
<![LOG[Enumerating DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:154">
<![LOG[Enumeration of DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.939-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:170">
<![LOG[UpdateURLWithTransportSettings(): OLD URL - http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3083">
<![LOG[UpdateURLWithTransportSettings(): NEW URL - http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3095">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} created to download from 'http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' to 'C:\WINDOWS\ccmcache\3f'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="datatransferservice.cpp:186">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'DownloadingManifest'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="2432" file="dtsjob.h:157">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.281-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.297000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.297-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} impersonating Network Access Account.]LOG]!><time="16:48:32.825-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.cpp:429">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.887000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} reverted impersonation.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.h:93">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'Cancelled'.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.h:157">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} cancelled by client.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.cpp:2771">
I already verified every single permissions, NAA is configured and has correct rights. I really don't understand what has changed...
any suggestion???
Thank you very much!SMS_DP_SMSPKG$ has Windows Authentication Enabled.
IIS Logs:
2012-07-23 15:10:08 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 339
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 38
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 166
2012-07-23 15:11:38 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 1
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 0
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 1 3221225581 11
2012-07-23 15:11:39 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 384
2012-07-23 15:13:01 fe80::31df:ba5:7c1:caf6%11 GET /SMS_MP/.sms_aut MPLIST 80 - fe80::31df:ba5:7c1:caf6%11 SMS_MP_CONTROL_MANAGER 200 0 0 4
2012-07-23 15:13:11 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.29.73.101 ccmhttp 401 2 5 6
2012-07-23 15:14:01 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.82.72 ccmhttp 200 0 0 23
2012-07-23 15:15:40 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 348
2012-07-23 15:15:55 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 363
2012-07-23 15:16:12 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.29.73.101 ccmhttp 200 0 0 393
2012-07-23 15:17:06 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.28.81.79 ccmhttp 401 2 5 0
In "ContentTransferManager.log" i see that error:
<![LOG[Starting CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}.]LOG]!><time="17:11:38.999-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmjob.cpp:2980">
<![LOG[Created CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} for user S-1-5-18]LOG]!><time="17:11:39.030-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmanager.cpp:487">
<![LOG[Created and Sent Location Request '{996973D0-911C-4929-BE9D-39CB4D759265}' for package Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332"
file="ccmpkglocation.cpp:83">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:1432">
<![LOG[Queued location request '{996973D0-911C-4929-BE9D-39CB4D759265}' for CTM job '{1C23F5FF-8ED3-43D2-91ED-169F82A24E89}'.]LOG]!><time="17:11:39.139-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:151">
<![LOG[Persisted locations for CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}:
(LOCAL) <a href="http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120">http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120" date="07-23-2012"
component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:1894">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} (corresponding DTS job {D22196C4-A803-42F4-B4FD-6F5FA777A778}) started download from 'http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' for full content download.]LOG]!><time="17:11:39.514-120"
date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:413">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.577-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5188" file="ctmjob.cpp:1432">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} encountered error 0x80070005 during download ('Error processing manifest.')- The error maps to denied access.]LOG]!><time="17:11:40.217-120" date="07-23-2012" component="ContentTransferManager"
context="" type="3" thread="5400" file="ctmjob.cpp:2489"> -
HTTP Sender Adapter 401 Unauthorised
Hi,
I am using a sender HTTP Adapter of PI 7.1
when I use the link in browser it gives me 401 unauthorised error.
but when i use the test tool from one of the blogs it gives me the response properly.The link is
http://<host>:<port>/sap/xi/adapter_plain?namespace=http%3A//rediff/ProjectSTAR/Vendor&interface=SI_SYN_OU_TO_TO_SAP&service=BS_VENDOR&party=&agency=&scheme=&QOS=BE&sap-user=piappluser&sap-password=redi#pid12&sap-client=210&sap-language=EN
This link when I copy paste in browser leads to a login popup asking for credentials.
When I enter the proper credentials , It gives 401 error .
Same happens when I use it in a Java code for HTTP connection. -
HTTP 401 error while connecting SAP PI 7.1 with SOAPAdapter
Hello,
I am trying to call webservice on R/3 system using SAP PI 7.1 but I am getting HTTP 401 error.
Following is the error for more detail:
Message: Server returned error code = 401 for URI : http://sapxx03x:50000/XISOAPAdapter/MessageServlet?channel=:BS_xxxxxxxxxxx_50:CC_xxxxxxxxxxxxx_WSDL_Sender.
same url when I use with SAP XI 3.0 it works fine. It is only giving problem with PI 7.1
I know this issue is related to authentication but what problem I am facing is how to pass the credentical with the url to
resolve this authentication issue? Are there any settings I am missing? or Any other way of doing it?
I have already tried following things to resolve this issue:
1. tried giving user id & password in URL but still having same error HTTP 401.
2. tried one of the SAP note (891877) regarding Netweaver Administration to change ROLE settings but problme still persist.
3. Checked SAP Help settings
4. Did changes to web.xml file to comment the security part and restarted the system
But, Problem still exist.
Please let me know what will be the solution for this issue.
Thanks,
AnandHello Abhishek,
Fine I will try using new URL but user id & password are working fine with PI 7.1.
I tried running URL directly and it is working fine and giving following message:
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.adapter.soap.web.MessageServlet (Version $Id: //tc/xpi.adapters/NWxx_xx_xxx/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of $Proxy45_10002
ModuleProcessorRemote not instantiated
Any other pointers,
Thanks,
Anand -
Http 401 error starting a managed server
Hi,
I'm new to wl and am setting up a managed server on wl6.0.
I read and followed the instructions in the admin guide - really!
I have an admin server running under the petstore domain,
on port 7001 and am trying to run a managed server under
"devdomain".
Below is the java command my startup script is using
to start the managed server. It is failing with a security
error (http 401). I don't see anything in the dox about an
additional userid/password control at the http level.
When I browse directly to http://webdev:7001/Bootstrap,
I get http password pop-up. The system userid and password
does not work.
What dox can I go to for help on this?
Thx
Jim Brockman
java -ms64m -mx64m -classpath
/opt/bea/wlserver6.0:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlser
ver6.0/lib/weblogic.jar:/opt/bea:/opt/bea/wlserver6.0/lib/jdbctype4drivers/c
lasses12.zip -Dweblogic.Domain=devdomain -Dweblogic.Name=devserver -Dweblogi
c.management.server=webdev:7001 -Djava.security.policy=/opt/bea/wlserver6.0/
lib/weblogic.policy -Dweblogic.management.username=system -Dweblogic.managem
ent.password=xxxxxxxx weblogic.Server
Starting WebLogic Server ....
Connecting to http://webdev:7001...
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException:
connecting to http://webdev:7001/Bootstrap/ - with nested exception:
[weblogic.net.http.HttpUnauthorizedException: 401]
weblogic.net.http.HttpUnauthorizedException: 401
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
8)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
at
weblogic.management.Admin.getBootstrapLocalServer(Admin.java:825)
at weblogic.management.Admin.initialize(Admin.java:274)I solved the problem in this command.....
/opt/bea/wlserver6.0:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlser
ver6.0/lib/weblogic.jar:/opt/bea:/opt/bea/wlserver6.0/lib/jdbctype4drivers/c
lasses12.zip -Dweblogic.Domain=devdomain -Dweblogic.Name=devserver -Dweblogi
c.management.server=webdev:7001 -Djava.security.policy=/opt/bea/wlserver6.0/
lib/weblogic.policy -Dweblogic.management.username=system -Dweblogic.managem
ent.password=xxxxxxxx weblogic.Server
When I put the password in the script, the problem is disapeared...
Jim Brockman wrote:
Hi,
I'm new to wl and am setting up a managed server on wl6.0.
I read and followed the instructions in the admin guide - really!
I have an admin server running under the petstore domain,
on port 7001 and am trying to run a managed server under
"devdomain".
Below is the java command my startup script is using
to start the managed server. It is failing with a security
error (http 401). I don't see anything in the dox about an
additional userid/password control at the http level.
When I browse directly to http://webdev:7001/Bootstrap,
I get http password pop-up. The system userid and password
does not work.
What dox can I go to for help on this?
Thx
Jim Brockman
java -ms64m -mx64m -classpath
/opt/bea/wlserver6.0:/opt/bea/wlserver6.0/lib/weblogic_sp.jar:/opt/bea/wlser
ver6.0/lib/weblogic.jar:/opt/bea:/opt/bea/wlserver6.0/lib/jdbctype4drivers/c
lasses12.zip -Dweblogic.Domain=devdomain -Dweblogic.Name=devserver -Dweblogi
c.management.server=webdev:7001 -Djava.security.policy=/opt/bea/wlserver6.0/
lib/weblogic.policy -Dweblogic.management.username=system -Dweblogic.managem
ent.password=xxxxxxxx weblogic.Server
Starting WebLogic Server ....
Connecting to http://webdev:7001...
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException:
connecting to http://webdev:7001/Bootstrap/ - with nested exception:
[weblogic.net.http.HttpUnauthorizedException: 401]
weblogic.net.http.HttpUnauthorizedException: 401
at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:32
8)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)
at
weblogic.management.Admin.getBootstrapLocalServer(Admin.java:825)
at weblogic.management.Admin.initialize(Admin.java:274)--
Doyoung Im
Bea Systems Korea
Sales Engineer/Pre Sales
H.P) 82-11-9727-8923
DID) 82-2 -7676-823
Fax) 82-2 -783-7102
mail)[email protected] -
Web Service client authorization error: HTTP status 401
.NETters,
My .NET client program is invoking a simple "Hello World" Web Service written in ABAP. Here is the code:
Z_HWWSDServiceWse svc = new Z_HWWSDServiceWse();
try {
string msg = svc.ZHelloworld();
Console.WriteLine(msg);
}catch(Exception e) {
Console.WriteLine(e.Message);
The code uses WSE 2.0 framework.
This code works if I edit the properties on WSD service using transaction SICF and specify anonymous login options. However, I would like to pass the user token from the client program itself.
So I removed anonymous login options and supplied the required information programmatically.
UsernameToken ut = new UsernameToken("pradeep", "password", PasswordOption.SendPlainText);
svc.RequestSoapContext.Security.Tokens.Add(ut);
However, when I run this code, I get an error: "The request failed with HTTP status 401: Unauthorized"
I then tried supplementing this code with network credentials logic:
System.Net.CredentialCache cc = new System.Net.CredentialCache();
cc.Add(new Uri("http://servermachname"), "Basic", new System.Net.NetworkCredential("pradeep", "password", null));
svc.Credentials = cc;
The problem still doesn't go away :-(.
Does anyone have any idea on what is it that I am missing in my code?
Thank you in advance for your help.
PradeepIn my tests with normal .NET WS client something like the following allways worked:
WSProxy proxy = new WSProxy();
proxy.Credentials = new System.Net.NetworkCredential("user", "password");
proxy.PreAuthenticate = true;
proxy.CallMethod();
As your code is very similar, it may be a compatibility problem between WSE and WAS. I would recommend that you use a network snippen and look what really goes over the wire.
I have also seen an issue where the settings in SICF where somehow corrupted (e.g. the fixed credentials checkbock was on, but no credentials where specified). The solution was just to "reset" the settings in SICF. -
Error http the request failed with http status 401: unauthorized
Hi,<o:p></o:p>
We are currently developing a Web Part for a
dashboard that connects from SharePoint 2010 to Project Server, we are trying
to connect via the PSI web service and fetch the project data but it is giving
the same error "The request failed with HTTP
status 401: Unauthorized". We are having a huge
issue with gaining authorization through the PSI and cannot figure out what the
problem is. We are using Project Server 2010, SharePoint 2010 and Visual Studio
2010.<o:p></o:p>
The person developing this has administrative
rights on both servers and it is running on his account. However, this is his
first experience with Project Server. Could some provide some guidance?<o:p></o:p>
Does anyone have any suggestions?<o:p></o:p>
Thanks,<o:p></o:p>
Aba
<o:p></o:p>Hi,
Have the credentials been set for the web service? Or are you trying to pass the credentials of the user accessing the webpart? In the second case, the user must have permissions in project server
It would be useful if you can share the part of the code that fails
Paul -
Hi All,
My Web application is FBA application and I am using the lists.asmx services in my custom webpart. To run this lists.asmx service in FBA enabled site we need to use Authentication.asmx service..
I referred this link:
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/21867e28-75d5-42c8-850b-bfb5c5894eed .
I wrote a code as mentioned in this article but now I am getting error "The request failed with HTTP status 401: Unauthorized " for Authentication.asmx service itself. Can somebody help me why it is not working even everything looks
correct?
Thank you.
Regards,
Rahul Shinde.Hi Rahul,
Give permissions to the user on the web application.
Central Admin -->Application Management --> Application Security -->Policy for web application --> Select the
web application --> Add User
For more information, refer to
http://microsoftdev.blogspot.com/2009/10/sharepoint-web-services-access-give.html
http://www.codeproject.com/Articles/24244/Access-a-Forms-Based-SharePoint-Site-s-Web-Service
Best Regards.
Kelly Chen
TechNet Community Support -
Suspended Workflow in SharePoint 2013 with HTTP 401 Error!
I have a list workflow which starts automatically when creating an item to generate a serial number. But when any user create
a new item, the workflow suspend with the following details, and only the users with "Full Control" permissions can make the workflow work:
RequestorId: eda26c74-95ef-2733-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow
instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["88"],"SPRequestGuid":["eda26c74-95ef-2733-87b9-028d0512861d"],"request-id":["eda26c74-95ef-2733-87b9-028d0512861d"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Cache-Control":["max-age=0,
private"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM","Basic realm=\"sp.contoso.com\""],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Date":["Sun, 27 Apr 2014 11:13:07 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)Hi AmrHanmam,
According to your description, my understanding is that SharePoint 2013 workflow suspend with 401 error.
For resolving your issue , please do as the followings:
Be sure User profile synchronization is started.
The user by whom you are logged is available in User Profile list.
Final step full synchronization of User Profile Application.
Here is a similar post for your reference:
http://social.technet.microsoft.com/Forums/en-US/8671e31e-fde2-454c-aba4-0fc6484dd873/sharepoint-2013-workflow-suspend-with-401-error?forum=sharepointcustomization
In addition, there is another reason for this issue, please take a look at:
http://support.microsoft.com/kb/2839070/en-us
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Error in HTTP framework - 401 unauthorised while creating a service consume
Hi,
I am trying to create a service consumer in SE80 by specifying a WSDL URL of a webservice ( I created this webservice from an inbound service interface ).....but at the last step it asks for user id and pwd......after specifying the user / pwd it says Error in HTTP framework - 401 unauthorised
what may be the problem....the user has all tha required authorisation as I can use the same user to test in wsnavigator.In my experience this problem was always found to be around authorizations necessary for execution of specific activity. I would strongly advise you to speak with your Security/Authorization consultant to help you.
-
HTTP 401 error in CSADMIN for SAP content server on Linux OS and MaxDB
Hi,
We have installed content server on Linux OS.and DB as MaxDB.
I created the repository using OAC0. The with same tab I went to CSADMIN.
When I try to create repository with executing it , it ask for user name and password.
I mentioned the SAPCS admin user name and password, but i got HTTP 401 error. Unauthorized user.
Even i tried with prefixing domain name and with root user ID and password.
But got the same error. Please help
Regards,
HemantHi
We are also facing the same problem. but as you mentioned in solution.
user: <domain>/<admin-user>
pw: pw
I am getting the same problem of Error 401. Kindly describe in detail with example.
Thanks
Regards,
R Karthikeyan
Maybe you are looking for
-
Hi, Has anyone got a possible solution to using invoice plans with ECS? I am aware that this is not standard functionality - but there may be an add-on in public sector procurement? Many thanks
-
Is Keynote iPhone Remote disabled in the trial version?
After reading all of the info here on how to use the iPhone remote, I still can not connect. The checkbox in Keynote Preferences is greyed out. I have tried setting up a computer-to-computer network too and that still is greyed out. One question on t
-
Music on iPod Touch nuked after 4.3.5 update.
After updating to 4.3.5, music files have disappeared. Apps and photos are still there, but no music. Music screen says "No Content." The strange thing is, the songs appear in iTunes when the device is plugged in, but not on the iPod. Under Settings-
-
How to set specific value of attached file in CRM 2013
Hi, I have a requirement when I attach a file in notes it should has some value in currency. how to assign value for each attachment file?
-
Help!!! I lost my ipod libary
After updating to the lastest software to download imusic purchase I lost all my songs in the ipod...5,475 of them! Is there anyway I can get them back! Please help!