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

Adding second device fails - "last error not set" #3533

Open
punkt-x opened this issue Nov 16, 2024 · 5 comments
Open

Adding second device fails - "last error not set" #3533

punkt-x opened this issue Nov 16, 2024 · 5 comments
Labels

Comments

@punkt-x
Copy link

punkt-x commented Nov 16, 2024

  • Operating System (Linux/Mac/Windows/iOS/Android): Win11
  • Delta Chat Version: 1.48.0
  • Expected behavior: Adding Win PC as second device (main device is an android phone)
  • Actual behavior: after QR scan the process of adding starts on both devices. After 30 seconds the android phone gives an error message: "Sending Error:
  • Steps to reproduce the problem: I repeated the process several times, firewall is deactivated for delta chat, manual addition via backup file of the delta profile fails as well
  • Screenshots: ---
  • Logs:
@nicodh
Copy link

nicodh commented Nov 21, 2024

Can you provide a log after trying?
From the top menu:
View -> Developer -> Open Current Logfile

What do you mean with "last error not set" in the issue title? Where is that shown?

@punkt-x
Copy link
Author

punkt-x commented Dec 15, 2024

Screenshot 2024-12-15 191636

"Last error not set" is the error message on the smartphone (first device) when the connection process on the Win11-system fails.

@punkt-x
Copy link
Author

punkt-x commented Dec 15, 2024

Are there any private issues in the log file? I saved it as .txt, could post it here or send it as PM.

@Simon-Laux
Copy link
Member

Simon-Laux commented Jan 10, 2025

Are there any private issues in the log file?

might be better send it as PM. for example to [email protected] or to me in the forum on https://support.delta.chat/u/simon/summary

Also that "no error" is displayed is an android bug, so I'll move this issue to the android repo now.
(could maybe be solved by using jsonrpc for this function? just an idea, I don't know how the code works in android)

@Simon-Laux Simon-Laux transferred this issue from deltachat/deltachat-desktop Jan 10, 2025
@Simon-Laux
Copy link
Member

Simon-Laux commented Jan 11, 2025

iOS has same problem of being unable to show real error message. This is basically a case where the trick of get last error that we use when using the cffi is not working in this case, maybe a missing error event in core? anyways I think simple solution would be to use jsonrpc, because there methods return errors directly.

@Simon-Laux Simon-Laux added the bug label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants