in reply to LWP HTTPS POST returns 500 EOF
which elude a lot of trouble-shooting ...telnet login1.swipnet.se 443 Trying 130.244.199.102... telnet: Unable to connect to remote host: Network is unreachable
this will allow the POST to be redirected, and could save you some more troubleshoot.push @{ $ua->requests_redirectable }, 'POST';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: LWP HTTPS POST returns 500 EOF
by epljsod (Initiate) on Feb 25, 2004 at 22:22 UTC | |
first of all, thank you for your response! I tried the requests_redirectable, but unfortunately it did not help. I am able to connect with telnet login1.swipnet.se 443, but I do not know what to write once connected :-) Please enlight me how to perform trouble shooting with telnet. I attach some more debug information that I am able to retreive when using cgi scripts and redirecting the LWP request and the IE request to the dumping cgi scripts. I used normal HTTP, since I can not get HTTPS working with my webserver (not put any effort on it) Do you know any other way to retreive debug information, such as headers? I have in some posts seen more extensive information but I am not able to acquire it. Best regards /Johan From LWP client:
From IE client:
| [reply] [d/l] [select] |
by dominix (Deacon) on Feb 26, 2004 at 11:51 UTC | |
note the CR/LF at the end. I recommend you read more about HTTP if you need to debug such transaction, the next step in debugging is to use a proxy that will do the encryption and you can sniff what happend between your client machine and the proxy , quite tricky anyway.
-- dominix | [reply] [d/l] |
by epljsod (Initiate) on Feb 26, 2004 at 21:36 UTC | |
Anyway, I am able to connect with openssl and the server responds with following: My problem (quite embarrassing) is the same as when I tried to use lwp-request. When the server asks for content and I enter it, I am unable to finish (send) the content(username and password). I have pressed Enter after the input line. Best regards /Johan | [reply] [d/l] |