Hi,
I am trying to run the example code provided in FUOTA server (examples/class_c/main.go), however I encountered connection issue when trying to connect with FUOTA api server:
panic: rpc error: code = Unavailable desc = connection error: desc = “transport: Error while dialing dial tcp 0.0.0.0:8070: connect: connection refused”
I also tried dialing to 0.0.0.0:8080
Got response:
panic: rpc error: code = Unimplemented desc = unknown service fuota.FUOTAServerService
I suspect that 8080 is application server api and now it does not incorporate FUOTA server api?
Here is my configuration:
-
FUOTA server:
FUOTA server api: 0.0.0.0:8070
FUOTA server event handler: 0.0.0.0:8090
Application server api: 192.168.1.34:8080 (192.168.1.34 is localhost, but somehow I cannot start the FUOTA server if the ip is 0.0.0.0:8080)
api token: generated from application server web interface Org API Key -
Application server
HTTP integration endpoint: 0.0.0.0:8090
What step am I missing?
I think I dial to the correct ip? (8070)
Thanks