Project

General

Profile

Actions

Bug #5348

closed

client reconnects to fast

Added by lynxis over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
remsim-client
Target version:
-
Start date:
12/09/2021
Due date:
% Done:

0%

Spec Reference:

Description

If there is no mapping for a client, the client retries in a loop.

- connect client
- create a mapping for the client
- sleep 1
- destroy the mapping
DRSPRO NOTICE ../rspro_client_fsm.c:128 RSPRO_CLIENT(bankd){REESTABLISH}: RSPRO link to 192.168.154.156:9999 UP
DRSPRO ERROR ../rspro_client_fsm.c:297 RSPRO_CLIENT(bankd){REESTABLISH}: Event SRVC_E_KA_TERMINATED not permitted
DRSPRO INFO ../rspro_client_fsm.c:302 RSPRO_CLIENT(bankd){REESTABLISH}: Destroying existing connection to server
DRSPRO INFO ../rspro_client_fsm.c:308 RSPRO_CLIENT(bankd){REESTABLISH}: Creating TCP connection to server at 192.168.154.156:9999
DLINP NOTICE input/ipa.c:128 192.168.154.156:9999 connection done
DRSPRO NOTICE ../rspro_client_fsm.c:128 RSPRO_CLIENT(bankd){REESTABLISH}: RSPRO link to 192.168.154.156:9999 UP
DRSPRO ERROR ../rspro_client_fsm.c:297 RSPRO_CLIENT(bankd){REESTABLISH}: Event SRVC_E_KA_TERMINATED not permitted
DRSPRO INFO ../rspro_client_fsm.c:302 RSPRO_CLIENT(bankd){REESTABLISH}: Destroying existing connection to server
DRSPRO INFO ../rspro_client_fsm.c:308 RSPRO_CLIENT(bankd){REESTABLISH}: Creating TCP connection to server at 192.168.154.156:9999

Related issues

Related to osmo-remsim - Bug #5610: no back-off in osmo-remsim client reconnect to bankdResolvedjtavares07/11/2022

Actions
Actions #1

Updated by lynxis over 2 years ago

  • Description updated (diff)
Actions #2

Updated by jtavares over 1 year ago

Submitted patchset to address this issue with a poor-man's exponential backoff in the RSPRO client state machine. Both bankd and the client share the same RSPRO client station machine and so both get the benefit of this change.

Please see: https://gerrit.osmocom.org/c/osmo-remsim/+/30138

This issue is related to #5610.

Actions #3

Updated by laforge over 1 year ago

  • Category set to remsim-client
  • Status changed from New to Resolved
  • Assignee set to jtavares
Actions #4

Updated by laforge over 1 year ago

  • Related to Bug #5610: no back-off in osmo-remsim client reconnect to bankd added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)