Open gjorgdy opened 3 months ago
I'm seeing the same, and I'm using the docker container if that's useful.
My guess is this is server-side - I'm seeing this with current and also previous version of Aoede.
It appears basic auth for apps has been deprecated by Spotify: https://github.com/librespot-org/librespot/issues/1308#issuecomment-2276196094
Happy to accept a PR that updates the README / credential handling.
Hey @shiftybitshiftr . I just built your branch. The bot doesn't work if I don't input my user AND password. And it still claims failed auth and Spotify ends up resetting my password. Did you implement the new auth in a ready usable state or do I need to do something else?
As it is right now I dont think this is mergable as it doesn't work out of the box.
Maybe I'm missing something?
EDIT: I'm super stupid. Sorry. I built the main and zeroconf branches and was testing the main one. My bad. Will test zeroconf now. Sorry for my mistake.
Hi Tomas, the branch is still being worked on (need to debug audio quality issues and add storage for the encrypted blob) but the auth portion is working. Are you sure you built from the right source? My branch doesn't use a password env var.
On Thu, Sep 5, 2024 at 12:06 PM Tomas Caram @.***> wrote:
Hey @shiftybitshiftr https://github.com/shiftybitshiftr . I just built your branch. The bot doesn't work if I don't input my user AND password. And it still claims failed auth and Spotify ends up resetting my password. Did you implement the new auth in a ready usable state or do I need to do something else?
As it is right now I dont think this is mergable as it doesn't work out of the box.
Maybe I'm missing something?
— Reply to this email directly, view it on GitHub https://github.com/codetheweb/aoede/issues/54#issuecomment-2332447211, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJODL4VURAMDHY6HSKUCWLZVCTSNAVCNFSM6AAAAABMIS3JXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZSGQ2DOMRRGE . You are receiving this because you were mentioned.Message ID: @.***>
My mistake @shiftybitshiftr . Sorry. I built main and zeroconf branches and was using the main-based docker file.
I've built from the zeroconf to test. I'm building the Dockerfile (if that info is useful in any way).
I still need a SPOTIFY_USERNAME even if it's not mentioned in the readme.
After setting SPOTIFY_USERNAME it doesn't work because I believe the docker container is running inside the docker network. That is going to be a problem for people running this bot in production environments outside a local home network. I'll check what ports I need for the spotify autodiscovery to work (I guess 5353 UDP) and if I need to set any special routing in addition. I don't think 5353/udp will be a simple thing to share from within Docker environments.
Thanks for the feedback, let's move discussion into #55.
You need to set --net=host
for docker run or network_mode: host
for compose to get the mDNS to propagate (although it ultimately depends on how your local network is configured).
We will save the generated auth blob to file so it can be run in a remote environment after initial setup.
Without initially changing my login info the bot started randomly throwing this error. After changing my password, resetting the bot token and completely redeploying the bot, the issue persists.