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

Agents probed successfully but no devices reported as found #45

Open
ltomuta opened this issue Oct 7, 2022 · 5 comments
Open

Agents probed successfully but no devices reported as found #45

ltomuta opened this issue Oct 7, 2022 · 5 comments

Comments

@ltomuta
Copy link

ltomuta commented Oct 7, 2022

image

@PatrickRitchie
Copy link
Contributor

@ltomuta This was something that was supposed to be addressed in the latest release v1.5.9. Can you manually add the device you are looking for? I know there was an issue in the previous version that wouldn't read using the Auto Detect page but would still let you add the device manually.

@ltomuta
Copy link
Author

ltomuta commented Oct 8, 2022

Somehow I think I've only been able to add them manually in 1.2.17 (I accidentally forked your old instance of this repo so I ended up building that first :) ) Now I have the 1.5.9 built and ready to debug but our machines are down over the weekend.

@ltomuta
Copy link
Author

ltomuta commented Oct 10, 2022

Just verified, manually adding the device fails as well. The URI built for accessing it is missing the "/probe" part and the machine responds with <Error errorCode="UNSUPPORTED">The following path is invalid: /Machine</Error>

@ltomuta
Copy link
Author

ltomuta commented Oct 10, 2022

Adding "/probe" to the uri in Probe's ExecuteAsync solves the issue:

image

@PatrickRitchie
Copy link
Contributor

@ltomuta Yes it looks like you are correct as the ExecuteAsync() should use the code used in Execute() to build the URL:

ExecuteAsync(): Incorrect

image

Execute(): Correct

image

This was a bug I had previously found as adding a DeviceName to the URL removes the /probe using the Uri() constructor. I added a new CombineUrl() method that I use in my newer applications to resolve this issue but apparently I only changed it in the Execute() method.

I will publish a new release that includes this update this weekend.

Thanks,
-Patrick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants