Skip to content

Connection problem between runtime and gateway #255

@lurenpluto

Description

@lurenpluto

After switching active OOD, there is a situation where runtime and OOD cannot be connected, and pings connected through bdt fail

OOD: 5bnZHzXqdRwun6NkzMgksUirAdspUnUwLBFYG91QC55p
runtime: 5bnZHzZXgN4JsbKaFsqZ75HczHHh5dsrcAh9Ake4wKwA

Runtime side

Last connection on runtime side

Details

4904: [2023-05-06 20:47:15.658443 +08:00] INFO [ThreadId(4)] [component\cyfs-lib\src\requestor\bdt.rs:181] http-bdt request to 5bnZHzXqdRwun6NkzMgksUirAdspUnUwLBFYG91QC55p:84 success! during=208ms, seq=TempSeq(4211563353)

The next connections to the gateway are all timeout errors.

Details

4933: [2023-05-06 20:47:26.396892 +08:00] WARN [ThreadId(8)] [component\cyfs-lib\src\requestor\bdt.rs:110] connect to 5bnZHzXqdRwun6NkzMgksUirAdspUnUwLBFYG91QC55p:84 failed! with_desc=true, during=5009ms, err: (Timeout, future has timed out, None)

And after restarting the runtime side, it also can't connect to the gateway, so it looks like there is a problem on the gateway side

OOD side

Last request log received from runtime

Details

[2023-05-06 20:47:18.905150 +08:00] INFO [ThreadId(7)] [component\cyfs-stack\src\interface\http_bdt_listener.rs:167] recv bdt http request. source=5bnZHzZXgN4JsbKaFsqZ75HczHHh5dsrcAh9Ake4wKwA, seq=TempSeq(4211563355), method=POST, url=http:// 5bnzhzxqdrwun6nkzmgksuiradspunuwlbfyg91qc55p:84/non/, len=Some(26)

It looks like the OOD is running and for some reason other devices can't connect to itself

logs.zip

Metadata

Metadata

Assignees

Labels

BDTbucky data transfer protocolSNSN ServerbugSomething isn't working

Type

No type

Projects

Status

🐞Discovered Bugs

Relationships

None yet

Development

No branches or pull requests

Issue actions