xmpp-webhook icon indicating copy to clipboard operation
xmpp-webhook copied to clipboard

Unexpected XML token xml.CharData

Open don-philipe opened this issue 2 years ago • 0 comments

Hi,

lately my xmpp-webhook stopped working. Unfortunately I have no clue why and I'm not familiar with go-Code in any way.

The output of journalctl -u xmpp-webhook.service is this:

xmpp-webhook[562]: panic: unexpected XML token xml.CharData encountered: restricted-xml
xmpp-webhook[562]: goroutine 1 [running]:
xmpp-webhook[562]: main.panicOnErr(...)
xmpp-webhook[562]:         github.com/tmsmr/xmpp-webhook/main.go:24
xmpp-webhook[562]: main.main()
xmpp-webhook[562]:         github.com/tmsmr/xmpp-webhook/main.go:100 +0x67c
systemd[1]: xmpp-webhook.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
systemd[1]: xmpp-webhook.service: Failed with result 'exit-code'.

OS: Archlinux ARM GO: 1.17.5 xmpp-webhook: 0.4

I have set only the three required environment variables in /etc/xmpp-webhook.env. Are there any ideas what the problem could be?

Thanks

don-philipe avatar Dec 19 '21 19:12 don-philipe