<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><span class="Apple-tab-span" style="white-space:pre"> </span>My plugin made the following request to the Midas web api:<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-style-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">https://ourserver.edu/api/json?method=midas.item.create&useSession&parentid=668&name=test.nii.axml&privacy=Private</a></span></div><div><font class="Apple-style-span" color="#383ffc" face="Monaco"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div><span class="Apple-tab-span" style="white-space:pre"> </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">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 class="Apple-tab-span" style="white-space:pre"> </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; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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 class="Apple-tab-span" style="white-space: pre; "> </span>-- Regina Brett</div><div><div><div>*********************************************</div></div><div><br></div></div></div></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>