"Failed to ping server" in Android and iOS App #309

Closed
opened 2026-04-24 23:16:03 +02:00 by adam · 6 comments
Owner

Originally created by @PlzSpamMeNot on GitHub (Oct 2, 2022).

Hello

I freshly setup a ABS server on my synology nas and it works pretty fine over web.
But when I try to connect via app (both, Android and iOS) I will get the error massage "Failed to ping server".

On each device, i can reach the ABS server via browser.
From the local netzwork and also from extern over internet.

Steps to reproduce

  1. setup fresh abs server
  2. install fresh iOS or Android app
  3. try to connect via IP or dns name

Expected behaviour

  • establish connection

Actual behaviour

  • Error "Failed to ping server"

Environment data

Audiobookshelf Version:

  • [ x] Android App - latest version
  • [ x] iOS App - latest version
Originally created by @PlzSpamMeNot on GitHub (Oct 2, 2022). Hello I freshly setup a ABS server on my synology nas and it works pretty fine over web. But when I try to connect via app (both, Android and iOS) I will get the error massage "Failed to ping server". On each device, i can reach the ABS server via browser. From the local netzwork and also from extern over internet. ### Steps to reproduce 1. setup fresh abs server 2. install fresh iOS or Android app 3. try to connect via IP or dns name ### Expected behaviour - establish connection ### Actual behaviour - Error "Failed to ping server" ### Environment data Audiobookshelf Version: - [ x] Android App - latest version - [ x] iOS App - latest version
adam added the bug label 2026-04-24 23:16:03 +02:00
adam closed this issue 2026-04-24 23:16:03 +02:00
Author
Owner

@Undergrid commented on GitHub (Oct 2, 2022):

I have recently set up ABS and gained access from the Android app, so this is not an inherent issue with either the service or the app.

Can you access the synology device from your mobile using a webbrowser rather than any of the synology apps?

@Undergrid commented on GitHub (Oct 2, 2022): I have recently set up ABS and gained access from the Android app, so this is not an inherent issue with either the service or the app. Can you access the synology device from your mobile using a webbrowser rather than any of the synology apps?
Author
Owner

@PlzSpamMeNot commented on GitHub (Oct 3, 2022):

Yes, I can access the Synology and its apps from everywhere.
I also can access the specific ABS server over web from everywhere and every device.

@PlzSpamMeNot commented on GitHub (Oct 3, 2022): Yes, I can access the Synology and its apps from everywhere. I also can access the specific ABS server over web from everywhere and every device.
Author
Owner

@PlzSpamMeNot commented on GitHub (Oct 4, 2022):

Maybe it is a timing problem. Could I extend ping timing on server site?

@PlzSpamMeNot commented on GitHub (Oct 4, 2022): Maybe it is a timing problem. Could I extend ping timing on server site?
Author
Owner

@nichwall commented on GitHub (Oct 4, 2022):

Is it an issue with the ports? For example, only forwarding 80 or 443 from the internet so you need to make sure it's http://books.example.com vs https://books.example.com when filling out the connection information in the app? I block port 80 on my router to force people to connect via https (not the best solution, but it works for me) so sometimes people forget that.

@nichwall commented on GitHub (Oct 4, 2022): Is it an issue with the ports? For example, only forwarding 80 or 443 from the internet so you need to make sure it's `http://books.example.com` vs `https://books.example.com` when filling out the connection information in the app? I block port 80 on my router to force people to connect via https (not the best solution, but it works for me) so sometimes people forget that.
Author
Owner

@PlzSpamMeNot commented on GitHub (Oct 4, 2022):

Is it an issue with the ports? For example, only forwarding 80 or 443 from the internet so you need to make sure it's http://books.example.com vs https://books.example.com when filling out the connection information in the app? I block port 80 on my router to force people to connect via https (not the best solution, but it works for me) so sometimes people forget that.

I use the basic setting of ABS, port 80 to 13378 and forwarded this port to a random other port to the web.
When I login over the web browser (doesn't matter if in LAN or over Internet) I only use HTTP (unfortunately, HTTPS would be my preference)

In the app i tried the following connection strings so far (all without https):

Over web browser, each of this URLs works, regardless wich device and in wich network. Only in the App it won't work.

@PlzSpamMeNot commented on GitHub (Oct 4, 2022): > Is it an issue with the ports? For example, only forwarding 80 or 443 from the internet so you need to make sure it's `http://books.example.com` vs `https://books.example.com` when filling out the connection information in the app? I block port 80 on my router to force people to connect via https (not the best solution, but it works for me) so sometimes people forget that. I use the basic setting of ABS, port 80 to 13378 and forwarded this port to a random other port to the web. When I login over the web browser (doesn't matter if in LAN or over Internet) I only use HTTP (unfortunately, HTTPS would be my preference) In the app i tried the following connection strings so far (all without http**s**): - http://book.example.com - http://<externlP>:<forwardedPort> (e.g. http://81.221.123.45:12345) - http://<internalIP>:13378 (e.g. http://192.168.0.10:13378 Over web browser, each of this URLs works, regardless wich device and in wich network. Only in the App it won't work.
Author
Owner

@PlzSpamMeNot commented on GitHub (Oct 4, 2022):

Figured out a workaround, if i use instead of the Subdomain the DynDNS URL with port, I could connect via App

@PlzSpamMeNot commented on GitHub (Oct 4, 2022): Figured out a workaround, if i use instead of the Subdomain the DynDNS URL with port, I could connect via App
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#309