Closed Fogelholk closed 1 year ago
Thought I might add that maybe you wanna know dependency versions as well (should be same as this github repo however): https://cgit.freebsd.org/ports/tree/net/xapsd/Makefile
Could you check https://github.com/freswa/dovecot-xaps-daemon/pull/27?
Thanks, testing it now! It could sometimes take a few days before it was crashing before, so I'll get back in a week or so if there are no crashes, or sooner if there are some crashes :)
Please use the latest version in that PR. The former one created deadlocks and I forgot to run the tests before pushing -.-
Shit happends :)
Testing with 1945a9f instead!
Better use 97d97d306f83e6fcead5b6d02e98200541f63668 :disappointed:
Testing with 97d97d3 ! ^^
Looks like 97d97d3 is working fine for me, no crashes due to "concurrent map read and map write" so I think this one might be solved!
I did however just now get another crash with this message:
2023-05-04T23:22:30.986628+02:00 s972 xapsd[18564] time="2023-05-04T23:22:30+02:00" level=fatal msg="Error:Post \"https://api.push.apple.com/3/device/XXX\": http2: client connection lost"
Once every couple of days I get the following error, which results in xapsd no longer responding. The stacktrace is completely spammed in the logs, since there are quite a few requests every second from dovecot nodes, until the service is restarted. Didn't know how much of the stacktrace is useful for you, but here's a bit of it at least.
I'm running on FreeBSD 13.1 with the tag f6d5733 checked out.