Marketplace AddOns keep disappearing and appearing (error 429)

Running OH5.0.1 on Docker

My docker host is quite potent and there’s no indication of a limitation within the docker container.

If I’m trying to find some Marketplace bindings, sometimes I won’t get any lists of them. Also if I then click into “Settings” - “Community Marketplace AddOns” I’ll get an error:

Debug information Url: /addons/binding/services/org.openhab.marketplace Path: /addons/binding/services/org.openhab.marketplace Hash: Params: Query: Route: (.*)

In the logs there’s an indication for a 429 error

2025-10-11 11:26:18.861 [WARN ] [ity.CommunityMarketplaceAddonService] - Unable to retrieve marketplace add-ons: Server returned HTTP response code: 429 for URL: https://community.openhab.org/c/marketplace/69/l/latest?page=17

I found this old thread:

It sound like my issue? So there’s nothing I can do, but to try until eventually the marketplace AddOns got loaded correctly?

If I remember correctly, I solved this problem by granting access to the Internet and cleaned the cache from openhab and browser.

my openHAB has access to the internet, or do you mean something else?
I’ll try cleaning the caches.

429 is too many requests, which means the web server for the forum has throttled your ability to pull pages. Since the marketplace depends on the forum, I think all you can do from your end is wait until the webserver stops throttling your requests and lets you through.

There was an issue when 5.0 was released, or maybe a little before, that I think got fixed. But maybe not.

I have the same issue with 5.0.2 stable.

I hope this will be fixed with 5.1

When I disable marketplace AddOns in the settings and reenable them. The marketplace AddOns appear (sometimes)

:frowning:

Any news if this will be fixed with 5.1?

I upgraded to 5.1.0.M2 and could see all marketplace bindings and addOns.
I hope it stays like this….

[After a while…..]

Bindings disappeared again an the log shows

Unable to retrieve marketplace add-ons: Server returned HTTP response code: 429 for URL: https://community.openhab.org/c/marketplace/69/l/latest?page=16

:frowning:

Please don’t tell me that I had too many connections to the forum. I had one tab open in a browser nothing else except for openhab itself.

Might this be an issue since my provider (Deutsche Glasfaser) uses CGNAT and there are too many people behind the same IP??

That could be a reason. All the forum sees is the IP address. It has no way to know how many clients are behind that one IP. I’ve not seen this error in quite a while since the PR was merged that changed how the add-on store pulls the marketplace entries so it should be better. Something else might need to be done though to handle cases like this.

You might file an issue. The question is where? Can you tell what is reporting that error? The stuff in the in the log line. That might tell us where to file the issue. Ultimately I think the solution might end up being changing the settings on the forum itself though which we don’t really have a repo for.

Here is the full log message:

Level
WARN

Logger Class
org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService

Message
Unable to retrieve marketplace add-ons: Server returned HTTP response code: 429 for URL: https://community.openhab.org/c/marketplace/69/l/latest?page=16 

When I go to Settings → Community Marketplace AddOns and change, save something, I can see bindings and addons. No error message in the log.

After a while the addons disappear (are not displayed any more, when I access the AddOn Store) an the above log is shown. The message also shows up, when I enter the settings mentioned above.

I enabled debug logging for org.openhab.core.addon.marketplace and got the following (after disabling marketplace addons and reenable them again) :

time,level,source,data
"11:42:31.425","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : ConfigurableComponentHolder configuration updated for pid org.openhab.marketplace with change count 23"
"11:42:31.425","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : Querying state active"
"11:42:31.426","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : Querying state active"
"11:42:31.426","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : invoking modified: modified: parameters [org.apache.felix.scr.impl.helper.ReadOnlyDictionary]"
"11:42:31.711","WARN","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","Unable to retrieve marketplace add-ons: Server returned HTTP response code: 429 for URL: https://community.openhab.org/c/marketplace/69/l/latest?page=15"
"11:42:31.711","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : invoked modified: modified"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : No change in target property for dependency $000: currently registered: true"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : No change in target property for dependency $001: currently registered: true"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : No change in target property for dependency $002: currently registered: true"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : No change in target property for dependency $003: currently registered: true"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : No change in target property for dependency AddonHandler: currently registered: true"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : No change in target property for dependency osgi.ds.satisfying.condition: currently registered: true"
"11:42:31.712","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : Querying state active"
"11:42:31.714","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : ImmediateComponentHolder Finished configuring the dependency managers for component for pid org.openhab.marketplace "
"11:42:31.714","DEBUG","org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService","bundle org.openhab.core.addon.marketplace:5.1.0.M2 (158)[org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService(465)] : ImmediateComponentHolder Will not enable component for pid org.openhab.marketplace: holder enabled state: true, metadata enabled: true "

OK, I guess the place to start with an issue is on openhab-core then. That’s the part of OH that is generating the message.

2 Likes

I don’t think so as I am also a customer of Deutsche Glasfaser and don’t have this problem on 5.1.0.M2.

What I know is that the original marketplace code that I wrote kept fetching new pages from Discourse until the end - AFAIK there’s no way around it.
You can see at https://community.openhab.org/c/marketplace/69/l/latest.json?page=15 if you search for page=16 you have a "more_topics_url" property indicating there’s more to fetch.
The fetching was done without any throttling, but I knew it would become an issue eventually.
So it was fine while the marketplace had only a few pages but at 16 pages we may now reach some limit.
I would advise filing an issue in openhab-core to have this problem addressed, probably by introducing some throttling. Or perhaps the Discourse limits could be increased and just kick the can down the road.

Still getting this annoying error :confused:

1 Like

The issue is still present and it also affects the installation of Block Libraries. Had to wait for a lucky moment until the required features appeared for a short time.

What is even more annoying: during OH upgrades, marketplace bindings are regularly deinstalled what makes sense, but reinstalling depends on the marketplace 429 error. After the upgrade, which might be necessary for some reason, it is a matter of luck if or when the marketplace is available again.

And there are very important marketplace bindings like the eBUS binding or the SONOFF (eweLink) binding (at least for me). For others, different marketplace bindings might be important.

Can somebody say something, if it is planned to eliminate this issue?

Am on OH 5.2.0-SNAPSHOT #5095.

I remember, that @weymann solved a 429 error for the MercedesMe binding. Can his solution probably help here as well?