ISOLATED_DEPLOYMENT not respected after login #10719

Closed
opened 2025-12-29 21:35:09 +01:00 by adam · 3 comments
Owner

Originally created by @salcinad on GitHub (Jan 30, 2025).

Deployment Type

Self-hosted

NetBox Version

NetBox Community v4.2.2

Python Version

3.10

Steps to Reproduce

We deployed NetBox with Helm Chart 5.0.22 on Kubernetes without ISOLATED_DEPLOYMENT and then updated deployment with ISOLATED_DEPLOYMENT . We posted this issue # 518 on chart repository but seems it is better suited on application repository itself.

As we are in Air Gap environment, the NetBox does not have Internet access and RSS Feed will throw an error. For that we found that we could use ISOLATED_DEPLOYMENT , and did change our values.yaml and added this, but on our side it works only on first page, once we logged back in we see this RSS Feed widget with error. Also, the login looks slow probably as of this widget.

I saw there are few old issue but these does not fix issue or our side: #18184 and #18353

Can it be that issue is coming from the fact that my user get created and thus I have "Dashboard" created with default settings and this does not get change RSS Feed widget, once we used ISOLATED_DEPLOYMENT ?

As of Python Version: what ever is used with docker tag 2.29.0

Expected Behavior

ISOLATED_DEPLOYMENT active for whole Application and not just front page. See Issue # 464 and my comment

Observed Behavior

Front Page

 NetBox News 
This RSS feed requires an external connection. Check the ISOLATED_DEPLOYMENT setting. 

, once logged, there is a delay and we still have this message again, and when navigating through netbox and clicking on top left cornet to go to homepage, it is again slow/delay.

NetBox News 
 There was a problem fetching the RSS feed: HTTPConnectionPool(host='netbox.dev', port=80): Max retries exceeded with url: /rss/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fc869b1c800>, 'Connection to netbox.dev timed out. (connect timeout=3)')) 
Originally created by @salcinad on GitHub (Jan 30, 2025). ### Deployment Type Self-hosted ### NetBox Version NetBox Community v4.2.2 ### Python Version 3.10 ### Steps to Reproduce We deployed NetBox with Helm Chart 5.0.22 on Kubernetes without ISOLATED_DEPLOYMENT and then updated deployment with ISOLATED_DEPLOYMENT . We posted this issue [# 518](https://github.com/netbox-community/netbox-chart/issues/518) on chart repository but seems it is better suited on application repository itself. As we are in Air Gap environment, the NetBox does not have Internet access and RSS Feed will throw an error. For that we found that we could use ISOLATED_DEPLOYMENT , and did change our values.yaml and added this, but on our side it works only on first page, once we logged back in we see this RSS Feed widget with error. Also, the login looks slow probably as of this widget. I saw there are few old issue but these does not fix issue or our side: #18184 and #18353 Can it be that issue is coming from the fact that my user get created and thus I have "Dashboard" created with default settings and this does not get change RSS Feed widget, once we used ISOLATED_DEPLOYMENT ? As of Python Version: what ever is used with docker tag 2.29.0 ### Expected Behavior ISOLATED_DEPLOYMENT active for whole Application and not just front page. See Issue [# 464](https://github.com/netbox-community/netbox-chart/issues/464) and my [comment](https://github.com/netbox-community/netbox-chart/issues/464#issuecomment-2609704619) ### Observed Behavior Front Page ``` NetBox News This RSS feed requires an external connection. Check the ISOLATED_DEPLOYMENT setting. ``` , once logged, there is a delay and we still have this message again, and when navigating through netbox and clicking on top left cornet to go to homepage, it is again slow/delay. ``` NetBox News There was a problem fetching the RSS feed: HTTPConnectionPool(host='netbox.dev', port=80): Max retries exceeded with url: /rss/ (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7fc869b1c800>, 'Connection to netbox.dev timed out. (connect timeout=3)')) ```
adam added the type: bugstatus: needs ownerpending closureseverity: low labels 2025-12-29 21:35:10 +01:00
adam closed this issue 2025-12-29 21:35:10 +01:00
Author
Owner

@DanSheps commented on GitHub (Jan 30, 2025):

Likely need to add a check for ISOLATED_DEPLOYMENT in the widget initialization would be my guess, to prevent this on existing user dashboards.

@DanSheps commented on GitHub (Jan 30, 2025): Likely need to add a check for ISOLATED_DEPLOYMENT in the widget initialization would be my guess, to prevent this on existing user dashboards.
Author
Owner

@github-actions[bot] commented on GitHub (May 1, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (May 1, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/main/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Jun 5, 2025):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jun 5, 2025): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10719