Its been awhile since I did any LWP work. However my first thought is that you are doing a login after which I assume you get to an HTTPS site. In that case, you need to have the Crypt::SSLeay Module installed to use the https protocol. I hope I'm not sending you on a wild goose chase, but I remember fighting with this a bit to get https working.