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

Docker companion on separate host - no notifications after klipper host boot #78

Open
pwlgrzs opened this issue Jan 27, 2024 · 5 comments

Comments

@pwlgrzs
Copy link

pwlgrzs commented Jan 27, 2024

Hello,

I am running mobileraker_companion in docker on a separate host. Klipper host is a separate machine that I turn off during night time. I noticed that I will receive no notifications from companion until I restart the container, however in the logs I can see it's picking up the printer once klipper host is started.

Here's the last log from the container, as expected there's a good number of failed to connect errors ending with the companion reaching out to klipper host once I powered it on. I've done several prints since then and got 0 notifications. Then I restarted container and as visible in the logs I am getting notifications again.

mobileraker_logs.txt

@pwlgrzs pwlgrzs changed the title Docker companion on separate host - no notifications after klipper host shutdown Docker companion on separate host - no notifications after klipper host boot Jan 27, 2024
@Clon1998
Copy link
Owner

Hey,
Sorry for my late reply.

At the very bottom of the log, I can see that notifications are issued.
If I understood your description correctly, after the logged notifcations, you started several other prints, and the container/companion did not issue any additional notifications until you restarted it?

@Johnnytk36
Copy link

Just letting you know, I am having the same issue. I have had to restart the docker container for mobileraker on my Synology NAS after restarting my sonic pad, or i don't get the push notifications.

@Clon1998
Copy link
Owner

Clon1998 commented Apr 8, 2024

Apr 8, 2024

Ill try to debug the container in my machine later this week.
Can you confirm that it is working fine for one print, but as soon as you start another the container requires a restart?

@Clon1998
Copy link
Owner

Clon1998 commented Apr 8, 2024

@Johnnytk36

Apr 8, 2024

Ill try to debug the container in my machine later this week. Can you confirm that it is working fine for one print, but as soon as you start another the container requires a restart?

@Johnnytk36
Copy link

@Clon1998 I'll try and do some testing with this for you. I haven't noticed that. Off the top of my head, as soon as i restart the sonic pad, mobileraker doesn't send any push notifications, till i restart the container.

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

3 participants