You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Komal Tilekar (JIRA)" <ji...@apache.org> on 2017/04/27 10:50:06 UTC
[jira] [Created] (COUCHDB-3399) Data retrieving using API's.
Komal Tilekar created COUCHDB-3399:
--------------------------------------
Summary: Data retrieving using API's.
Key: COUCHDB-3399
URL: https://issues.apache.org/jira/browse/COUCHDB-3399
Project: CouchDB
Issue Type: Question
Components: HTTP Interface
Reporter: Komal Tilekar
I am using CouchDB 2.0.0 version.
I am trying to retrieve data from API's using java code.
The url when hit in the browser works fine, but does not show data in eclipse.
for eg., while using the following url:
http://<ip-address>/_node/couchdb@localhost/_stats
But I get the following exception while doing so:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:802)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:663)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:799)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:663)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1335)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)