Usually this means your Solr server is not running, or it is not running at the specified location (<a href="http://localhost:8983/solr">http://localhost:8983/solr</a>).<div><br></div><div>Thanks,</div><div><br></div><div>
Zach<br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 11:07 PM, Mona Wong <span dir="ltr"><<a href="mailto:mona@sdsc.edu" target="_blank">mona@sdsc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><span style="white-space:pre-wrap"> </span>My plugin made the following request to the Midas web api:<div><br></div><div><span style="white-space:pre-wrap"> </span><span style="font-size:14px"><a href="https://ourserver.edu/api/json?method=midas.item.create&useSession&parentid=668&name=test.nii.axml&privacy=Private" target="_blank">https://ourserver.edu/api/json?method=midas.item.create&useSession&parentid=668&name=test.nii.axml&privacy=Private</a></span></div>
<div><font color="#383ffc" face="Monaco"><span style="font-size:13px"><br></span></font></div><div><span style="white-space:pre-wrap"> </span>The request.responseText that came back said:</div><div><br></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica">
Warning: file_get_contents(<a href="http://localhost:8983/solr/select?wt=json&json.nl=map&q=id%3A+item_62857&start=0&rows=99999" target="_blank">http://localhost:8983/solr/select?wt=json&json.nl=map&q=id%3A+item_62857&start=0&rows=99999</a>): failed to open stream: Connection refused<br/></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica"> on line 95 in file /data/Midas3/modules/solr/library/Apache/Solr/HttpTransport/FileGetContents.php<br/></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica">{"stat":"ok","code":"0","message":"","data":{"item_id":"62857","name":"test.nii.axml","description":"","type":0,"sizebytes":null,"date_creation":"2012-08-23T22:50:25-04:00","date_update":"2012-08-23T22:50:25-04:00","thumbnail_id":null,"view":null,"download":null,"privacy_status":2,"uuid":"5036ebf15e91fc9139af9091d57c922c6e1b20deeff1e"}}</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica">
<span style="white-space:pre-wrap"> </span>Um, I'm not sure what's causing the problem? My code? Our Solr configuration? The Solr code? The web API?</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica">Mona</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica">
<br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 14px/normal Helvetica"><br></div><div>
<div style="word-wrap:break-word"><div><div><div>*********************************************</div><div> Mona Wong</div><div> Web & iPad Application Developer</div><div> San Diego Supercomputer Center</div>
<div><br></div><div> "Forgive everyone everything."</div><div><span style="white-space:pre-wrap"> </span>-- Regina Brett</div><div><div><div>*********************************************</div></div><div><br>
</div></div></div></div></div><br><br>
</div>
<br></div></div><br>_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Zach Mullen<br>R & D Engineer<br>Kitware Inc.<br>919-869-8858<br>
</div>