Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Calling PageConversionServlet
kaalraa
I need to call the PageConversionServlet from an external task and using LWP::UserAgent module to do the same.
The problem i am facing is when i pass the URL as param to UserAgent, it is not working, however calling the url through browser generates my HTML correctly.
Error Returned:
[HTML]
An Error Occurred
An Error Occurred
500 Can't connect to {servername}
:80 (Bad hostname '{servername}
')
[/HTML]
Find more posts tagged with
Comments
Adam Stoller
Just a guess - check the environment variables associated with the script / process when run both ways - my guess is you'll see some environment variables that you need to set explicitly within the script so that it will work both ways.