Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message when connection fails #903

Open
caluml opened this issue Dec 4, 2024 · 2 comments
Open

Add message when connection fails #903

caluml opened this issue Dec 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@caluml
Copy link

caluml commented Dec 4, 2024

Describe your issue

I have IPv6 connectivity.
I can connect via a web browser (so all connectivity, firewalls, etc are OK).

But connecting via the IPv6 address (e.g. https://[20a0:123:24:345::4645]:8920) fails instantly.

Steps to reproduce

Open app
Enter https:[]:8920
Hit connect

Expected behavior

It should work, or give a useful error message.

Screenshots

No response

Player

No response

Additional context

The Jellyfin instance doesn't have a DNS name, and uses a self-signed cert, so it might be that that is causing it

But whatever the issue is, displaying a more helpful error message would be very useful.

Device

Asus Zenfone 8

Android version

Lineage 20

App version

Latest from FDroid today

Jellyfin version

Unsure

@caluml caluml added the bug Something isn't working label Dec 4, 2024
@jarnedemeulemeester
Copy link
Owner

IPv6 connections should not be a problem.
Are you able to connect using an IPv4 address?

Findroid trusts user added certificates as well. Have you added your ca to the android system?

@caluml caluml changed the title Unable to connect via IPv6 address Add message when connection fails Dec 7, 2024
@caluml
Copy link
Author

caluml commented Dec 7, 2024

Hi @jarnedemeulemeester

After some experimenting, it was due to the SSL cert.
It was either because it was self signed, or perhaps because the IP address wasn't listed in the certificate.

Could I suggest

  • an error message on the connection screen for when the connection fails, detailing what the underlying issue is? I.e. connection timed out, read timed out, certificate is untrusted, 403 received, etc
  • also, an "Ignore SSL errors" checkbox for situations similar to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants