Giter Club home page Giter Club logo

Comments (28)

phanan avatar phanan commented on May 27, 2024

Does your server have SSL?

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

from player.

phanan avatar phanan commented on May 27, 2024

That must be the reason then. iOS app policies require an API to have SSL for the app to communicate with. Luckily SSL support is trivial these days with Let's Encrypt—I'd suggest you take a look.

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

I'm on Android, do they have a similar policy?

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

from player.

phanan avatar phanan commented on May 27, 2024

Can you share a screenshot or even better, a screen recording?

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

from player.

phanan avatar phanan commented on May 27, 2024

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

From the koel jail.

root@koel:/var/log/nginx # cat access.log
192.168.1.213 - - [05/Dec/2021:13:26:47 -0800] "GET /api/me HTTP/1.0" 200 115 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:26:47 -0800] "GET /api/data HTTP/1.0" 200 2631 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:26:48 -0800] "DELETE /api/me HTTP/1.0" 204 0 "-" "Dart/2.14 (dart:io)"
root@koel:/var/log/nginx # cat access.log
192.168.1.213 - - [05/Dec/2021:13:26:47 -0800] "GET /api/me HTTP/1.0" 200 115 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:26:47 -0800] "GET /api/data HTTP/1.0" 200 2631 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:26:48 -0800] "DELETE /api/me HTTP/1.0" 204 0 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:27:03 -0800] "POST /api/me HTTP/1.0" 200 55 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:27:04 -0800] "GET /api/me HTTP/1.0" 200 115 "-" "Dart/2.14 (dart:io)"
192.168.1.213 - - [05/Dec/2021:13:27:04 -0800] "GET /api/data HTTP/1.0" 200 2631 "-" "Dart/2.14 (dart:io)"
root@koel:/var/log/nginx # cat error.log
root@koel:/var/log/nginx # cat koel.error.log
root@koel:/var/log/nginx #

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

An update:
I recently migrated to SCALE (Linux, where CORE is FreeBSD), which uses k3s instead of FreeBSD jails.
It would appear that the app is working as intended now. I also noticed that building from source errors out and says that one of the dependencies is not compatible with FreeBSD. Looks like there might be an inherent incompatibility with FreeBSD on the server side of things?

from player.

matteosacchetto avatar matteosacchetto commented on May 27, 2024

Hi, I'm experiencing a similar issue.
Here is my setup:

  • Koel running in docker (armv7l) behind traefikv2 as reverse proxy
  • SSL is active
  • The certificate is trusted
  • The app is running on Android 10

Whenever I try to login, it only appears the error message: There was a problem logging is. Please try again

I've see that the domain resolution is performed, but no request is performed to the server (nothing showing in the server logs), so I think it is something related to the app itself or my Android device rather than the server setup

Let me know how I can help you further and thank you for the awesome job 💪🏼

from player.

nickian avatar nickian commented on May 27, 2024

I have this same problem. Using a Let's Encrypt certificate and the nginx example configuration provided in the repo. Works fine in the browser, but can't log into the iOS app.

from player.

phanan avatar phanan commented on May 27, 2024

from player.

Dhs92 avatar Dhs92 commented on May 27, 2024

Will the android app be updated as well? The play store shows the last update was October of 2021

from player.

phanan avatar phanan commented on May 27, 2024

from player.

nickian avatar nickian commented on May 27, 2024

Still can't log in with the new version of the app on iOS. 🤷‍♂️

There are no errors added to either my Nginx error log or to the Laravel log when trying and failing to log in.

from player.

phanan avatar phanan commented on May 27, 2024

Can you perhaps share with me a set of credentials? My email is [email protected].

from player.

nickian avatar nickian commented on May 27, 2024

I am currently just running it on my local network, so it is not accessible outside. I can try setting an instance up on Digital Ocean to see if I have the same issue.

from player.

phanan avatar phanan commented on May 27, 2024

If it's a local network how would the mobile app be able to access it?

from player.

nickian avatar nickian commented on May 27, 2024

Because my iPhone is connected to the same local router. If I'm away from my local network, I use Wireguard to connect into it. The network is not the issue.

from player.

phanan avatar phanan commented on May 27, 2024

Ah right. I would suggest trying a public instance as you said then. TBH I'm not familiar with this kind of VPN setup, which might very well be why Koel is unable to connect.

from player.

nickian avatar nickian commented on May 27, 2024

I'm not using the VPN. I'm at home on the network. It does seem to work fine on Digital Ocean.

Does the app need to be connected to the internet? In other words, does the external internet need to be able to ping my instance for some reason? Should it not work offline?

from player.

nickian avatar nickian commented on May 27, 2024

Doesn't make much sense. I can pull up the login screen in Safari as well. But it won't let me login with my user/pass. It acts like I put in wrong credentials. Put the same ones in on my laptop and it works fine.

from player.

phanan avatar phanan commented on May 27, 2024

If by Safari you mean mobile Safari then I'd strongly suggest there are some different configs between your phone and your laptop. Unfortunately, as mentioned above, I'm not familiar with this kind of setup so my support is limited.

from player.

nickian avatar nickian commented on May 27, 2024

I will do more investigating. Things seem to work on the cloud but not on my home server. The setups are basically the same (Ubuntu, php-fpm 8.0, Nginx). I'll update if I find some configuration issue causing this.

from player.

phanan avatar phanan commented on May 27, 2024

Closing as I don't believe this is a Koel-specific issue.

from player.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.