No response to handshake on config-set

Hello,

I have problems with config-set over serial. Having following (noop) code and yaml on esp32 connected over usb serial:

enum mgos_app_init_result mgos_app_init(void) {
  LOG(LL_INFO, ("Initializing"));
  mgos_wdt_disable();
  mgos_gpio_setup_output(12, false);
  LOG(LL_INFO, ("Initialization complete"));
  return MGOS_APP_INIT_SUCCESS;
}
config_schema:
  - ["tick.interval", "i", 100, {title: "Tick interval (ms)"}]  
  - ["tick.length", "i", 1000, {title: "Tick length (us)"}]  
  - ["tick.sleepafter", "i", 600, {title: "Sleep after X ticks"}]  
  
libs:
  - origin: https://github.com/mongoose-os-libs/boards
  - origin: https://github.com/mongoose-os-libs/ca-bundle
  - origin: https://github.com/mongoose-os-libs/rpc-service-config
  - origin: https://github.com/mongoose-os-libs/rpc-service-fs
  - origin: https://github.com/mongoose-os-libs/rpc-uart
  - origin: https://github.com/mongoose-os-libs/wifi
  - origin: https://github.com/mongoose-os-libs/rpc-service-ota  
  - origin: https://github.com/mongoose-os-libs/rpc-ws
  - origin: https://github.com/mongoose-os-libs/rpc-loopback
  - origin: https://github.com/mongoose-os-libs/ota-http-server
  - origin: https://github.com/mongoose-os-libs/http-server

Doing:
mos config-set tick.interval=2000

Ends with error:
E0315 11:48:21.462732 47531 serial.go:273] No response to handshake. Is /dev/ttyUSB1 the right port? Is rpc-uart enabled?

But I am able to do config-get, ls, get, put without any problems.

What am I doing wrong?

Thank you

Ha!

Found that it is completely different problem that mos tool hide completely.

I0316 12:03:36.025153 2529 ourutil.go:32] Setting new configuration…
I0316 12:03:36.030261 2529 serial.go:332] handshake complete
I0316 12:03:36.420102 2529 mgrpc.go:342] error returned from codec Recv: malformed frame metadata: ““h”:1073431080,“n”:“mgos”,“st”:1,“cpri”:5,“bpri”:5,“sb”:1073431436,“sp”:1073438000,”: strconv.ParseInt: parsing ““h”:1073431080”: invalid syntax, keep trying
I0316 12:03:36.481606 2529 mgrpc.go:327] devConn is disconnected, breaking out of the recvLoop (malformed frame metadata: “,”: strconv.ParseInt: parsing “”: invalid syntax)
I0316 12:03:36.481691 2529 serial.go:286] closing serial /dev/ttyUSB0
W0316 12:03:36.481747 2529 dev_conn.go:85] Error: EOF
W0316 12:03:36.553591 2529 dev_conn.go:85] Error: write /dev/ttyUSB0: file already closed
I0316 12:03:37.054593 2529 main.go:306] Error: write /dev/ttyUSB0: file already closed