Tested our client with normal broker connection settings (MQTT) and had no issues. When deployed to an environment where we needed to use websockets and a proxy instead, we can't connect to the broker.
We've narrowed it down to the proxy config settings (websockets connection to broker works in env that doesn't have/need proxy)... but its not obvious whats wrong.
Here's an example of our config file:
Code: dxlclient.config
- [General]
- UseWebSockets=true
- [Certs]
- BrokerCertChain=c:\certs\testbrokercerts.crt
- CertFile=c:\certs\testclient.crt
- PrivateKey=c:\certs\testclient.key
- [Brokers]
- {11111111-1111-1111-1111-111111111111}={11111111-1111-1111-1111-111111111111};8883;testbroker.proxylab;1.1.1.11
- {22222222-2222-2222-2222-222222222222}={22222222-2222-2222-2222-222222222222};8883;testbroker2.proxylab;1.1.1.12
- [BrokersWebSockets]
- {11111111-1111-1111-1111-111111111111}={11111111-1111-1111-1111-111111111111};443;testbroker.proxylab;1.1.1.11
- {22222222-2222-2222-2222-222222222222}={22222222-2222-2222-2222-222222222222};443;testbroker2.proxylab;1.1.1.12
- [Proxy]
- Address=http://test.proxy.proxylab
- Port=9999
- User=prUser
- Password=prPass
Is there something obvious we are missing or...?