I'm trying to open a page at http://localhost:8983/solr/admin/stats.jsp but urllib2.urlopen returns a blank string. It works fine for solr/ and solr/admin, but for all the pages above /solr/admin/ I get nothing but a blank string.
76]: t = urllib2.urlopen('http://localhost:8983/solr/admin/stats.jsp')
77]: s = t.read()
78]: s
78]:
79]: type(s)
79]: <type 'str'>
80]: urllib2.urlopen('http://localhost:8983/solr/admin/registry.jsp').read()
80]:
In [84]: urllib2.urlopen('http://localhost:8983/solr/admin/schema.jsp').read()
Out[84]:
I know this isn't a problem with urllib2, but beyond that I am at a loss. I wish solr (or jetty) had an easy to get to log file, so that perhaps it could tell me its side of the story.