Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Program keeps crashing #261

Open
DBronx opened this issue Oct 18, 2019 · 10 comments
Open

Program keeps crashing #261

DBronx opened this issue Oct 18, 2019 · 10 comments
Assignees
Labels
bug Crash or glitch or unexpected behavior that causes a problem within the app. Fixed Bug that are fixed but not yet closed

Comments

@DBronx
Copy link

DBronx commented Oct 18, 2019

WinHue3.log
Before submitting a request please make sure you are running the latest version of WinHue
available in the release section of this site. Support will not be done on older version.

Your setup

WinHue version : (eg. 3.0.2400.0)
Bridge api version : (1.16)
Light model : (if you have a problem with a particular light)

Expected behavior and actual behavior

Cannot perform any action
...

Actual behavior

Program crashes when any action attempted
...

Steps to reproduce the problem

  1. ...Click on "search for new lights"
  2. ...Hover over Edit menu
  3. ...

In the case of a crash, please make sure to add a logfile containg the crash located in the %APPDATA%\WinHue3
to the issue you are opening.

@Hyrules
Copy link
Owner

Hyrules commented Oct 18, 2019

hmm... that's really odd. Why are you getting and unauthorized user error ? Looks like your user has somehow been removed from the whitelist (cannot be done inside winhue since philips require to do it in their web gui) so someone mostlikely deleted your api key. This is either on purpose of trying to crash the app or someone really deleted your key. You can test your api key by going in a browser and typing "http://[your bridge ip]/api/[your api key]/lights" without the quotes and replacing the required sections. This will give you either an unauthorized error or list the bridge lights. If this is the case you can go inside %APPDATA%\WinHue and delete the WinHueBridges.set. This will force you to reconnect to the bridge.

@DBronx
Copy link
Author

DBronx commented Oct 18, 2019 via email

@Hyrules
Copy link
Owner

Hyrules commented Oct 18, 2019

http://[your bridge ip]/api/[your api key]/lights github just removed everything between "<>" you have to add the bridge ip after http:// and before /api and add the apikey after /api/ before lights.

eg : http://192.168.3.23/api/89sdjk23jhfdjk45jkksl5ia35igj6992kdakb (this is an example and wont work)

ok for your sake here is yours : http://192.168.1.24/api/V496AoY55e7PAvZoSzJ9usthLp4I6Wu4rlZdi1HG/lights

@Hyrules
Copy link
Owner

Hyrules commented Oct 18, 2019

@DBronx
Copy link
Author

DBronx commented Oct 18, 2019 via email

@Hyrules
Copy link
Owner

Hyrules commented Oct 18, 2019

no this wont work you really need the full url with the api key. Check my last message you should have it.

@DBronx
Copy link
Author

DBronx commented Oct 18, 2019 via email

@Hyrules
Copy link
Owner

Hyrules commented Oct 18, 2019

Yeah basically you api key have been revoked. Open window explorer and paste this %APPDATA%\WinHue in the address bar up top. You will see some WinHue files. Delete the WinHueBridges.set and do a new pairing.

@DBronx
Copy link
Author

DBronx commented Oct 18, 2019 via email

@Hyrules
Copy link
Owner

Hyrules commented Oct 18, 2019

Great to see you go that working. Don't hesitate I will try to fix this issue on my side because this could happen but should not and it should definitely not crash the app.

@Hyrules Hyrules self-assigned this Nov 10, 2019
@Hyrules Hyrules added bug Crash or glitch or unexpected behavior that causes a problem within the app. Fixed Bug that are fixed but not yet closed labels Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Crash or glitch or unexpected behavior that causes a problem within the app. Fixed Bug that are fixed but not yet closed
Projects
None yet
Development

No branches or pull requests

2 participants