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

watchdog Monitor failure #1009

Open
litaojun opened this issue Sep 22, 2023 · 1 comment
Open

watchdog Monitor failure #1009

litaojun opened this issue Sep 22, 2023 · 1 comment

Comments

@litaojun
Copy link

I encountered a problem when using watchdog 2.1.7 . The problem is described as follows
I deployed the watchdog application on server 1 and listened to a shared directory that was deployed on another server 2. After the watchdog application was enabled, I could normally listen to the newly added folder in the shared directory.
When server 1 is disconnected from the network for a period of time, maybe about half an hour, server 1 cannot access the shared directory. After the network is restored, server 1 can access the shared directory. However, I find that server 1 cannot listen to the newly added folder in the shared directory. Therefore, the listening fails.
Does watch not support this scenario?
Or I misconfigured it

@OrangMutan
Copy link

OrangMutan commented Apr 24, 2024

I see this same problem listening a shared directory on a windows-server with watchdog 3.0.0 / python 3.8. I wonder also, if I misconfigured anything or if I have to check for network connection and if it fails to restart any observer?

edit: I found this also true for watchdog 4.0.0.
So my next approach is to check for network connection and if it fails to recreate any observer ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants