-
Notifications
You must be signed in to change notification settings - Fork 891
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
Timeout and multiple bugs when using new notification url #1485
Comments
The environment variable needs to be As for the notification error logs, they are identified in the order in which they are sent. But since they are each sending asynchronously, the errors will be in the order that they fail. The only real fix is to remove the |
Okay, i copied the variable |
Okay, short update:
If logs with debug are needed, i can try to force an update again. |
When was the notification received? I don't think there will be any log entries even in debug when there are no problems sending... |
The notification were received
|
Yeah, it seems like the delay is broken. Haven't found the source of the problem, but I can at least reproduce it. |
Are you still using it in singular form? If so, add the missing S. 👍🏼 |
See the comments below this comment. I already changed the variable. |
Will #1726 resolve the notification bug? See comment from #1485 (comment) |
@kirbylink, I think so. Not sure how I missed it when debugging it, though. Perhaps it was just me doing it without gopls/ide and not catching that the delay was not used. |
@piksel could it be that this problem is fixed in the new versions? |
Yeah! Thanks |
Describe the bug
As discussed in #1374 i create a new issue for my problem.
I switched to the new notification url and among other things i get a time out when watchtower tries to send a notification after updating container.
When setting
WATCHTOWER_NO_STARTUP_MESSAGE=false
i will be notified, so the notification url seems to be correct.Additional i found three more bugs:
notify-upgrade
and legacy setup for smtp and gotify, the url for gotify may not have been converted correctly:According to documentation the url should be like
gotify://gotify.example.com:443/AzyoeNS.D4iJLVa/?title=Great+News&priority=1
but in my case Watchtower created an url like:gotify://gotify.example.com:443/AzyoeNS.D4iJLVa?title=Great+News&priority=1
(without/
after the token)If needed, i can restore the old setup and post the complete anonymized created url.
WATCHTOWER_NOTIFICATION_DELAY=300
but watchtower tries to send immediately after updating the container.service=gotify
and for gotify the log saysservice=smtp
Steps to reproduce
docker-compose up -d
Expected behavior
Screenshots
No response
Environment
Debian Bullseye (Linux 5.10.17-v8+)
aarch64 (Raspberry Pi)
Docker version 20.10.21, build baeda1f
Your logs
Watchtower logs (unfortunately without debug)
Additional context
No response
The text was updated successfully, but these errors were encountered: