hyperledger-labs/fabric-operations-console

[Session Requests] exceeded the high volume rate limit

aMinuteMan opened this issue · 2 comments

Hello,

I am seeing this message time by time when navigating through the UI, e.g.

  1. Open channels and open one specific channel
  2. Switch to channel details
    ==> Message about connection problems with peer pops up on the right top side.
    ==> Refresh and the above message shows up
    image
  3. Wait a minute and try again
    ==> everything works fine

I have the feeling that this happens more often when I navigate to quickly though the UI.

What is the meaning behind this error and is there a way to work around it?

@aMinuteMan It is controlled by the following two variables that can be overridden in the config

https://github.com/hyperledger-labs/fabric-operations-console/blob/main/packages/athena/json_docs/default_settings_doc.json#L160-L161

description -

description: The base limit for the maximum number of `/api/*` API requests (aka UI requests) in 1 minute. Defaults `25`. [Rate Limits](#rate-limits). _Changes to this field will restart the IBP console server(s)_

Thanks @varadgit !