Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Mosquitto logs "Failed to associate persisted..." every restart, even without changes

Hi Roger, yes that is correct.

Also, I have 2 listeners configured both using the same password and ACL file.

No plugins.

Thanks

__
Michael (mobile)

On Sat., Mar. 5, 2022, 2:06 a.m. Roger Light, <roger@xxxxxxxxxx> wrote:
Hi Michael,

Just so I've got your setup correct, can you confirm that you're using
per_listener_settings true and are using an ACL file (as opposed to a
plugin for access control)?

Thanks,

Roger

On Fri, 4 Mar 2022 at 21:47, Michael Lum <guydingmike@xxxxxxxxx> wrote:
>
> Hello,
>
> I'm using mosquitto v2.0.13 built on CentOS 7.
> Persistence is enabled and 1 bridge is defined.
> There are multiple users configured.
>
> Every time mosquitto is restarted the following message is logged.
>
> Failed to associate persisted user testBridgeUser with ACLs, likely due to changed ports while using a per_listener_settings configuration.
>
> There are no configuration changes at all.
>
> Is there something wrong with the configuration?
> The bridge works correctly as far as I can tell.
>
> This is a version of the bridge configuration.
> It is in a .conf file separate from the main mosquitto configuration.
>
> # Bridge Configuration
> #
> connection test_bridge
> bridge_protocol_version mqttv311
> bridge_attempt_unsubscribe false
> address test_bridge:1883
> remote_clientid testBridgeUser
> remote_username testBridgeUser
> remote_password password
>
> restart_timeout 5 30
> keepalive_interval 30
>
> cleansession false
> topics here until end of file, some in, some out, all QoS 1
>
> Regards,
>
> Michael
>
> --
> Mike
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev

Back to the top