All Docs Troubleshooting

Connection Troubleshooting

Fix common connection issues when connecting to your Audiobookshelf server

Having trouble connecting SoundLeaf to your Audiobookshelf server? This guide covers the most common issues and solutions.

Before You Start

Test your server URL in Safari first. If it doesn’t work in the browser, it won’t work in SoundLeaf.

Common Issues

”Connection failed” on login screen

Most likely cause: Wrong protocol (HTTP vs HTTPS)

SoundLeaf defaults to HTTPS if you don’t specify. If your server uses HTTP:

✗ audiobookshelf.local:13378
✗ 192.168.1.100:13378
✓ http://audiobookshelf.local:13378
✓ http://192.168.1.100:13378

Always include http:// or https:// explicitly.

URL verified but login fails

  1. Check credentials - Username and password are case-sensitive
  2. Check library type - SoundLeaf currently only supports audiobook libraries, not podcast libraries
  3. Server version - Very old Audiobookshelf versions may have compatibility issues. Update to the latest version.

Works locally but not remotely

Your server needs to be accessible from the internet. Options:

”Error loading library” after login

This usually means:

  • You selected a podcast library (not yet supported)
  • The library is empty
  • API compatibility issue with your server version

Try selecting a different library, or check that your audiobook library has content.

Server Configuration Issues

Behind a Reverse Proxy

If using nginx, Caddy, or similar:

  1. Ensure WebSocket support is enabled (required for real-time sync)
  2. Check that the proxy passes the correct headers
  3. Verify SSL certificate is valid (not self-signed, unless you’ve configured trust)

nginx example:

location / {
    proxy_pass http://localhost:13378;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $host;
}

Self-Signed Certificates

SoundLeaf doesn’t trust self-signed SSL certificates by default. Options:

  1. Use HTTP instead (fine for local network or VPN)
  2. Get a free SSL certificate from Let’s Encrypt
  3. Use Cloudflare as a proxy (free SSL)

Cloudflare Access / Zero Trust

If your server is behind Cloudflare Access, you need to configure service token headers. See our Cloudflare Access setup guide.

Network-Specific Issues

Corporate/School WiFi

Some networks block non-standard ports or certain traffic. Try:

  1. Using port 443 (standard HTTPS port) for your server
  2. Connecting via mobile data to test
  3. Using a VPN

IPv6

If your server is IPv6-only, ensure your network supports IPv6. Most mobile networks do, but some WiFi networks don’t.

Still Not Working?

  1. Check server logs - Your Audiobookshelf server logs may show what’s failing
  2. Try the demo server - Connect to demo.soundleafapp.com with username demo and password demo to verify the app works
  3. Update everything - Make sure both SoundLeaf and Audiobookshelf are on the latest versions
  4. Report the issue - If nothing works, open an issue on GitHub with your server setup details