ChrisCicc said:
If you disable Windows firewall, does CastleOS connect to the bridge as well?
Nope, couldn't make it work with firewall off either.
ChrisCicc said:
For the interface, if the login doesn't work, it returns you to the login screen to try again. What message do you think we should add there to bring clarity to it?
Most sites spit out "invalid user name or password". It is good, if for no other purposes, just as an acknoledgement that the user entry, while not valid, was received by the web server.
ChrisCicc said:
For the Searching for New Hue Devices message, that's just informing you the search has begun asynchronously. You can continue using the app while it searches in the background. As new devices are discovered, they'll be visible on the Devices screen.
Ok, I understand you now. It was completely not clear from the CasleOS UI though.
ChrisCicc said:
Log files, if there are errors, are located in: C:\ProgramData\CastleOS\CastleOS Core Service\Errors.xml
You had me confused for a few moments here. I had only "Program Files" and "Program Files x64" on the C:\. After some digging around I found a hidden folder "ProgramData", and - as luck would have it - an Error.xml within, with several thousand lines in there. 5357 lines to be exact. Looks like they are all similar and read like this:
<error timestamp="5/16/2015 5:05:04 PM">
<note></note>
<data>System.Collections.ListDictionaryInternal</data>
<message>An error occurred while sending the request.</message>
<innerException>System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable host 192.168.0.167:80
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)</innerException>
<source>mscorlib</source>
<stackTrace> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Q42.HueApi.HueClient.<GetLightsAsync>d__12d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at p.e.h()</stackTrace>
<targetSite>Void ThrowForNonSuccess(System.Threading.Tasks.Task)</targetSite>
</error>
Do you know what that means? On a hunch I opened "192.168.0.167:80" in Firefox, and it brought up my "hue personal wireless lighting" web page. So this part seems to be working. Something else isn't. Any ideas?