Issue Connecting to Kavita Service via OPDS on Panels for iOS

Hi everyone,

I’m encountering an issue with Panels on iOS while trying to connect to my Kavita service via OPDS. My Kavita server is running in a Docker container on my raspberry, and I access it using its Tailscale IP address. The OPDS URL I’m using follows the format: http://<ip>:5000/api/opds/<key>.

However, I’m unable to establish a connection to my server. It seems like the App Transport Security (ATS) policy in the Panels app is preventing me from accessing my Kavita server by its ip. I’m looking for a solution that doesn’t involve setting up a reverse proxy.

Has anyone faced a similar issue or have any suggestions on how to resolve this ? Any help would be greatly appreciated!

Thank you!

Hi @Cazeva

the App Transport Security is mandatory since iOS 9 but we have set it up with the most permissive configuration. Which allows local network connections using an IP address.
Since iOS 17, Apple does not allow external IP connections over HTTP:

In iOS 17, iPadOS 17, and macOS 14, ATS no longer allows connections to IP addresses by default. Add individual IP addresses and classless inter-domain routing (CIDR) ranges in the NSExceptionDomains dictionary.

I’m afraid you have to setup a secure connection for your server. Otherwise iOS ATS will block it.