rcx icon indicating copy to clipboard operation
rcx copied to clipboard

serve does not seem to working 100%

Open asdffdsa6131 opened this issue 5 years ago • 13 comments

  1. thanks
  2. when i try to serve a remote, if i choose dlna, the serve created is for http
  3. please allow custom ports for serve.
  4. add serve sftp.
  5. thanks

asdffdsa6131 avatar May 02 '20 17:05 asdffdsa6131

hello and welcome to the ~~forum~~ app issue tracker 😄

  1. when i try to serve a remote, if i choose dlna, the serve created is for http

Please enable Logging (Settings > Logging > Log rclone errors) and then attach the log file you find in Android/data/io.github.x0b.rcx/files on your external storage. You can also send it to [email protected] if you don't want to post this publicly.

  1. please allow custom ports for serve.
  2. add serve sftp.

Also, please open a new issue for for the feature requests - this allows other users to vote on them.

x0b avatar May 03 '20 15:05 x0b

Please provide the logs, otherwise I'll have to close this

x0b avatar May 09 '20 12:05 x0b

hello,

  1. there is no log file at all, i guess, as per, "errors will be logged", if there are no errors then no log?
  2. when i try to serve dlna, rcx says it is streaming on http://127.0.0.1 and when i click on tha link, when i click on that link, chrome opens and i get "404 page not found"
  3. when i do a port scan on the cellphone, the only open port is for termux.
  4. on my computer, and on my tablet and the cellphone, if i run vlc, vlc will not see the dlna server. thanks

image

image

image

asdffdsa6131 avatar May 09 '20 14:05 asdffdsa6131

  1. there is no log file at all, i guess, as per, "errors will be logged", if there are no errors then no log?

Sorry, I just got confused there - there are some rclone serve commands which will log everything, but the dlna serve apparently does not. I should add this.

  1. when i try to serve dlna, rcx says it is streaming on http://127.0.0.1 and when i click on tha link, when i click on that link, chrome opens and i get "404 page not found"

This is an actual programming error - serve currently does not check the mode (e.g. serve http vs serve dlna and and displays the notification for an http serve, not an dlna serve.

  1. when i do a port scan on the cellphone, the only open port is for termux.
  2. on my computer, and on my tablet and the cellphone, if i run vlc, vlc will not see the dlna server.

From the other issue:

Did you check 'Allow remote access'? It should work fine in VLC. Also, for non-trivial remotes (>100 files / > 10 folders) you will need a cache overlay, or the media player will time out.

In my network, that works when using a Android 7 or Android 10 phone for serving and VLC on a computer or on a smart TV to play media.

Could you maybe post your Termux command line? It may contain something that improves compatibility for your situation, and may be useful to evaluate for the app.

x0b avatar May 09 '20 15:05 x0b

thanks, with 'allow remote access' checked, then the server dlna works as expected, yeah! about rclone serve dlna on termux, and my rclone serve dlna on windows., i use rclone serve dlna remote: --read-only --progress --name="name"

i think you can close the ticket unless you have a question for me.

asdffdsa6131 avatar May 09 '20 15:05 asdffdsa6131

There does seem to be a UX issue - the wording 'Allow remote access' was not clear enough.

What description would you have required to understand that you need to check that option?

x0b avatar May 09 '20 16:05 x0b

thanks, if i want a do a rclone server dlna, it should just work. if 'Allow remote access' must be checked for this to work, then what is the point of displaying the checkbox at all?

asdffdsa6131 avatar May 09 '20 16:05 asdffdsa6131

For me, this was not obvious - I actually introduced the DLNA option to play media files more comfortably on the same device, so that being the 'default' state seemed natural.

I would resolve that like this:

  1. Change the wording to something like 'Allow access from other devices'
  2. Automatically check the box when someone selects DLNA
  3. (optional) Remember the checkbox choice for people like me

That does increase the possibility of data exposure though, so the auto-checking will definitely be limited to DLNA.

x0b avatar May 09 '20 17:05 x0b

good to be a little paranoid, so do not auto-check that box. perhaps there should be a warning. "By default, rcx will serve files only to this local device. If you check this box then rcx will allow other network devices to see the files. Be careful what you share. Please consider using a username and password"

asdffdsa6131 avatar May 09 '20 18:05 asdffdsa6131

Hmm, I've thought about this a bit more. I'm currently leaning towards keeping it non-default, but changing the wording1 and adding a second line that explains the consequences.

1 Especially "remote access" is pretty unclear currently - does that mean the internet? The local network? Something else entirely with rclone remotes?

x0b avatar May 10 '20 19:05 x0b

i think we agree.

  1. non-default
  2. change of wording

asdffdsa6131 avatar May 10 '20 19:05 asdffdsa6131

I've left it at non-default for 1.11.4, and changed the wording a bit. Adding a proper explanation is planned for 1.12.

x0b avatar May 13 '20 20:05 x0b

Okay, so I'm having the EXACT same symptoms, except I actually DID enable visibility to other devices, and neither my PS4 nor VLC will pick it up. I tried streaming from Mega and also local files. I was using Bubble before this, and that worked fine aside from not supporting Mega. I tried disabling my firewall, I tried reinstalling RCX, I tried restarting every device in the network chain, I even tried DISabling visibility to other devices to see if the checkbox was visually inverted, but nothing made any difference. I'm using an A136U1 on Android 13

ThreeProphets avatar Mar 20 '24 09:03 ThreeProphets