Skip to content

Unable to use RemoteUIStatsStorageRouter #10056

@aeiplatform

Description

@aeiplatform

Issue Description

I was unable to use the remove stat listener for the latest version.
Has the use been changed in any way or is this a mistake?

Server:

UIServer.getInstance().enableRemoteListener();

Client:

new StatsListener(
    new RemoteUIStatsStorageRouter(UI_HOST)
)

Version Information

  • Deeplearning4j 1.0.0-M2.1

Additional Information

o.d.c.s.impl.RemoteUIStatsStorageRouter  : Error posting to remote UI at http://localhost:9000/remoteReceive

java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9000/remoteReceive
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2055)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2050)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:2049)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1619)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
	at org.deeplearning4j.core.storage.impl.RemoteUIStatsStorageRouter.tryPost(RemoteUIStatsStorageRouter.java:361)
	at org.deeplearning4j.core.storage.impl.RemoteUIStatsStorageRouter$PostRunnable.runHelper(RemoteUIStatsStorageRouter.java:267)
	at org.deeplearning4j.core.storage.impl.RemoteUIStatsStorageRouter$PostRunnable.run(RemoteUIStatsStorageRouter.java:241)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9000/remoteReceive
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1998)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
	at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:531)
	at org.deeplearning4j.core.storage.impl.RemoteUIStatsStorageRouter.tryPost(RemoteUIStatsStorageRouter.java:358)
	... 3 common frames omitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions