Plugin catalog in GUI not working #10983

Closed
opened 2025-12-29 21:38:46 +01:00 by adam · 5 comments
Owner

Originally created by @stavr666 on GitHub (Apr 3, 2025).

Originally assigned to: @jnovinger on GitHub.

Deployment Type

Self-Hosted

NetBox Version

v4.2.6

Python Version

3.10

Steps to Reproduce

  1. Set ISOLATED_DEPLOYMENT = False in configuration.py
  2. Add network access to https://api.netbox.oss.netboxlabs.com/
  3. Restart Netbox
  4. Open https://netbox.DOMAIN/core/plugins/

Expected Behavior

Get:

  • List of plugins like in #14731
  • Latest versions for installed plugins

Observed Behavior

Image

Originally created by @stavr666 on GitHub (Apr 3, 2025). Originally assigned to: @jnovinger on GitHub. ### Deployment Type Self-Hosted ### NetBox Version v4.2.6 ### Python Version 3.10 ### Steps to Reproduce 1. Set ISOLATED_DEPLOYMENT = False in configuration.py 2. Add network access to https://api.netbox.oss.netboxlabs.com/ 3. Restart Netbox 4. Open https://netbox.DOMAIN/core/plugins/ ### Expected Behavior Get: - List of plugins like in #14731 - Latest versions for installed plugins ### Observed Behavior ![Image](https://github.com/user-attachments/assets/64a973c0-07a3-4671-8680-7da4fe2b6120)
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:38:46 +01:00
adam closed this issue 2025-12-29 21:38:46 +01:00
Author
Owner

@stavr666 commented on GitHub (Apr 3, 2025):

Netbox Community/Self-Hosted

@stavr666 commented on GitHub (Apr 3, 2025): Netbox Community/Self-Hosted
Author
Owner

@jnovinger commented on GitHub (Apr 3, 2025):

@stavr666 , this is working as expected in my local and on demo.netbox.dev. I even set a breakpoint in the code that calls the API endpoint and verified it was working.

Is you're cache setup correctly? or perhaps there is some other network block for that endpoint in your environment?

@jnovinger commented on GitHub (Apr 3, 2025): @stavr666 , this is working as expected in my local and on demo.netbox.dev. I even set a breakpoint in the code that calls the API endpoint and verified it was working. Is you're cache setup correctly? or perhaps there is some other network block for that endpoint in your environment?
Author
Owner

@stavr666 commented on GitHub (Apr 3, 2025):

this is working as expected in my local and on demo.netbox.dev

On demo it's showing incorrect "latest" version for "qrcode" plugin 🤔, so it's pre-fetched, I suppose?
Also, "in my local" - did you have full internet access?
We have strict ACL policy, we opened only api.netbox.oss.netboxlabs.com

Also, there is no any sign of this UI functionality in official documentation:
https://netboxlabs.com/docs/netbox/en/stable/plugins/installation/

@stavr666 commented on GitHub (Apr 3, 2025): > this is working as expected in my local and on demo.netbox.dev On demo it's showing incorrect "latest" version for "qrcode" plugin 🤔, so it's pre-fetched, I suppose? Also, "in my local" - did you have full internet access? We have strict ACL policy, we opened only api.netbox.oss.netboxlabs.com Also, there is no any sign of this UI functionality in official documentation: https://netboxlabs.com/docs/netbox/en/stable/plugins/installation/
Author
Owner

@jnovinger commented on GitHub (Apr 4, 2025):

On demo it's showing incorrect "latest" version for "qrcode" plugin 🤔, so it's pre-fetched, I suppose?

Thanks for catching that, @stavr666 ! Digging in to it, the data is fetched as needed and cached locally in the NetBox instance for 5 minutes. If it expires out of the cache before the next call for the data, then it makes the API call again at request time. However, it looks like the API response from api.netbox.oss.netboxlabs.com is not up to date with respect to netbox-qrcode. I'll get that sorted.

Also, "in my local" - did you have full internet access? We have strict ACL policy, we opened only api.netbox.oss.netboxlabs.com

Yes, I had full Internet access--there is no outbound blocking happening in my local. But, I did verify that the request(s) to api.netbox.oss.netboxlabs.com was the only connection being made.

Also, there is no any sign of this UI functionality in official documentation: https://netboxlabs.com/docs/netbox/en/stable/plugins/installation/

Another good catch. If you'd like, please file a new documentation proposal issue with what you think should be added.

@jnovinger commented on GitHub (Apr 4, 2025): > On demo it's showing incorrect "latest" version for "qrcode" plugin 🤔, so it's pre-fetched, I suppose? Thanks for catching that, @stavr666 ! Digging in to it, the data is fetched as needed and cached locally in the NetBox instance for 5 minutes. If it expires out of the cache before the next call for the data, then it makes the API call again at request time. However, it looks like the API response from api.netbox.oss.netboxlabs.com is not up to date with respect to netbox-qrcode. I'll get that sorted. > Also, "in my local" - did you have full internet access? We have strict ACL policy, we opened only api.netbox.oss.netboxlabs.com Yes, I had full Internet access--there is no outbound blocking happening in my local. But, I did verify that the request(s) to api.netbox.oss.netboxlabs.com was the only connection being made. > Also, there is no any sign of this UI functionality in official documentation: https://netboxlabs.com/docs/netbox/en/stable/plugins/installation/ Another good catch. If you'd like, please file a new [documentation proposal issue](https://github.com/netbox-community/netbox/issues/new?template=03-documentation_change.yaml) with what you think should be added.
Author
Owner

@jnovinger commented on GitHub (Apr 4, 2025):

However, it looks like the API response from api.netbox.oss.netboxlabs.com is not up to date with respect to netbox-qrcode. I'll get that sorted.

@stavr666 , the data should be updated within a couple of hours. Thanks again!

@jnovinger commented on GitHub (Apr 4, 2025): > However, it looks like the API response from api.netbox.oss.netboxlabs.com is not up to date with respect to netbox-qrcode. I'll get that sorted. @stavr666 , the data should be updated within a couple of hours. Thanks again!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10983