in reply to Re: lwp-request
in thread lwp-request

Thank you very much tilly. I appreciate your help. Let me explain you a bit more. I have the right name & password. But, for some reason when I require this /opt/perl/bin/lwp-request 'http://www.perlmonks.org' I have no problems. I have probelms when I do: /opt/perl/bin/lwp-request 'https://ri2.rois.com/cgi-bin/GetSessionId.cgi?cmd=get_session_id&uid=111111&uip=1.1.1.1&gid=nlbj2' Also, I tried the way that you told me & I get the same error messages. For your info, if I try this 'https://ri2.rois.com/cgi-bin/GetSessionId.cgi?cmd=get_session_id&uid=111111&uip=1.1.1.1&gid=nlbj2' from my browser I have no problems ... Thank you very much!!

Replies are listed 'Best First'.
RE (tilly) 3: lwp-request
by tilly (Archbishop) on Sep 28, 2000 at 17:19 UTC
    Then I suspect the difference is http vs https. Do you have Net::SSLeay installed?

    A minor note. Should you need a proxy, you will probably want https_proxy set in your environment.

      Thanks a lot tilly. I think that we are approching to the problem. I have Net::SSLeay installed. Could you tell me more about https_proxy set in my environment ( where I have to set up ? ) Thanks a lot!!
        If you are on a Unix, your http_proxy is probably set if you are using one. env gives you your environment, look for http_proxy (any case). If it is set then the following shell command should do it:
        export https_proxy=$http_proxy
        (You may need to change the case of the environment variable you are looking for.)
        Hi Tilly, Still working in this bloody problem. It does not look like that the problem is https_proxy. I have been debugginf the perl modules and it looks like I am having problems with http.pm module. I am just wondering if you could tell me in that module there is a piece of code that is: my $socket = $self->_new_socket($host, $port, $timeout); Where is the function "_new_socket" ? because if I insert messages in the function that is in that file, I do not get any messages, so, I do not know where does this function reside ... If you could help me, that will be very helpful Thank you very much!!