-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video streaming fails when server URL is in ip:port
format
#8652
Comments
Is there any solution or at least any workaround? ... i am new to nextcloud but this issue is making no sense... |
Customizing hosts on the router can temporarily solve this problem |
About the video playback, I have time to reproduce it tomorrow. Now there is another problem about logging in. Tomorrow I will change to port 443 and test the video playback after successful login ************ CAUSE OF ERROR ************ java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: 192.168.0.188:888 ************ APP INFORMATION ************ ************ DEVICE INFORMATION ************ ************ FIRMWARE ************ |
That gives me an idea of where the error may be coming from, thanks. The login issue should be fixed by #9354, but I'm guessing a similar thing is happening in video playback. |
Thanks for reply. About the video playback, I reproduced it again today. Seems to be the cause of timeout. 2021-11-26T19:47:49.668+0800;I;OCFileListFragment;onCreateView() start |
Yes, the PR I referenced isn't merged yet. It will be fixed when it's merged and released.
Judging by this, the problem is that your server is on |
ip:port
format
Thanks, I will try again in a few days.
not like this. I failed to login with 192.168.0.188:888. When testing video playback, I used https://192.168.0.188 to login, and the port was 443. |
And are you actually serving valid HTTPS traffic on 192.168.0.188:443? I find that very unlikely unless you have your own CA and have installed its certificates in your phone. Have you tried port 80? as in just 192.168.0.188, it should default to http |
Yes, I configured the CA certificate, and the CA certificate points to my domain name. I'm trying to disable https, but I can't find a way to disable it. HTTP requests will be automatically redirected to https |
Thank you very very very much. You are right. I just found a way to disable https. I can play the video normally with http, and I can log in normally with http://192.168.0.188:81, and no error is reported. |
Through the domain name connection, the video can be played normally. But can not play video via ip connection. ip connection is the LAN connection.
Environment data
Android version: 11
Device model: Redmi K30pro
Stock or customized system:
Nextcloud app version: dev 20210629
Nextcloud server version: 21.0.1
Reverse proxy:
No exception in the log.
The text was updated successfully, but these errors were encountered: