eclipse-kanto / suite-bootstrapping

Other
0 stars 1 forks source link

Suite bootstrapping service gets disconnected after receiving an error response #20

Closed gabriela-yoncheva closed 1 year ago

gabriela-yoncheva commented 2 years ago

After receiving an error bootstrapping response from the suite/hono sandbox an EOF error is causing the service to disconnect after sending the next bootstrapping request, thus sending a new bootstrapping request and leaving the previous one unusable.

2022/10/03 16:12:12.630515  [bootstrap]  ERROR  Request responses' handling has finished with error correlation-id=e6be4a3d-e53b-42ac-9f2b-aa1c887901b7 err="error code received '409'" requestId=f655b29f-aa8b-4e6c-9e92-30abbecdede6 uuid=0 
2022/10/03 16:12:12.630544  [bootstrap]  DEBUG  Bootstrapping request result is received attempt=1 requestId=f655b29f-aa8b-4e6c-9e92-30abbecdede6 succeeded=false 
2022/10/03 16:12:12.630678  [bootstrap]  DEBUG  Message published client_id=iDWTPZF2eNwqQprP229zCS message_uuid=35abdab1-15d3-4d60-b014-6e88593fda34 mqtt_topic=command///res/024e6be4a3d-e53b-42ac-9f2b-aa1c887901b7replies/204 mqtt_url=hono.eclipseprojects.io:1883 qos=0 retain=false 
2022/10/03 16:12:12.630980  [bootstrap]  DEBUG  Message published client_id=iDWTPZF2eNwqQprP229zCS message_uuid=41295106-5a07-4fbc-80c7-b203e7a8a2f7 mqtt_topic=e mqtt_url=hono.eclipseprojects.io:1883 qos=1 retain=false 
2022/10/03 16:12:12.631019  [bootstrap]  DEBUG  Request message published chunkIndex=0 correlation-id=3fe797dd-1bcc-479a-b662-f779f684ab01 requestId=f71a96d1-47a1-4f6c-8e33-84a4b8a247cb 
2022/10/03 16:12:13.858631  [bootstrap]  ERROR  Connection to mqtt lost client_id=iDWTPZF2eNwqQprP229zCS err=EOF mqtt_url=hono.eclipseprojects.io:1883 
e-grigorov commented 2 years ago

Some more insights from the PR: