Skip to content

Issue with TLS Option #94

@adityashahazilen

Description

@adityashahazilen

MQTT Client is not able to connect to broker without TLS option. Its throwing exception "An existing connection was forcibly closed by the remote host"
if (this.Options.MqttTlsOptions is not null) { builder.WithTlsOptions(this.Options.MqttTlsOptions); } else { builder.WithTlsOptions(o => o.UseTls()); }

I think else part should be removed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions