# Getting error while starting HiveMq edge

**URL:** <https://community.hivemq.com/t/getting-error-while-starting-hivemq-edge/2300>\
**Category:** Uncategorized\
**Created:** [August 21, 2023, 9:28am UTC](https://community.hivemq.com/t/getting-error-while-starting-hivemq-edge/2300 "2023-08-21T09:28:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishekmj](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@abhishekmj](https://community.hivemq.com/u/abhishekmj)\
**Post date:** [August 21, 2023, 9:28am UTC](https://community.hivemq.com/t/getting-error-while-starting-hivemq-edge/2300/1 "2023-08-21T09:28:30Z")

</div>

I am trying to install or run HiveMQ Edge, got from the website. But getting below error. can you please suggest, how to proceed?  
Version - hivemq-edge-2023.3.zip

Error stacktrace:

ERROR - connection to http provider [https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt](https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt) could not be established, using offline information  
com.hivemq.edge.model.HiveMQEdgeRemoteConnectivityException: error in http socket connection  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.httpGet(HiveMQEdgeHttpServiceImpl.java:320)  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.loadRemoteServices(HiveMQEdgeHttpServiceImpl.java:287)  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.lambda$initMonitor$0(HiveMQEdgeHttpServiceImpl.java:95)  
at java.base/java.lang.Thread.run(Thread.java:834)  
Caused by: javax.net.ssl.SSLProtocolException: Read timed out  
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:126)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)  
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)  
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)  
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)  
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:163)  
at com.hivemq.http.core.HttpUrlConnectionClient.get(HttpUrlConnectionClient.java:80)  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.httpGet(HiveMQEdgeHttpServiceImpl.java:313)  
… 3 common frames omitted  
Caused by: java.net.SocketTimeoutException: Read timed out  
at java.base/java.net.SocketInputStream.socketRead0(Native Method)  
at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)  
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)  
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)  
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)  
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)  
… 11 common frames omitted  
2023-08-21 14:57:19,276 ERROR - connection to http provider [https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt](https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt) could not be established, using offline information  
com.hivemq.edge.model.HiveMQEdgeRemoteConnectivityException: error in http socket connection  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.httpGet(HiveMQEdgeHttpServiceImpl.java:320)  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.loadRemoteServices(HiveMQEdgeHttpServiceImpl.java:287)  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.lambda$initMonitor$0(HiveMQEdgeHttpServiceImpl.java:95)  
at java.base/java.lang.Thread.run(Thread.java:834)  
Caused by: javax.net.ssl.SSLProtocolException: Read timed out  
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:126)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)  
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:259)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)  
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)  
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)  
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)  
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)  
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)  
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:163)  
at com.hivemq.http.core.HttpUrlConnectionClient.get(HttpUrlConnectionClient.java:80)  
at com.hivemq.edge.impl.HiveMQEdgeHttpServiceImpl.httpGet(HiveMQEdgeHttpServiceImpl.java:313)  
… 3 common frames omitted  
Caused by: java.net.SocketTimeoutException: Read timed out  
at java.base/java.net.SocketInputStream.socketRead0(Native Method)  
at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)  
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)  
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)  
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)  
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)  
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)  
… 11 common frames omitted

---

<div class="post-metadata">

**Author:** ![Daria\_H](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@Daria\_H](https://community.hivemq.com/u/Daria_H)\
**Post date:** [August 21, 2023, 11:40am UTC](https://community.hivemq.com/t/getting-error-while-starting-hivemq-edge/2300/2 "2023-08-21T11:40:19Z")

</div>

Hi @abhishekmj  
Welcome to the HiveMQ Community! We’re delighted that you’re interested in MQTT and the HiveMQ broker. Your enthusiasm is truly appreciated.

The error originates from the code that is trying to connect to the URL `https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt`.

Verify if you can manually access the URL `https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt` using a web browser or tools like `curl`:

```auto
curl https://raw.githubusercontent.com/hivemq/hivemq-edge/master/ext/remote-endpoints.txt

```

The correct response should look like the following:

```auto
{
    "configEndpoint" : "https://raw.githubusercontent.com/hivemq/hivemq-edge/master/hivemq-edge/src/main/resources/hivemq-edge-configuration.json",
    "usageEndpoint" : "https://mqtt-sn.cloud/edge/"
}

```

Note to run the `curl` command from the same machine as the HiveMQ Edge is running on. If you are running HiveMQ Edge in Docker, note to run the `curl` command from inside the HiveMQ Edge container.

Best regards,  
Dasha from HiveMQ Team

---

<div class="post-metadata">

**Author:** ![abhishekmj](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@abhishekmj](https://community.hivemq.com/u/abhishekmj)\
**Post date:** [August 21, 2023, 12:39pm UTC](https://community.hivemq.com/t/getting-error-while-starting-hivemq-edge/2300/3 "2023-08-21T12:39:27Z")

</div>

Hi,  
I am able to open link through browser, but not able to run curl from terminal. May be because enterprise proxy.  
Can you suggest how I can provide proxy details for running HiveMQ Edge?  
Thank you!

---

<div class="post-metadata">

**Author:** ![AaronTLFranz](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/aarontlfranz/32/638_2.png) [@AaronTLFranz](https://community.hivemq.com/u/AaronTLFranz)\
**Post date:** [August 24, 2023, 3:52pm UTC](https://community.hivemq.com/t/getting-error-while-starting-hivemq-edge/2300/4 "2023-08-24T15:52:48Z")

</div>

Hello @abhishekmj ,

Could I have you clarify the error(s) you are seeing when attempting to complete the curl request, as well as the implementation goals for this enterprise proxy configuration? Typically, the previously reported failure indicates that the requested resource was unavailable on the network in which you were attempting the connection. In this case, it likely means that the machine in which the HiveMQ Edge instance is running is unable to reach externally, over the internet, specifically to the URLs which @Daria_H provided previously.

If the curl command is also failing, it’s likely that this machine itself does not have access, rather than the HiveMQ Edge broker, and it may be necessary to adjust the network configuration of the machine itself in order to allow this access, as the machine as a whole cannot access these external addresses. The exact configuration of an enterprise proxy for the machine itself would be depending on the environment and operating system HiveMQ Edge was installed on, and would not necessarily be specific to the HiveMQ Edge installation. Typically, the owner or maintainer of the enterprise proxy would be able to provide specific configuration details for machines that intend to connect to the proxy, based on the environment and machine details.

Best,  
Aaron from the HiveMQ Team
