SubmarinerApp / Submariner

A Subsonic client for macOS
https://submarinerapp.com
BSD 3-Clause "New" or "Revised" License
123 stars 3 forks source link

Unable to login to play.asti.ga (Astiga) #136

Closed Mateus109 closed 1 year ago

Mateus109 commented 1 year ago

Subsonic Error (code 40) Wrong username or password

When using Submariner with Astiga

NattyNarwhal commented 1 year ago

Have you tried with or without token auth?

Mateus109 commented 1 year ago

Have you tried with or without token auth?

Yeah, tried both. I guess Subsonic simply doesn't work with Astiga.

NattyNarwhal commented 1 year ago

I haven’t heard of Astiga before, but I’ll check it.

In the meantime, what version are you using? Are you using the MAS version or the one from the website? Do you have any entries for your server in Keychain?

Mateus109 commented 1 year ago

The web version. It works with other Subsonic apps I tested (e.g. Substreamer).

NattyNarwhal commented 1 year ago

I just signed up for Astiga and I can't seem to reproduce this. I'm thinking it might be a keychain issue (i.e. similar to GH-125).

Is it in Keychain Access, like so?

Screenshot 2023-06-13 at 10 17 53 PM

Mateus109 commented 1 year ago
image image image
Mateus109 commented 1 year ago

Are there any local application logs I can view?

Mateus109 commented 1 year ago

I cleared all the settings, and started again. This time no "wrong username or password" error, but Submariner seems unable to download any data.

image
NattyNarwhal commented 1 year ago

Logs are in Console.app when running. You probably want to filter it.

Mateus109 commented 1 year ago

OK, so there's a lot of info in Console when running Submariner. But the following faults seem to occur when setting up Submariner:

Error connecting to remote endpoint: (null)' fault: Unable to create token NSXPCConnection. NSXPCStoreServerEndpointFactory 0x13ce67870 -newEndpoint returned nil' CoreData: Unable to create token NSXPCConnection. NSXPCStoreServerEndpointFactory 0x13ce67870 -newEndpoint returned nil

NattyNarwhal commented 1 year ago

Unfortunately you do get a lot of noise in the console. I'm cleaning up some code, but I'll look at this and try to do a build.

NattyNarwhal commented 1 year ago

Submariner-2.2-20230615TestBuild.zip

Try this build; it's based on the latest commit, and I've made some improvements to Keychain support (if that's the problem) since last release. Relevant messages for Keychain-related problems in the console will mention SBServer.password; ones adjacent may be related.

Mateus109 commented 1 year ago

That seems to have fixed the problem! :)

NattyNarwhal commented 1 year ago

Looks like I'll have to push a release soon then...