[railroad-dev] socket error when accessing testform in Plone

Julian Davison julian-railroad at tech.cbhs.school.nz
Wed Apr 6 04:46:14 MEST 2005


Tom Lazar wrote:
 > After completing my setup as described in my previous post I clicked on
 > the 'testform' tab and got the following error.
 >
 > I have *no* idea what's going on here. Perhaps relevant: I'm using
 > Rewrite statements in my VirtualHost configuration,
 > i.e. I'm accessing both the Plone site and the RailRoad server via port
 > 80 (but at different hostnames - both on the same
 > machine, though)
 >
 > here's the snippet for the plone site:
 >
 >   RewriteRule ^/zmi/(.*)
 > http://localhost:18082/VirtualHostBase/http/testrr:80/VirtualHostRoot/
 > _vh_zmi/$1 [P]
 >   RewriteRule ^/(.*)
 > http://localhost:18082/VirtualHostBase/http/testrr:80/testrr/
 > VirtualHostRoot/$1 [P]
 >
 > (I'm using a local development environment have created to host entries
 > named 'testrr' and 'media' for the
 > development server)
 >
 > Here's the traceback. Version info below that.
 >
 >     * Module Products.Railroad.service, line 85, in generate_unique_id
 >     * Module urllib, line 78, in urlopen
 >     * Module urllib, line 183, in open
 >     * Module urllib, line 297, in open_http
 >     * Module httplib, line 715, in endheaders
 >     * Module httplib, line 600, in _send_output
 >     * Module httplib, line 567, in send
 >     * Module httplib, line 535, in connect
 >
 > IOError: [Errno socket error] (8, 'hostname nor servname provided, or
 > not known')

Line 85 in Railroad.service attempts to open the URL formed
by concatenating the 'services' URL (from the portal_railroad)
and 'uuid/'.
Assuming it's finding the value you listed in a previous post
it suggests to me that it's having trouble looking up the
host 'media'.





J,






More information about the railroad-dev mailing list