nextcloud / nextcloud/ios

Nextcloud IOS App | Your input can’t be opened. VLC is unable to open the MRL

Open
#3,259 0 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Upload the video in any format i.e mp4 or avi
  2. Try to play the video in IOS nextcloud application
  3. You will get an error regarding VLC

Image

Note: There is no cloudflare or no other kind of tuneelling between client and server.

Expected behaviour

The video should play without any error in the IOS app

Actual behaviour

The video does not play and get an error regarding VLC in the IOS app

Logs

Nginx Logs:
Jan 02 21:54:43 srpdrive-syncloud ld-2.31.so[1274]: srpdrive-syncloud nginx: 70.31.88.91 - - [02/Jan/2025:21:54:43 +0000] "GET /remote.php/direct/Ybl5xNy7BEjoKAUuq74k41xd3RITyhV21vexp0WDMe4WiNvO6AenywAugXdl HTTP/1.1" 500 195 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1"

Nextcloud Logs:
`
{“reqId”:“OSCsrUP2q1qpDZHOHPxJ”,“level”:0,“time”:“2025-01-02T21:54:43+00:00”,“remoteAddr”:“70.31.88.91”,“user”:“–”,“app”:“no app in context”,“method”:“GET”,“url”:“/remote.php/direct/Ybl5xNy7BEjoKAUuq74k41xd3RITyhV21vexp0WDMe4WiNvO6AenywAugXdl”,“message”:“The loading of lazy AppConfig values have been requested”,“userAgent”:“Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1”,“version”:“30.0.4.1”,“exception”:{“Exception”:“RuntimeException”,“Message”:“ignorable exception”,“Code”:0,“Trace”:[{“file”:“/snap/nextcloud/820/nextcloud/lib/private/AppConfig.php”,“line”:1180,“function”:“loadConfig”,“class”:“OC\AppConfig”,“type”:“->”,“args”:[null]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/AppConfig.php”,“line”:100,“function”:“loadConfigAll”,“class”:“OC\AppConfig”,“type”:“->”,“args”:},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/AllConfig.php”,“line”:169,“function”:“getKeys”,“class”:“OC\AppConfig”,“type”:“->”,“args”:[“user_ldap”]},{“file”:“/snap/nextcloud/820/nextcloud/apps/user_ldap/lib/Helper.php”,“line”:111,“function”:“getAppKeys”,“class”:“OC\AllConfig”,“type”:“->”,“args”:[“user_ldap”]},{“file”:“/snap/nextcloud/820/nextcloud/apps/user_ldap/lib/Helper.php”,“line”:52,“function”:“getServersConfig”,“class”:“OCA\User_LDAP\Helper”,“type”:“->”,“args”:[“ldap_configuration_active”]},{“file”:“/snap/nextcloud/820/nextcloud/apps/user_ldap/lib/AppInfo/Application.php”,“line”:114,“function”:“getServerConfigurationPrefixes”,“class”:“OCA\User_LDAP\Helper”,“type”:“->”,“args”:[true]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php”,“line”:28,“function”:“OCA\User_LDAP\AppInfo{closure}”,“class”:“OCA\User_LDAP\AppInfo\Application”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php”,“line”:32,“function”:“injectFn”,“class”:“OC\AppFramework\Bootstrap\FunctionInjector”,“type”:“->”,“args”:[{“class”:“Closure”}]},{“file”:“/snap/nextcloud/820/nextcloud/apps/user_ldap/lib/AppInfo/Application.php”,“line”:105,“function”:“injectFn”,“class”:“OC\AppFramework\Bootstrap\BootContext”,“type”:“->”,“args”:[{“class”:“Closure”}]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php”,“line”:157,“function”:“boot”,“class”:“OCA\User_LDAP\AppInfo\Application”,“type”:“->”,“args”:[{“class”:“OC\AppFramework\Bootstrap\BootContext”}]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/App/AppManager.php”,“line”:434,“function”:“bootApp”,“class”:“OC\AppFramework\Bootstrap\Coordinator”,“type”:“->”,“args”:[“user_ldap”]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/App/AppManager.php”,“line”:211,“function”:“loadApp”,“class”:“OC\App\AppManager”,“type”:“->”,“args”:[“user_ldap”]},{“file”:“/snap/nextcloud/820/nextcloud/lib/private/legacy/OC_App.php”,“line”:85,“function”:“loadApps”,“class”:“OC\App\AppManager”,“type”:“->”,“args”:[[“authentication”]]},{“file”:“/snap/nextcloud/820/nextcloud/remote.php”,“line”:129,“function”:“loadApps”,“class”:“OC_App”,“type”:“::”,“args”:[[“authentication”]]}],“File”:“/snap/nextcloud/820/nextcloud/lib/private/AppConfig.php”,“Line”:1194,“message”:“The loading of lazy AppConfig values have been requested”,“exception”:{},“CustomMessage”:“The loading of lazy AppConfig values have been requested”}}

{“reqId”:“OSCsrUP2q1qpDZHOHPxJ”,“level”:0,“time”:“2025-01-02T21:54:43+00:00”,“remoteAddr”:“70.31.88.91”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/remote.php/direct/Ybl5xNy7BEjoKAUuq74k41xd3RITyhV21vexp0WDMe4WiNvO6AenywAugXdl”,“message”:“Creation of dynamic property OCA\DAV\Direct\Server::$enablePropfindDepthInfinityf is deprecated at /snap/nextcloud/820/nextcloud/apps/dav/lib/Direct/Server.php#15”,“userAgent”:“Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1”,“version”:“30.0.4.1”,“data”:{“app”:“PHP”}}

{“reqId”:“OSCsrUP2q1qpDZHOHPxJ”,“level”:0,“time”:“2025-01-02T21:54:43+00:00”,“remoteAddr”:“70.31.88.91”,“user”:“–”,“app”:“user_ldap”,“method”:“GET”,“url”:“/remote.php/direct/Ybl5xNy7BEjoKAUuq74k41xd3RITyhV21vexp0WDMe4WiNvO6AenywAugXdl”,“message”:“Calling LDAP function ldap_explode_dn with parameters ["smit.parikh",0]”,“userAgent”:“Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1”,“version”:“30.0.4.1”,“data”:{“app”:“user_ldap”}}

Reasoning or why should it be changed/implemented?
Environment data

iOS version: iOS 18.1.1

Nextcloud iOS app version: 6.2.1.0

Server operating system: Debian 10 Linux 64bit

Web server: Nginx

Database: pgsql

PHP version: 8.3.9

Nextcloud version: 30.0.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing video playback in the iOS app and inspect the request to the remote.php direct-download entry point. Review the reported apps/dav/lib/Direct/Server.php path and the server response, then compare behavior with the VLC error. Done means supported video files play in the iOS app without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, nginx, php, postgresql, swift
Domain
api, audio-video-rtc, backend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.