after OpenHab 3.2 runs smoothly for some days now, I experienced a problem this morning when I click on Settings → Bindings.
The bindings do not load anymore, and the log shows a lot of access errors:
openhab> 09:01:01.214 [ERROR] [nity.CommunityMarketplaceAddonService] - Unable to retrieve marketplace add-ons
java.io.IOException: Server returned HTTP response code: 429 for URL: https://community.openhab.org/c/marketplace/69/l/latest
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1924) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) ~[?:?]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250) ~[?:?]
at org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService.getAddons(CommunityMarketplaceAddonService.java:177) ~[?:?]
at org.openhab.core.io.rest.core.internal.addons.AddonResource.getAddon(AddonResource.java:143) ~[?:?]
at jdk.internal.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) ~[bundleFile:3.4.5]
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[bundleFile:3.4.5]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201) ~[bundleFile:3.4.5]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104) ~[bundleFile:3.4.5]
...
The rapid connection retries lead to a 429 Rate limiting response.
I hope this is the right forum section (maybe a github issue fits better?).
I have a similar problem: from Eclipse dev environment, updated to latest openhab-addons/main, if I try to access Settings > Bindings it never load the page and on the log I get:
18:55:19.217 ERROR [qtp1210649463-59 ] [al.JSONResponseExceptionMapper:54 ] - Unexpected exception occurred while processing REST request. java.lang.NullPointerException
at org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService.remoteEnabled(CommunityMarketplaceAddonService.java:482)
at org.openhab.core.addon.marketplace.internal.community.CommunityMarketplaceAddonService.getAddons(CommunityMarketplaceAddonService.java:172)
at org.openhab.core.io.rest.core.internal.addons.AddonResource.getAddon(AddonResource.java:143)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
also I have this error when I stat up the dev environment:
19:22:32.314 ERROR [main ] [internal.json.JsonAddonService:206 ] - bundle org.openhab.core.addon.marketplace:3.3.0.202201050311 (115)[org.openhab.core.addon.marketplace.internal.json.JsonAddonService(48)] : Error during instantiation of the implementation object java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.apache.felix.scr.impl.inject.internal.ComponentConstructorImpl.newInstance(ComponentConstructorImpl.java:316)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:286)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973)