I am getting some errors, have you seen these and know any solution? I thtought it was a windows memory issue, but it till happens if I have 6GB free in Windows.
2 deprecation-identify-source.js:15 DEPRECATION: Components with separately resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts. Tried to lookup âtemplate:components/top-contributorsâ. [deprecation id: component-template-resolving] This will be removed in ember-source 6.0.0. See https://deprecations.emberjs.com/id/component-template-resolving
post.js:561 Using the new âglimmerâ post menu!
2deprecation-identify-source.js:15 DEPRECATION: Components with separately resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts. Tried to lookup âtemplate:components/top-contributorsâ. [deprecation id: component-template-resolving] This will be removed in ember-source 6.0.0. See https://deprecations.emberjs.com/id/component-template-resolving
Discourse v3.4.0.beta4-dev â https://github.com/discourse/discourse/commits/380910aedd â Ember v5.12.0
deprecation-identify-source.js:15 DEPRECATION: Components with separately resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts. Tried to lookup âtemplate:components/whos-onlineâ. [deprecation id: component-template-resolving] This will be removed in ember-source 6.0.0. See https://deprecations.emberjs.com/id/component-template-resolving for more details.
This might be the cause. In this case, you are probably rate limited.
You might check the network tab of developer console, if there are more requests, when right sidebar blocks are enabled.
(1) I am an admin, trust level 4, so why is âDISCOURSE_SKIP_PER_IP_RATE_LIMIT_TRUST_LEVELâ not bypassing me for any rate limit?
Global per-ip rate limits
These limits apply to every unique IP address that hits the Discourse application. (files that are served directly from the filesystem or the CDN are excluded)
By default this rate limit is enabled, you may disable it or set it to a reporting mode.
DISCOURSE_MAX_REQS_PER_IP_MODE : default block, this rate limit applies out of the box. (other options are warn, warn+block, and none)
DISCOURSE_MAX_REQS_PER_IP_PER_MINUTE: number of requests per IP per minute (default is 200)
DISCOURSE_MAX_REQS_PER_IP_PER_10_SECONDS: number of requests per IP per 10 seconds (default is 50)
DISCOURSE_MAX_ASSET_REQS_PER_IP_PER_10_SECONDS: number of asset (avatars/css) requests per IP per 10 seconds (default is 200)
DISCOURSE_MAX_REQS_RATE_LIMIT_ON_PRIVATE: should the rate limit apply to private IPs accessing Discourse? default is false.
DISCOURSE_SKIP_PER_IP_RATE_LIMIT_TRUST_LEVEL: use per user rate limits vs IP rate limits for users with this trust level or more (default 1)
To amend the limits add the desired change into your app.yml file in the env section.
I also checked the nginx access log, it shows differing IPâs for our users. (I saw in a much earlier topic where this was an issue, everyone was using the same IP address for access)
Even with the changes described above and after rebuilding the app, I see the rate limit warning in the browser console if I enable Right Sidebar Blocks.
How do I echo or otherwise determine the actual value of, for example: DISCOURSE_SKIP_PER_IP_RATE_LIMIT_TRUST_LEVEL
Also, if I disable the Right Sidebar Blocks, I do not see any rate limit warnings in the browser console if I traverse topics at the same rate I do with Right Sidebar Blocks enabled.
I suggest digging through search for prior discussions about rate limiting.
Iâm not profound in this topic but to my understanding rate limiting is applied in two stages: first nginx does rate-limiting (not knowing about trust levels) and then the rails app does another layer of protection.
If you wish to test the hypothesis that you encounter rate limits within the nginx layer, you may comment out the following line in your app.yml:
I have no rate limits set in the nginx I use as a reverse proxy, and I will try what you suggest to see what the container is doing.
I am loading Leaderboard, Top Producers and Events in Right Sidebar Blocks.
I will report back, thx
I bet you are correct, so what are good but more lax values for these settings in /var/discourse/templates/web.ratelimited.template.yml? Is it simply trial and error?