You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error on running the Ant Build :
C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1>ant -Drestapi.host=localho
st -Drestapi.port=5000 -Drestapi.volume="Default Volume" -Drestapi.gzip=true
Buildfile: C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1\build.xml
[java]
[java] ### loginAsAdministrator
[java] Exception in thread "main" org.apache.http.conn.HttpHostConnectExcep
tion: Connect to localhost:5000 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1]
failed: Connection refused: connect
[java] at org.apache.http.impl.conn.HttpClientConnectionOperator.connec
t(HttpClientConnectionOperator.java:140)
[java] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.
connect(PoolingHttpClientConnectionManager.java:318)
[java] at org.apache.http.impl.execchain.MainClientExec.establishRoute(
MainClientExec.java:363)
[java] at org.apache.http.impl.execchain.MainClientExec.execute(MainCli
entExec.java:219)
[java] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolE
xec.java:195)
[java] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.ja
va:86)
[java] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectE
xec.java:108)
[java] at org.apache.http.impl.client.InternalHttpClient.doExecute(Inte
rnalHttpClient.java:184)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:72)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:214)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:160)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:136)
[java] at com.actuate.restapi.commons.Request.post(Request.java:231)
[java] at com.actuate.restapi.commons.Request.post(Request.java:240)
[java] at com.actuate.restapi.commons.Request.auth(Request.java:179)
[java] at com.actuate.restapi.example.SampleLogin.loginAsAdministrator(
SampleLogin.java:32)
[java] at com.actuate.restapi.example.SampleLogin.main(SampleLogin.java
:22)
[java] Caused by: java.net.ConnectException: Connection refused: connect
[java] at java.net.DualStackPlainSocketImpl.connect0(Native Method)
[java] at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlai
nSocketImpl.java:79)
[java] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocke
tImpl.java:339)
[java] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPla
inSocketImpl.java:200)
[java] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketI
mpl.java:182)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[java] at java.net.Socket.connect(Socket.java:579)
[java] at org.apache.http.conn.socket.PlainConnectionSocketFactory.conn
ectSocket(PlainConnectionSocketFactory.java:72)
[java] at org.apache.http.impl.conn.HttpClientConnectionOperator.connec
t(HttpClientConnectionOperator.java:123)
[java] ... 16 more
BUILD FAILED
C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1\build.xml:52: The followin
g error occurred while executing this line:
C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1\build.xml:40: Java returne
d: 1
Total time: 2 seconds
I have an installation of Actuate IHub F-type . Why is it giving an error connecting at port 5000.
The text was updated successfully, but these errors were encountered:
I am getting the following error on running the Ant Build :
C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1>ant -Drestapi.host=localho
st -Drestapi.port=5000 -Drestapi.volume="Default Volume" -Drestapi.gzip=true
Buildfile: C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1\build.xml
[java]
[java] ### loginAsAdministrator
[java] Exception in thread "main" org.apache.http.conn.HttpHostConnectExcep
tion: Connect to localhost:5000 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1]
failed: Connection refused: connect
[java] at org.apache.http.impl.conn.HttpClientConnectionOperator.connec
t(HttpClientConnectionOperator.java:140)
[java] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.
connect(PoolingHttpClientConnectionManager.java:318)
[java] at org.apache.http.impl.execchain.MainClientExec.establishRoute(
MainClientExec.java:363)
[java] at org.apache.http.impl.execchain.MainClientExec.execute(MainCli
entExec.java:219)
[java] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolE
xec.java:195)
[java] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.ja
va:86)
[java] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectE
xec.java:108)
[java] at org.apache.http.impl.client.InternalHttpClient.doExecute(Inte
rnalHttpClient.java:184)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:72)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:214)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:160)
[java] at org.apache.http.impl.client.CloseableHttpClient.execute(Close
ableHttpClient.java:136)
[java] at com.actuate.restapi.commons.Request.post(Request.java:231)
[java] at com.actuate.restapi.commons.Request.post(Request.java:240)
[java] at com.actuate.restapi.commons.Request.auth(Request.java:179)
[java] at com.actuate.restapi.example.SampleLogin.loginAsAdministrator(
SampleLogin.java:32)
[java] at com.actuate.restapi.example.SampleLogin.main(SampleLogin.java
:22)
[java] Caused by: java.net.ConnectException: Connection refused: connect
[java] at java.net.DualStackPlainSocketImpl.connect0(Native Method)
[java] at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlai
nSocketImpl.java:79)
[java] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocke
tImpl.java:339)
[java] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPla
inSocketImpl.java:200)
[java] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketI
mpl.java:182)
[java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
[java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[java] at java.net.Socket.connect(Socket.java:579)
[java] at org.apache.http.conn.socket.PlainConnectionSocketFactory.conn
ectSocket(PlainConnectionSocketFactory.java:72)
[java] at org.apache.http.impl.conn.HttpClientConnectionOperator.connec
t(HttpClientConnectionOperator.java:123)
[java] ... 16 more
BUILD FAILED
C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1\build.xml:52: The followin
g error occurred while executing this line:
C:\workspace\ServerIntegrationRESTAPIExample-ihub-3.1\build.xml:40: Java returne
d: 1
Total time: 2 seconds
I have an installation of Actuate IHub F-type . Why is it giving an error connecting at port 5000.
The text was updated successfully, but these errors were encountered: