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.

No Home Assistant URL found in config or detected; forcing user form

See original GitHub issue

Describe the bug Cannot setup the integration (via the Integrations GUI)

To Reproduce

  1. Open Integrations tab
  2. Click on ‘Add integration’
  3. Fill all configuration fields as expected
  4. No login; see logs (nothing happens when pressing the “Enter” button)

Expected behavior

Integration should be setup

Screenshots

immagine

System details

  • Home-assistant (version): 2022.9.1 (Supervisor 2022.08.6 / OS 8.5)
  • alexa_media (version from const.py or HA startup): 4.1.2
  • alexapy (version from pip show alexapy or HA startup): 1.26.3
  • Amazon 2FA is enabled (y/n). Yes

Logs Please provide logs.

2022-09-14 23:19:25.400 DEBUG (MainThread) [custom_components.alexa_media.config_flow] Creating new login
2022-09-14 23:19:25.401 DEBUG (MainThread) [custom_components.alexa_media.helpers] e*********n@g*******m: Returning uuid {'uuid': 'ae41f049eaa2ae22754a4f0a2d891a33', 'index': 0}
2022-09-14 23:19:25.417 DEBUG (MainThread) [alexapy.alexalogin] Creating TOTP for R************************************************IFA
2022-09-14 23:19:25.417 DEBUG (MainThread) [alexapy.alexalogin] Generating OTP [REDACTED]
2022-09-14 23:19:25.417 DEBUG (MainThread) [alexapy.alexalogin] Login created for e[REDACTED]n@g[REDACTED]m - amazon.it
2022-09-14 23:19:25.417 DEBUG (MainThread) [custom_components.alexa_media.config_flow] No Home Assistant URL found in config or detected; forcing user form

Additional context Even if debug is enabled in GUI, no additional log (alexa_media.(email).get.html nor alexa_media.(email).post.html) is output inside the configuration directory The URL entered in the configuration window is a duckdns .org URL, with https enabled.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
alandtsecommented, Nov 2, 2022

No biggie. You helped enough. I’ll post the fix and tag you so you can see the changes made. It’ll be obvious once you see it.

0reactions
String-656commented, Nov 2, 2022

No problem. Thanks for the custom component!

I’ve never coded python, (other languages yes) I don’t think I can pull off a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No URL Available - Home Assistant
When Home Assistant serves you the “No URL Available” message, you are probably trying to set up or configuring an integration that requires...
Read more >
Reconfiguration of Alexa media player not possible - Frontend
I'm now using the built-in 2FA from Media Player (Configuration · custom-components/alexa_media_player Wiki · GitHub) and it works. Just copy ...
Read more >
Echo Devices (Alexa) as Media Player - Testers Needed
Unable to connect to provided Home Assistant url: https://xxxxxx.duckdns.org What I find interesting is thatI can double click the address ...
Read more >
2022.9: Home Assistant Birthday Release!
New revamped Automation Editor, Weekly Schedule helper to help with automations, and Paul Bottein (Mushroom Cards) joins Nabu Casa.
Read more >
Troubleshooting your configuration - Home Assistant
When an integration does not show up, many different things can be the case. Before you try any of these steps, make sure...
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