Originally created by @StudioNirin on GitHub (Sep 14, 2022).
Steps to reproduce
Install 2.1.5 audiobookshelf server on docker
I have reverse proxy set up with Nginx Proxy Manager, however this issue also happens if I connect with local IP so the proxy doesn't seem to be related.
Install current android app
Connect to server address (via url or local ip) (this seems to work, as it moves on to the login step)
Try and login - this does nothing, except says 'unknown error'
Originally created by @StudioNirin on GitHub (Sep 14, 2022).
### Steps to reproduce
1. Install 2.1.5 audiobookshelf server on docker
2. I have reverse proxy set up with Nginx Proxy Manager, however this issue also happens if I connect with local IP so the proxy doesn't seem to be related.
3. Install current android app
4. Connect to server address (via url or local ip) (this seems to work, as it moves on to the login step)
5. Try and login - this does nothing, except says 'unknown error'
### Expected behaviour
IT should login.
### Actual behaviour
It throws an 'unknown error'
### Environment data
Audiobookshelf Version: 2.1.5
- [Yes] Android App?
#### Android Issue
Android version:
12
Device model:
Z-Flip4
Stock or customized system:
Stock
adam
added the bug label 2026-04-24 23:15:35 +02:00
I found a solution - I needed to add http:// to the start of the ip or url.
If this is always needed on order to work, the app should have some logic
that assumes its always there (or adds it if it's missing). It's simple to
do. It didn't even occur to me that you might not have that in place
already.
On Wed, 14 Sept 2022, 19:36 advplyr, @.***> wrote:
@StudioNirin commented on GitHub (Sep 14, 2022):
I found a solution - I needed to add http:// to the start of the ip or url.
If this is always needed on order to work, the app should have some logic
that assumes its always there (or adds it if it's missing). It's simple to
do. It didn't even occur to me that you might not have that in place
already.
On Wed, 14 Sept 2022, 19:36 advplyr, ***@***.***> wrote:
> What does the server logs say?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/advplyr/audiobookshelf-app/issues/382#issuecomment-1247158313>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA4T22JJ5XYVW45DELAC6HTV6ILL7ANCNFSM6AAAAAAQMVVLKY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
I just tested entering my local ip without the protocol and it works. This won't work if you need to enter https:// since it will by default put in http://
@advplyr commented on GitHub (Sep 14, 2022):
That is in place already. If your server entry does not start with "http" then "http://" will get added. See here https://github.com/advplyr/audiobookshelf-app/blob/master/components/connection/ServerConnectForm.vue#L256
I just tested entering my local ip without the protocol and it works. This won't work if you need to enter https:// since it will by default put in http://
I am experiencing this same issue. My server has ssl setup so I the server address starts with 'https'
I have tried it with and without the prefix. The server is running behind traefik
@MattInternet commented on GitHub (Sep 14, 2022):
I am experiencing this same issue. My server has ssl setup so I the server address starts with 'https'
I have tried it with and without the prefix. The server is running behind traefik
@MattInternet I'm sure your issue is separate. There have been different issues posted here and in the main repo about traefik but I'm not familiar with it personally. I believe there are some active users in the discord server that run traefik.
@advplyr commented on GitHub (Sep 14, 2022):
@MattInternet I'm sure your issue is separate. There have been different issues posted here and in the main repo about traefik but I'm not familiar with it personally. I believe there are some active users in the discord server that run traefik.
No it 8snt,because it -only- works if I manually add http:// to the start
of the server address. If you have it set up that it already adds that by
default, then you have it set up incorrectly.
On Wed, 14 Sept 2022, 19:44 advplyr, @.***> wrote:
I just tested entering my local ip without the protocol and it works. This
won't work if you need to enter https:// since it will by default put in
http://
@StudioNirin commented on GitHub (Sep 14, 2022):
No it 8snt,because it -only- works if I manually add http:// to the start
of the server address. If you have it set up that it already adds that by
default, then you have it set up incorrectly.
On Wed, 14 Sept 2022, 19:44 advplyr, ***@***.***> wrote:
> That is in place already. If your server entry does not start with "http"
> then "http://". See here
> https://github.com/advplyr/audiobookshelf-app/blob/master/components/connection/ServerConnectForm.vue#L256
>
> I just tested entering my local ip without the protocol and it works. This
> won't work if you need to enter https:// since it will by default put in
> http://
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/advplyr/audiobookshelf-app/issues/382#issuecomment-1247166039>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA4T22MHGXSX3X3JU7YIDALV6IMIDANCNFSM6AAAAAAQMVVLKY>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
@advplyr I can actually reproduce this error on v2.3.3 (Docker on Windows) with latest Android app (0.0.65-beta).
Probably worth adding a placeholder to the server input element. Weirdly, the ping to the server succeeds but not the login.
@ravikiranj commented on GitHub (Aug 13, 2023):
@advplyr I can actually reproduce this error on v2.3.3 (Docker on Windows) with latest Android app (0.0.65-beta).
Probably worth adding a [placeholder](https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder) to the server input element. Weirdly, the ping to the server succeeds but not the login.

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @StudioNirin on GitHub (Sep 14, 2022).
Steps to reproduce
Expected behaviour
IT should login.
Actual behaviour
It throws an 'unknown error'
Environment data
Audiobookshelf Version: 2.1.5
Android Issue
Android version:
12
Device model:
Z-Flip4
Stock or customized system:
Stock
@advplyr commented on GitHub (Sep 14, 2022):
What does the server logs say?
@StudioNirin commented on GitHub (Sep 14, 2022):
I found a solution - I needed to add http:// to the start of the ip or url.
If this is always needed on order to work, the app should have some logic
that assumes its always there (or adds it if it's missing). It's simple to
do. It didn't even occur to me that you might not have that in place
already.
On Wed, 14 Sept 2022, 19:36 advplyr, @.***> wrote:
@advplyr commented on GitHub (Sep 14, 2022):
That is in place already. If your server entry does not start with "http" then "http://" will get added. See here https://github.com/advplyr/audiobookshelf-app/blob/master/components/connection/ServerConnectForm.vue#L256
I just tested entering my local ip without the protocol and it works. This won't work if you need to enter https:// since it will by default put in http://
@MattInternet commented on GitHub (Sep 14, 2022):
I am experiencing this same issue. My server has ssl setup so I the server address starts with 'https'
I have tried it with and without the prefix. The server is running behind traefik
@advplyr commented on GitHub (Sep 14, 2022):
@MattInternet I'm sure your issue is separate. There have been different issues posted here and in the main repo about traefik but I'm not familiar with it personally. I believe there are some active users in the discord server that run traefik.
@StudioNirin commented on GitHub (Sep 14, 2022):
No it 8snt,because it -only- works if I manually add http:// to the start
of the server address. If you have it set up that it already adds that by
default, then you have it set up incorrectly.
On Wed, 14 Sept 2022, 19:44 advplyr, @.***> wrote:
@ravikiranj commented on GitHub (Aug 13, 2023):
@advplyr I can actually reproduce this error on v2.3.3 (Docker on Windows) with latest Android app (0.0.65-beta).
Probably worth adding a placeholder to the server input element. Weirdly, the ping to the server succeeds but not the login.