Page 2 of 2

Re: v4.3.5.1 - stable

Posted: 26 Mar 2023 17:05
by radio42
Yes, a netsh http add urlacl .. might also solve the issue.
And the missing dll for JSON is now available in the .1 update as well.
THX

Re: v4.3.5.1 - stable

Posted: 31 Mar 2023 20:05
by phonic
Just as way of an update.
I've upgraded to 4.3.5.1 and sending commends in JSON format still not working and getting the response: "Dispatched remotely" with the commends not carried out. Sending the same command in plain text is fine.

Re: v4.3.5.1 - stable

Posted: 31 Mar 2023 22:23
by radio42
Quite strange, as it works here…
You are sure, the content type is application/json and you are (as the body) send an array of strings as the commands? I assume all yes!

So the dll might somehow still be missing?
When you turn on the Debugging mode in the GPIO Client… what messages do you get in the Debug…log of the GPIO Client AppDataUser folder?

Re: v4.3.5.1 - stable

Posted: 31 Mar 2023 22:37
by phonic
Yes, the debug does point to a missing file:
31/03/2023 21:33:11: Request JSON deserialize issue: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.


I will double check, but I'm sure it's listed in the main ProppFrexx installation directory.

Re: v4.3.5.1 - stable

Posted: 31 Mar 2023 22:44
by phonic
Found the the issue: The filename for some reason had two dots after Unsafe "System.Runtime.CompilerServices.Unsafe.Unsafe..dll". Not easy to notice, but after renaming and reopening it's now working fine.

Thanks for your assistance! The REST API is a great addition to ProppFrexx.