question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot authenticate with Glow

See original GitHub issue

Describe the bug Try to login to Glow - receive an error (screenshot below)

To Reproduce

  1. Install Hildebrand Glow (DCC) Integration via HACS
  2. Restart HA
  3. Config > Integration > Add Integration > pick Glow
  4. Receive login popup
  5. Unable to login

Expected behaviour To be able to login to Glow

Screenshots image

Version Integration 0.5.1 HA 2021.11.1

Debug log

This error originated from a custom integration.

Logger: custom_components.hildebrandglow_dcc.config_flow
Source: custom_components/hildebrandglow_dcc/glow.py:46
Integration: Hildebrand Glow (DCC) (documentation, issues)
First occurred: 22:10:16 (1 occurrences)
Last logged: 22:10:16

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/hildebrandglow_dcc/config_flow.py", line 60, in async_step_user
    info = await validate_input(self.hass, user_input)
  File "/config/custom_components/hildebrandglow_dcc/config_flow.py", line 37, in validate_input
    glow = await hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/hildebrandglow_dcc/glow.py", line 46, in authenticate
    response = requests.http.post(url, json=auth, headers=headers)
AttributeError: module 'requests' has no attribute 'http'

Additional context Could this be related to bug #69?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
ColinRobbinscommented, Nov 9, 2021

CORRECTION.
it needs @HandyHat to tag 0.5.2 as a new release.

In the mean time, while waiting for the release, if you edit custom_components/hildebrandglow_dcc/glow.py line 46 from

    response = requests.http.post(url, json=auth, headers=headers)

To

    response = requests.post(url, json=auth, headers=headers)

(Remove ‘.http’) It will work.

3reactions
EDIflyercommented, Nov 10, 2021

Fantastic, thanks @ColinRobbins - logged in fine now! Just need to start playing about with options/capabilities now 😄 🤓

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with Amazon Glow Setup - Amazon Customer Service
If your device is stuck on the "Finish setup on the app" screen, deregister your device. Then use the Amazon Glow app to...
Read more >
What is authentication problem, nook glow light new today to
Purchased new GlowLight Plus on 5/3. Connected to current BN account. Added email address and password ***** instructed. Opened account. New ...
Read more >
What to do if you have an authentication error on the Nook
having trouble authenticating my new Nook Glowlight 4. I foloow the three recommended steps but still an authentication problem not allowing me ...
Read more >
Glow Scot on Twitter: "Having trouble logging into Glow ...
We are having problems logging into Glow, is there an issue at the moment? 1.
Read more >
Microsoft Teams with a GLOW account
The glow login is @glow so it wont let me log in through the app? thanks. ... You can follow the question or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found