Skip to content
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

serve does not seem to working 100% #59

Open
asdffdsa6131 opened this issue May 2, 2020 · 13 comments
Open

serve does not seem to working 100% #59

asdffdsa6131 opened this issue May 2, 2020 · 13 comments
Labels
❓ question Further information is requested
Milestone

Comments

@asdffdsa6131
Copy link

  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
@x0b x0b added 🐞 Bug Something isn't working Priority: P2 Normal Bugs and things that dont work right labels May 3, 2020
@x0b
Copy link
Owner

x0b commented May 3, 2020

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 x0b added ❓ question Further information is requested and removed Priority: P2 Normal Bugs and things that dont work right 🐞 Bug Something isn't working labels May 9, 2020
@x0b
Copy link
Owner

x0b commented May 9, 2020

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

@asdffdsa6131
Copy link
Author

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

@x0b
Copy link
Owner

x0b commented May 9, 2020

  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.

@asdffdsa6131
Copy link
Author

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.

@x0b
Copy link
Owner

x0b commented May 9, 2020

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?

@asdffdsa6131
Copy link
Author

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?

@x0b
Copy link
Owner

x0b commented May 9, 2020

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.

@asdffdsa6131
Copy link
Author

asdffdsa6131 commented May 9, 2020

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"

@x0b
Copy link
Owner

x0b commented May 10, 2020

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?

@asdffdsa6131
Copy link
Author

i think we agree.

  1. non-default
  2. change of wording

x0b added a commit that referenced this issue May 13, 2020
@x0b
Copy link
Owner

x0b commented May 13, 2020

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.

@ThreeProphets
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants