-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
First I setup the webapp with npm and it seems like it starts without any issue. But after I try to start the kotlin app from the Main.kt in IDEA it gives me a TimeoutException. I changed all the IPs to the right IP but left the ports default. My webserver starts at port 3000 and I can open it and see the default website. But it always says "Connecting" and never "Connected".
The error:
Exception in thread "main" java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
at com.dehnes.smarthome.victron.DalyBmsDataLogger.reconnect(DalyBmsDataLogger.kt:57)
at com.dehnes.smarthome.Configuration.init(Configuration.kt:152)
at com.dehnes.smarthome.MainKt.main(Main.kt:25)
at com.dehnes.smarthome.MainKt.main(Main.kt)
Do I need to change the ports as well? Or because I don't have the Mqtt setup it causes a problem?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels