Coder Social home page Coder Social logo

Qr sync fails about passy HOT 9 CLOSED

Groonir avatar Groonir commented on June 25, 2024
Qr sync fails

from passy.

Comments (9)

GleammerRay avatar GleammerRay commented on June 25, 2024 1

I apologize for being unable to assist you with setting up synchronization for Passy. In the next release, Passy dedicated synchronization server will be included (already implemented on the dev branch). With that, you will be able to manually set the IP address on both server and client. If you are interested, I can notify you when this feature has been released.

from passy.

Groonir avatar Groonir commented on June 25, 2024 1

Thank you for trying! There is no need for that as i get your app from f-droid but thanks for asking!

from passy.

Groonir avatar Groonir commented on June 25, 2024 1

Found the solution!

My vpn disables lan traffic by default. Enabled it and everything started working!

from passy.

GleammerRay avatar GleammerRay commented on June 25, 2024

Hello @Groonir !

This isn't a problem related to hotspot connection, as it seems as though the client and host are able to communicate properly.

Stale auth means that either it took too long for the authentication packet to arrive or might also be caused by your device time being set to a wrong value. It is important to note that there must be a significant time difference (5 seconds) for this to occur.

Have you tried synchronizing without using hotspot? I would expect it doesn't work that way either. More importantly, do your phone and computer device times and time zones co-align? This might have an impact on the authentication process.

Thank you for your report.

from passy.

Groonir avatar Groonir commented on June 25, 2024

Thanks for the swift reply!
I tried with using the wifi network but they just time out. Maybe this happens due to the computer being connected by an ethernet cable?
Time zones are the same on both devices

Edit: also, the time between the qr scan and error is less than a second

Edit 2: tried it on wifi and got the following error on my phone:

Connecting... 
Local exception has occurred: Failed to connect.
SocketException: Connection timed out, host: InternetAddress('10.3.18.31', IPv4), port: 51440
#0      _NativeSocket.connect.<anonymous closure>.<anonymous closure> (dart:io-patch/socket_patch.dart:975)
#1      _RootZone.run (dart:async/zone.dart:1655)
#2      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:882)
#3      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18)
#4      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#5      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)

from passy.

GleammerRay avatar GleammerRay commented on June 25, 2024

10.3.18.31 does not look like the actual network IP address, unless you are sure that it is. Looks like Passy might failing to access host's networking. Are you sure that your firewall rules allow Passy to communicate fully (both private and public networks)? If you're on Windows, please try this - https://www.minitool.com/news/how-to-allow-a-program-through-firewall-windows-10.html, and see if you can synchronize via Wi-Fi then, after restarting Passy.

from passy.

Groonir avatar Groonir commented on June 25, 2024

^ misclick

I have followed the article and passy was allowed in public networks and not private ones. I allowed in private also and tried again and still i get this error on my tablet:

Connecting... 
Local exception has occurred: Failed to connect.
SocketException: Connection timed out, host: InternetAddress('10.7.18.174', IPv4), port: 53220
#0      _NativeSocket.connect.<anonymous closure>.<anonymous closure> (dart:io-patch/socket_patch.dart:975)
#1      _RootZone.run (dart:async/zone.dart:1655)
#2      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:882)
#3      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18)
#4      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#5      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)

btw i have a vpn on all my devices but i set it to bypass passy or disabled it when trying to sync even if i think it shouldnt interfere

from passy.

GleammerRay avatar GleammerRay commented on June 25, 2024

How odd. Still, 10.7.18.174 is not a traditional format of a local IP address. The VPN you are using might be creating a local network to route all connections through, which would explain it.

from passy.

GleammerRay avatar GleammerRay commented on June 25, 2024

Sweet! Hope you enjoy the password manager.

from passy.

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.