[Midas] solr error from web api
Zach Mullen
zach.mullen at kitware.com
Fri Aug 24 09:26:30 EDT 2012
Usually this means your Solr server is not running, or it is not running at
the specified location (http://localhost:8983/solr).
Thanks,
Zach
On Thu, Aug 23, 2012 at 11:07 PM, Mona Wong <mona at sdsc.edu> wrote:
>
> My plugin made the following request to the Midas web api:
>
>
> https://ourserver.edu/api/json?method=midas.item.create&useSession&parentid=668&name=test.nii.axml&privacy=Private
>
> The request.responseText that came back said:
>
> Warning: file_get_contents(
> http://localhost:8983/solr/select?wt=json&json.nl=map&q=id%3A+item_62857&start=0&rows=99999):
> failed to open stream: Connection refused<br/>
> on line 95 in file
> /data/Midas3/modules/solr/library/Apache/Solr/HttpTransport/FileGetContents.php<br/>
>
> {"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"}}
>
> Um, I'm not sure what's causing the problem? My code? Our Solr
> configuration? The Solr code? The web API?
>
> Mona
>
>
> *********************************************
> Mona Wong
> Web & iPad Application Developer
> San Diego Supercomputer Center
>
> "Forgive everyone everything."
> -- Regina Brett
> *********************************************
>
>
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
>
--
Zach Mullen
R & D Engineer
Kitware Inc.
919-869-8858
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120824/2a680637/attachment.html>
More information about the Midas
mailing list