Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KM2 - TcpDataSourceProvider.fetchInformation fails #16

ramack opened this issue Oct 27, 2018 · 2 comments


Copy link

commented Oct 27, 2018

when calling TcpDataSourceProvider.fetchInformation on the IP of a KM2 device, an exception

Server returned HTTP response code: 502 for URL: http://xxxxxx:80/cgi-bin/get_resol_device_information
is raised.

Edit: forgot to link the use case for this. It is here:


This comment has been minimized.

Copy link

commented Oct 28, 2018

Hmmm, I tried it with a minimal test case here and it worked:

		try {
			TcpDataSource ds = TcpDataSourceProvider.fetchInformation(Inet4Address.getByName(""), 2000);
		} catch (IOException ex) {

Prints the name of the KM2 including the IP to the console.

Since the original poster mentioned that manually accessing the same URL yields the same error it must be something in the KM2 itself. Perhaps a restart will solve the problem? Or a firmware update?

I'll close this issue and continue disussing it over at "your place" :)


This comment has been minimized.

Copy link
Contributor Author

commented Oct 28, 2018

yes, perfect. Thanks for your support. Reporting it here was the only idea that I had because I neither have a KM2 tor try with nor do I know the device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.