FUOTA server example script connection error

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:

  1. 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

  2. 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

Hi,
This issue is resolved.
Since I run the fuota server in a docker container, I changed the ip (in configuration file of ChirpStack fuota server) and in example go file from 0.0.0.0:8070 to my docker container ip:8070 and it worked!

Thanks