Home > Http Status > Http Status Line Parse Error

Http Status Line Parse Error

Contents

Default password to this file: WebAS. I don't think there is a way to just display the SOAP messages, unless you switch to some other tool. Regarding the learning curve for Grinder's TCPSniffer, here's all you need to do: java -classpath grinder.jar net.grinder.TCPSniffer -localPort 8081 -remotePort 8080 That will make the TCPSniffer to proxy traffic coming to 8081 into port 8080 and logging all traffic into the standard output. ugd ! his comment is here

I like the idea of using $_SERVER["SERVER_PROTOCOL –JasonDavis Dec 22 '11 at 13:52 add a comment| Did you find this question interesting? Regards,
Ketan KC Chachad Balaji Loganathan author and deputy Bartender Posts: 3150 posted 12 years ago Originally posted by Ketan Chachad: And is the wire-traffic the only reason for such exceptions to arise? This is the accepted answer. In the mean time I would like show you the code that is throwing the exception. [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP status line "": java.util.NoSuchElementException; targetException=java.lang.IllegalArgumentException: Error parsing HTTP status line "": java.util.NoSuchElementException] Exception message is thrown when I call an authenticate method on the server. https://www.ibm.com/developerworks/community/forums/html/topic?id=0c023640-3a17-4065-9e6a-48b4e0e75c28

Websphere Error Parsing Http Status Line

These codes are fully defined in section 10. I can't remember where they go. TCPSniffer is not a SOAP-sniffer but a TCP-sniffer... gonzalo.alvarez 27000235BB ‏2013-05-14T13:19:48Z Thanks Gas, I tried copying the "trust.p12" file from Node2 but I'm still having the problem, I've also tried copying the "ssl.client.props file" from Node2 and the problem remains, any other clue?

Hmmm, Process Portal Not Playing Nicely - IBM BPM ... Gas More... The fix for this APAR is currently targeted for inclusion in fix packs 8.0.0.4 and 8.5.0.1. I actually gave the following java command java net.grinder.TCPSniffer as I assumed that the default local host and port to be the proxy for the client application and the below exception stack trace was shown java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.(Socket.java:290) at java.net.Socket.(Socket.java:118) at net.grinder.tools.tcpsniffer.SnifferPlainSocketFactory.createClientSocket(SnifferPlainSocketFactory.java:56) at net.grinder.tools.tcpsniffer.SnifferEngineImplementation.launchThreadPair(SnifferEngineImplementation.java:140) at net.grinder.tools.tcpsniffer.SnifferEngineImplementation.run(SnifferEngineImplementation.java:106) at net.grinder.TCPSniffer.run(TCPSniffer.java:346) at net.grinder.TCPSniffer.main(TCPSniffer.java:61) Does this mean that the local host and port that the TCPSniffer is sniffing at cannot be treated as the proxy host and port for the client application?

There are 5 values for the first digit: - 1xx: Informational - Request received, continuing process - 2xx: Success - The action was successfully received, understood, and accepted - 3xx: Redirection - Further action must be taken in order to complete the request - 4xx: Client Error - The request contains bad syntax or cannot be fulfilled - 5xx: Server Error - The server failed to fulfill an apparently valid request The individual values of the numeric status codes defined for HTTP/1.1, and an example set of corresponding Reason-Phrase's, are presented below. The webservice I am connecting to does however receive my soap request and processes \ it but I get the following client SOAP exception when sending the request so the code \ does not try to receive the response. [SOAPException: faultCode=SOAP-ENV:Client; msg=Error parsing HTTP status line \ "": java.util.NoSuchElementException; tar getException=java.lang.IllegalArgumentException: Error parsing HTTP status line "": \ java.util.NoSuchElementException] at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.j \ ava:354) at org.apache.soap.messaging.Message.send(Message.java:123) Thanks for any help. Just weird how when I change 404 to 200 on the original header how that works as well –JasonDavis Dec 22 '11 at 13:31 The code you provided won't ever cause an 'unexpected T_STRING' error. –Tom van der Woerdt Dec 22 '11 at 13:32 FIXED: WEird, there was a blank space at the end of the line header('Content-type: application/json'); that caused it, I removed this weird EOL space and it worked fine –JasonDavis Dec 22 '11 at 13:38 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted First, you should consider using header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found"); instead of header('HTTP/1.1 404 Not Found'); owing to the fact that your underlying server might be using different HTTP Protocols and this will keep you from having to update it later. http://www.ibm.com/support/docview.wss?uid=swg1PM64146 How was fuel crossfeed achieved, between the main tank and the Shuttle?

standard output) as previously said by me. The last two digits do not have any categorization role. Are leet passwords easily crackable? Mac OS X - Finder - Open in Terminal WASX7023E: Error creating "SOAP" connection to hos...

Admu0113e

Also a question to Lasse, last time you said that I could run TCPSniffer on the server too ... I don't get your error. Websphere Error Parsing Http Status Line Also the command I gave on the server is java -classpath /usr/local/reconvert/grinder.jar net.grinder.TCPSniffer -remoteHost 192.168.0.1 -remotePort 8000 -localHost 202.63.169.10 -localPort 8000, is this correct? Error Creating \"soap\" Connection on the client machine or on the server machine?

Thanks again Regards,
Ketan KC Chachad Ketan KC Chachad Ranch Hand Posts: 77 posted 12 years ago Hi, I have a question about TCPSniffer .... this content And do I have to specify the remote Host and port as the actual IP address and port where the server is acutally awaiting client connections? Can you help me in understanding the output? Topic Forum Directory >‎ WebSphere >‎ Forum: WebSphere Application Server >‎ Topic: Error when running syncNode.sh 4 replies Latest Post - ‏2013-05-18T13:09:30Z by amitgrewal Display:ConversationsBy Date 1-5 of 5 Previous Next gonzalo.alvarez 27000235BB 7 Posts Pinned topic Error when running syncNode.sh ‏2013-05-14T06:19:04Z | Tags: Answered question This question has been answered. Admc0016e: The System Cannot Create A Soap Connector To Connect To Host

from localhost:5001 to localhost:5002 etc.). share|improve this answer answered Dec 22 '11 at 13:29 Drahkar 1,455815 Eventually I tried removing everything except the header('HTTP/1.1 404 Not Found'); line and the error changed to something about the EOL, I then realized there was a space after that line, removed that space and now it works. Also a question to Lasse, last time you said that I could run TCPSniffer on the server too ... weblink TCP Monitor or TCP Sniffer will help you to tell what exactly you sent (that is the HTTP message)from the client to the server and vice versa, which inturn helps you to debug the error message more info can be found here http://ws.apache.org/axis/java/user-guide.html , look at the appendix "Using the Axis TCP Monitor (tcpmon)" Spritle Software Blogs Lasse Koskela author Sheriff Posts: 11962 5 posted 12 years ago Balaji guessed right.

Regards,
Ketan KC Chachad Lasse Koskela author Sheriff Posts: 11962 5 posted 12 years ago I don't think you can use the same port number for both remote and local. Regards,
Ketan KC Chachad Lasse Koskela author Sheriff Posts: 11962 5 posted 12 years ago Here are some places to look for answers: 1) The source 2) The documentation 3) The community Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch] Ketan KC Chachad Ranch Hand Posts: 77 posted 12 years ago Hi Lasse, Thanks for those links, they were a great help. Gas Log in to reply.

Although the TCPSniffer running on the server is giving huge scary output.

When the current modified client application is executed then the posted exceptions are thrown but when the old sequential client application is executed then the exceptions are not thrown. com> Date: 2005-03-08 0:53:08 Message-ID: 456FD0E7B215B24ABBAD711614E4A7A20A0BB82A () OCCLUST03EVS1 ! java.lang.NullPointerException at org.apache.catalina.connector.http.HttpResponseStream.checkHead(HttpResponseStream.java:253) at org.apache.catalina.connector.http.HttpResponseStream.(HttpResponseStream.java:104) at org.apache.catalina.connector.http.HttpResponseImpl.createOutputStream(HttpResponseImpl.java:220) at org.apache.catalina.connector.ResponseBase.getOutputStream(ResponseBase.java:725) at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.java:469) at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpResponseBase.java:236) at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(HttpResponseImpl.java:288) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1039) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:479) Also the command that you have given i.e. This is the accepted answer.

melbolt View Public Profile Find More Posts by melbolt Jun 23rd, 2006, 2:03 PM #3 Pizentios Programming Guru Join Date: May 2004 Location: Brandon, Manitoba, Canada Posts: 2,045 Rep Power: 15 can you post your code? __________________ Profanity is the one language that all programmers understand. Is it Windows 8.1 as for the topic starter? gonzalo.alvarez 27000235BB 7 Posts Re: Error when running syncNode.sh ‏2013-05-14T13:19:48Z This is the accepted answer. check over here When you copied trust.p12 and ssl.client.props from the other node was the message exactly the same?

Permalink 0 Yuri Ivanov May 14, 2015 11:28 Yes, 8.1 x64 :( Permalink 0 Michael Golubev May 15, 2015 14:46 Hello, I suspect it's OS-specific and could be related to an OS security update.Could you try to switch-off the OS built-in firewall?And after all, it does not look like IDEA fault, WS client reports that WS can't perform the operation and we have no means to force it. I ran the same on the client machine and it gave me the following output with the exception thrown at the client side. --- localhost:1146->192.168.0.1:8080 opened -- --- 192.168.0.1:8080->localhost:1146 opened -- ------ localhost:1146->192.168.0.1:8080 ------ POST http://202.63.169.10:8000/soap/servlet/rpcrouter HTTP/1.0 Host: 202.63.169.10 Content-Type: text/xml; charset=utf-8 Content-Length: 497 SOAPAction: "" IMS

99
--- localhost:1143->192.168.0.1:8080 closed -- --- 192.168.0.1:8080->localhost:1143 closed -- ------ 192.168.0.1:8080->localhost:1146 ------ HTTP/1.0 500 Internal Server Error Server: Squid/2.3.STABLE4 Mime-Version: 1.0 Date: Thu, 27 Nov 2003 12:28:23 GMT Content-Type: text/html Content-Length: 682 Expires: Thu, 27 Nov 2003 12:28:23 GMT X-Squid-Error: ERR_READ_ERROR 104 X-Cache: MISS from SERVER1 Proxy-Connection: close ERROR: The requested URL could not be retrieved

ERROR

The requested URL could not be retrieved


While trying to retrieve the URL: [no URL]

The following error was encountered:

  • Read Error

The system returned:

 (104) Connection reset by peer

An error condition occurred while reading data from the network. Sure enough, I checked out: - /opt/ibm/ODM/WebSphereProfiles/ODMCell1Dmgr01/properties/ssl.client.props and found: - com.ibm.ssl.protocol=SSL_TLS where I should've seen: - com.ibm.ssl.protocol=TLSv1.2 Once I amended the file, all was well. gas 110000E92M ‏2013-05-15T18:44:03Z Is your node2 synchronizing without any problems?

You give the same command as on the client.