Skip to content

接続相手のポートとの通信でCOMM_FAILURE_WaitingForReply例外が発生した場合に接続をリトライする#1043

Open
Nobu19800 wants to merge 3 commits intoOpenRTM:masterfrom
Nobu19800:feature/retryaccess
Open

接続相手のポートとの通信でCOMM_FAILURE_WaitingForReply例外が発生した場合に接続をリトライする#1043
Nobu19800 wants to merge 3 commits intoOpenRTM:masterfrom
Nobu19800:feature/retryaccess

Conversation

@Nobu19800
Copy link

@Nobu19800 Nobu19800 commented Apr 5, 2022

Identify the Bug

Description of the Change

以下の場合に再度メソッドの呼び出しを試行するように修正した

  • Push型通信でOutPortからデータを送信する処理
  • Pull型通信でInPort側からデータを取得する処理
  • ポートプロファイル取得時等の実行する相手のポートとの接続確認処理

Verification

  • Did you succeed the build?
  • No warnings for the build?
  • Have you passed the unit tests?

@n-kawauchi n-kawauchi marked this pull request as ready for review September 23, 2024 20:14
Copy link

@n-kawauchi n-kawauchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

リンク先のIssueに記載されている設定を追記した下記rtc.confで動作確認し、出力されたtrace.txtを確認しましたが、下記理由で修正前と変わっていないように思えました。

  • 「Server has closed」の文字列が見当たらない
  • 「COMM_FAILURE_WaitingForReply」が出続けている

使用したファイルを添付します。 ソースの修正差分で「RTC_DEBUG(("Retry ...)」との記述があるのでttc**.logを検索しましたがヒットしませんでした。

corba.nameservers: localhost
naming.formats: %h.host_cxt/%n.rtc
logger.enable: YES
logger.log_level: PARANOID
corba.args: -ORBinConScanPeriod 1 -ORBtraceLevel 50 -ORBtraceFile trace.txt

trace.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants