Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Can't sync with lan server after rejoining network #218

Closed
Gymcap opened this issue Feb 28, 2024 · 4 comments
Closed

Can't sync with lan server after rejoining network #218

Gymcap opened this issue Feb 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Gymcap
Copy link

Gymcap commented Feb 28, 2024

I'm running an http server locally at home which exposes my generated ics file to lan. I can link to it in ICSx5 easily, but once leaving the local network (leaving my house) the sync (obviously) fails to resolve.

After coming back home and reconnecting to the network however, the sync continues to fail to resolve until I modify the entry.

I believe the app sees my link as unreachable, and sets some sort of flag to not check that link again, and It would be very useful in my usecase to be able to turn this off for this entry. If it fails to connect, id like it to try again on its next interval.

@ArnyminerZ
Copy link
Member

This should not be happening, sync should always run, and the error should always be displayed, I believe. I will take a look and communicate what I find

@ArnyminerZ
Copy link
Member

It should be working. Does syncing manually also fail? I mean, pulling down the screen forces the synchronization to run. Is it also failing?

@ArnyminerZ ArnyminerZ added the question Further information is requested label Feb 28, 2024
@Gymcap
Copy link
Author

Gymcap commented Feb 29, 2024

Yes, it fails to reconnect until I modify the entry, like removing a character from the link, saving, and putting it back before saving again.

I'd like to reiterate that the link I'm using is only accessible when I am on my home network, and will (rightfully) fail to resolve if I'm not connected to it at sync time. But no, neither pulling to refresh nor the "synchronize now" fixes it. It seems once it fails to resolve once, it refuses to reconnect again until the entry is modified as described above.

@ArnyminerZ ArnyminerZ added bug Something isn't working and removed question Further information is requested labels Mar 10, 2024
@sunkup sunkup modified the milestones: 2.2.1, 2.2.2 Mar 28, 2024
@sunkup sunkup self-assigned this Mar 29, 2024
@sunkup
Copy link
Member

sunkup commented Apr 9, 2024

@Gymcap I this still an issue for you? I have tested it and it works just fine for me.

I believe the app sees my link as unreachable, and sets some sort of flag to not check that link again, and It would be very useful in my usecase to be able to turn this off for this entry. If it fails to connect, id like it to try again on its next interval.

I am not aware of ICSx5 setting any such flags. Maybe it's not ICSx5, but your android which remembers this link as unreachable? Though I have not heard of something like that before.

Would you be up for sharing your logs with us? It's not exactly easy, but we might be able to help you then.

Here is how to get the logs:
With adb, you can do powerful things with your Android device (you have to turn on USB debugging; no root required). It comes with the Android SDK, but also as a standalone package for most operating systems.

To view system logs, use adb logcat. To get full ICSx⁵ logs in logcat:

  • force-quit ICSx⁵
  • do adb shell setprop log.tag.davdroid VERBOSE to set the appropriate log levels
  • do adb logcat again
  • start ICSx⁵ again, force-sync

@sunkup sunkup removed this from the 2.2.2 milestone Apr 15, 2024
@bitfireAT bitfireAT locked and limited conversation to collaborators Apr 22, 2024
@sunkup sunkup converted this issue into discussion #297 Apr 22, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants