Client returns confusing error message when it encounters an invalid certificate #494

Closed
opened 2026-04-24 23:26:08 +02:00 by adam · 2 comments
Owner

Originally created by @cassieesposito on GitHub (Mar 17, 2023).

Steps to reproduce

  1. Set up ABS server to run throuh nginx reverse proxy
  2. Set up nginx to use https using letsencrypt certificate via the certbot interface
  3. Block port 80 on your firewall, causing automatic renewals to fail
  4. Wait 3 months for your certificate to expire
  5. Try to log in to ABS using android client

Expected behaviour

  • An error message that says the server is using an expired certificate.
  • An option to inspect the certificate
  • An option to, after inspecting the certificate, accept it anyway (I'm not sold on this)

Actual behaviour

  • An error message that says the server is not returning pings

Aditional Notes

  • Web interface behaved as expected, allowing login after displaying the requisite dire warnings about accepting invalid certificates.

Environment data

Audiobookshelf Version:
2.2.16 (Debian)

  • [ X ] Android App?
  • iOS App?

Android Issue

Android version: 11, 12

Device model: Google Pixel 2, Samsung Galaxy A53 5G

Stock or customized system: Stock, Stock

iOS Issue

iOS Version:

iPhone model:

Originally created by @cassieesposito on GitHub (Mar 17, 2023). ### Steps to reproduce 1. Set up ABS server to run throuh nginx reverse proxy 2. Set up nginx to use https using letsencrypt certificate via the certbot interface 3. Block port 80 on your firewall, causing automatic renewals to fail 4. Wait 3 months for your certificate to expire 5. Try to log in to ABS using android client ### Expected behaviour - An error message that says the server is using an expired certificate. - An option to inspect the certificate - An option to, after inspecting the certificate, accept it anyway (I'm not sold on this) ### Actual behaviour - An error message that says the server is not returning pings ### Aditional Notes - Web interface behaved as expected, allowing login after displaying the requisite dire warnings about accepting invalid certificates. ### Environment data Audiobookshelf Version: 2.2.16 (Debian) - [ X ] Android App? - [ ] iOS App? #### Android Issue Android version: 11, 12 Device model: Google Pixel 2, Samsung Galaxy A53 5G Stock or customized system: Stock, Stock #### iOS Issue iOS Version: iPhone model:
adam added the bug label 2026-04-24 23:26:08 +02:00
adam closed this issue 2026-04-24 23:26:08 +02:00
Author
Owner

@cassieesposito commented on GitHub (Mar 17, 2023):

Obviously this is not a true disaster. I got my certificate updated and everything is peechy-keen. But an accurate error message would have saved me about 30 minutes of troubleshooting.

@cassieesposito commented on GitHub (Mar 17, 2023): Obviously this is not a true disaster. I got my certificate updated and everything is peechy-keen. But an accurate error message would have saved me about 30 minutes of troubleshooting.
Author
Owner

@advplyr commented on GitHub (Nov 18, 2023):

The error messaging was updated in v0.9.67-beta. I didn't test this specific case but let me know if it still needs work

@advplyr commented on GitHub (Nov 18, 2023): The error messaging was updated in v0.9.67-beta. I didn't test this specific case but let me know if it still needs work
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#494