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

Unexpected XML token xml.CharData #25

Open
don-philipe opened this issue Dec 19, 2021 · 0 comments
Open

Unexpected XML token xml.CharData #25

don-philipe opened this issue Dec 19, 2021 · 0 comments

Comments

@don-philipe
Copy link

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

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

No branches or pull requests

1 participant