Forum OpenACS Development: Re: Calls to server itself are ok on command line, but hang in /ds/shell
I have had success in the past with using ns_httpget. Your issue smells like a DNS issue, but I have no evidence for saying that.
I wonder what happens when you try adding a timeout to the call?
What I would do is to debug it further by taking the source code to the ns_httpget proc (which is in modules/tcl/http.tcl on my AOLserver install), and using that in the shell, and add a bunch of ns_logs, and then keep stripping it back until you have the bare minimum code that runs. At its core, it's just some socket connections.