hivemq / hivemq-mqtt-client

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
https://hivemq.github.io/hivemq-mqtt-client/
Apache License 2.0
832 stars 153 forks source link

Getting "java.net.UnknownHostException: No such host is known (************.s2.eu.hivemq.cloud)" #576

Closed aks2687 closed 4 months ago

aks2687 commented 1 year ago

Checklist

❓ Question

I am getting "java.net.UnknownHostException: No such host is known (*****.s2.eu.hivemq.cloud)" when running from Intellij from a Java program using the Javaclient. From the browser I am able to establish the connection using the webclient provided by the HiveMQ

I am running the program from a system which is behind a proxy. Configured the proxy server and other links are resolved from Intellij without any issues.

Any hints to check the issue would be of great help ?

SgtSilvio commented 1 year ago

Hi @aks2687 you can configure a proxy for the mqtt client by using the hivemq-mqtt-client-proxy module (https://hivemq.github.io/hivemq-mqtt-client/docs/installation/#optional-features). Which type of proxy do you have?

pglombardo commented 4 months ago

Hi @aks2687 - this issue seems to have gone stale. Is this still an issue for you?

pglombardo commented 4 months ago

Hi @aks2687 - I'll close this issue out but if this is still an issue for you, let us know. We'd be happy to help out!