createcandle / Candle-manager-addon

An add-on for the Candle Controller / WebThings Gateway. It allows you to upload code to Arduino's with the click of a button.
MIT License
5 stars 5 forks source link

Candle Manager Page fails to load #28

Closed cullenskyward closed 1 year ago

cullenskyward commented 3 years ago

For some reason when I try to access the candle manager page it gives me a ERR_NAME_NOT_RESOLVED error after it says "Sending request info to gateway.local" And when I change the default name in settings for the gateway it still says its sending request info to GATEWAY.local not the name I set it to, also this has been happening with anything that ends with ".local", it always fails to load the page, Ex: The musicbox program will want me to go to musicbox.local and it will give the same error.

createcandle commented 3 years ago

I'm not sure I follow. Where do you see this? In your browser's javascript console? In the internal logs?

I can't find Sending request info to in any of the Candle Manager code.

The code does use gateway.local as the fallback option if it is unable to figure out the IP address of the server (if 'socket' fails, for instance).

Are you running the WebThings Gateway Raspberry Pi image, or something else?

createcandle commented 3 years ago

I believe I've found the issue. Thank you for bringing this to my attention!