Git Product home page Git Product logo

Comments (20)

 avatar commented on August 29, 2024 4

Unfortunately, I've been unable to get this to work. Here are some errors I received on the Server when running this on my phone(local network), and an android emulator(maybe behind nat).

[Redacted] 2017/12/27 18:52:55.378217 tcp_listen.go:103: DEBUG: Listen (BEP/tcp): connect from 192.168.My.Phone:52096
[Redacted] 2017/12/27 18:52:55.382246 tcp_listen.go:117: INFO: Listen (BEP/tcp): TLS handshake: EOF
[Redacted] 2017/12/27 18:52:57.890106 relay_listen.go:88: DEBUG: Listen (BEP/relay): setting traffic class: operation not supported
[Redacted] 2017/12/27 18:52:59.244697 relay_listen.go:101: INFO: Listen (BEP/relay): TLS handshake: remote error: tls: illegal parameter

I've not received a syncthing connection request from any of the devices I tested. Normal Syncthing was not running on my phone or the emulator.

Thank you for continuing this project. The idea is great and should make Syncthing more portable due to lower battery and on demand storage usage.

from syncthing-lite.

Nutomic avatar Nutomic commented on August 29, 2024 2

The networking code in the library is pretty complicated, so this will take some time to fix. I'm testing on Cyanogenmod 6, and with the latest Syncthing release as peer. But I'm also getting some errors. Keep in mind that this is still in alpha state.

from syncthing-lite.

Nutomic avatar Nutomic commented on August 29, 2024 1

So this is how it's supposed to work:

  1. add a device on your phone using device id or qr code
  2. accept phone on your other device in Syncthing
  3. share folder to your phone

However, there are some cases where connections might not work:

  • if syncthing-android is running (you have to stop that app first)
  • i've only really tested local discovery connections, global discovery and relays might still have bugs

from syncthing-lite.

l-jonas avatar l-jonas commented on August 29, 2024 1

The missing support for connecting over the internet was fixed with syncthing/syncthing-java#10, but this is not yet part of the Android App.

from syncthing-lite.

 avatar commented on August 29, 2024

Any update on this? Does it work correctly when you run it? What's your setup(Syncthing Version, android version and oem)?

from syncthing-lite.

kiyoon avatar kiyoon commented on August 29, 2024

I have the same symptom. I added 2 devices but couldn't get any acceptance confirmation message. I also have TLS illegal parameter error. I'm using Galaxy Note 5 and the other 2 devices are Windows and Linux.

from syncthing-lite.

lovenemesis avatar lovenemesis commented on August 29, 2024

I'm using several Sony Xperia devices running on Android 7.1.1. None of them are able to connect the syncthing instance running on two RPi2 0.14.42 inside local network.

This app really has potential for mobile platform. Keep up the good work!

Thanks,

from syncthing-lite.

 avatar commented on August 29, 2024

Didn't @imsodin talk about updating the BEP protocol here? His repo doesn't have any commits though.

from syncthing-lite.

imsodin avatar imsodin commented on August 29, 2024

@ImPat My changes have nothing to do with this issue, but you're right, I should make them accessible even if I stopped trying to understand Android building for the moment and it's thus untested: syncthing/syncthing-java#7

from syncthing-lite.

Nutomic avatar Nutomic commented on August 29, 2024

This bug is fixed in 0.2.0 (there was a problem where the app would try to open multiple connections to the same device).

from syncthing-lite.

Bruceforce avatar Bruceforce commented on August 29, 2024

Is it really fixed?

I just clean installed 0.2.0 via play store and tried to connect to my NAS (via LAN), but the NAS still logs

2018-02-08 01:17:22 Listen (BEP/tcp): TLS handshake: remote error: tls: illegal parameter
2018-02-08 01:17:45 Listen (BEP/tcp): TLS handshake: EOF

from syncthing-lite.

Nutomic avatar Nutomic commented on August 29, 2024

@Bruceforce Can you make sure that Syncthing on the NAS does not show Syncthing Lite as connected before you start the app? Were you doing anything (eg upload or download files) when this happened?

from syncthing-lite.

Bruceforce avatar Bruceforce commented on August 29, 2024

To show syncthing lite as connected it must be added as new device on the NAS first or did I misunderstand you? But I can't even add it on the NAS. As soon as I start syncthing lite, the NAS begins to log the aforementioned errors and I'm not able to even add the syncthing lite device. Syncthing lite shows the NAS "green" btw.

I wasn't doing anything while this happened. The NAS was connected to one other node, but both were idle.

Some questions: I don't have to uninstall the normal syncthing do I (Stopping it on the Android side is still sufficient)?
Is it okay if normal syncthing on Android is in the NAS device list as long as the normal app is stopped or do I have to unpair both?

from syncthing-lite.

Nutomic avatar Nutomic commented on August 29, 2024

So you are not receiving a notification to add the Syncthing Lite device on the NAS? You only need to stop Syncthing Android, no need to uninstall or disconnect.

Can you post a log from the Android side?

from syncthing-lite.

Bruceforce avatar Bruceforce commented on August 29, 2024

Yes, I'm not receiving a notification to add the syncthing lite device on my NAS.

Does this help you (if not - sorry, I've never collected logs from Android before)?
https://gist.github.com/Bruceforce/6101e0a0294bcafe05a9a0744c1dd29d

from syncthing-lite.

lapo-luchini avatar lapo-luchini commented on August 29, 2024

BTW: I only receive rarely the notifications server-side, that's why I asked #14.

from syncthing-lite.

3v1n0 avatar 3v1n0 commented on August 29, 2024

I'm getting the very same issue logged by @bruteforce, here's with a LG G5 SE.

Unfortunately the app isn't usable :-(.
I've also installed the default client, but that's not running.

from syncthing-lite.

skerit avatar skerit commented on August 29, 2024

Only local connections seem to work, any device over the internet fails to connect.

from syncthing-lite.

clawoflight avatar clawoflight commented on August 29, 2024

I also cannot connect over the internet. I have KDE connect for LAN, so this is a deal-breaker for me.

from syncthing-lite.

stephenjamieson avatar stephenjamieson commented on August 29, 2024

same issue, doesn't work. Project dead?

from syncthing-lite.

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.