I have a chatbot that uses the HTTP API to control the lights. Today, with no change on its end, the chatbot started returning the following error:
hostname 'api.lifx.com' doesn't match 'alexav3.lifx.com'
Does anybody know what that is about? I could change the code to send requests to
alexav3.lifx.com instead of
api.lifx.com, but I’d rather not do that if it’s just a transient issue. Thanks!
Hi that was my derp. Super sorry about that it. it was a bad push of config and should have only been out for a few minutes. Are you still seeing this issue?
I am. I restarted the chatbot just to make sure it wasn’t something lingering on this end, and I’m still getting the error.
Can you ping api.lifx.com and tell me what ip you see? also does your chat bot support Server Name Indicators?
It looks like i didn’t rollback a change to the wildcard certificate we use as the default. I just pushed that now. Could you test again?
I tested the wildcard cert change first, and it worked! I didn’t need to upgrade Python at all. Thanks!
I would still recommend upgrading python. I’m told that the newer versions are much much shinier
I agree, and I switched the chatbot over to Python 3 just now. Rejoice!
Thanks again for the quick fix!