kamax-matrix / mxisd

Federated Matrix Identity Server
GNU Affero General Public License v3.0
220 stars 112 forks source link

No writable property 'url' on class: io.kamax.mxisd.config.ListenerConfig #131

Closed NullIsNot0 closed 5 years ago

NullIsNot0 commented 5 years ago

After migrating from 1.2.2 to 1.3.0 e-mail notification configuration crashes mxisd docker container.

Configuration part:

...
matrix:
    domain: example.com
    listener:
        localpart: appservice-mxisd
        token:
            as: 9pBE4fo8qsFjOM0dELtpvTrA6BLYCndS8Nzqrv1laTqiW3oAXDHzxQ0otT3p1J1j
            hs: yNabQ67LO55IedMod2cQYwaEUfWtpEsAKz4bNS2sQ8SCr8NyOX7y9rFv1kDvxFja
        url: http://matrix-synapse:8090
...

Error I get:

No writable property 'url' on class: io.kamax.mxisd.config.ListenerConfig
in 'reader', line 37, column 14:
url: http://matrix-synapse:8090

This configuration worked well in 1.2.2.

maxidorius commented 5 years ago

Could you give kamax/mxisd:1.3.0-7-g99697d7 a try please?

NullIsNot0 commented 5 years ago

Just tried kamax/mxisd:1.3.0-7-g99697d7. It works well. No more errors, and functionality works. Thank you a lot!

maxidorius commented 5 years ago

Awesome! Thank you for reporting and testing. Please leave this issue open for a few days so people who are hit by it can find it easily.

For anyone using the Debian package, you'll find a package for this fix here

maxidorius commented 5 years ago

Fix is part of the v1.3.1 release