Code Monkey home page Code Monkey logo

Comments (4)

iDebugAll avatar iDebugAll commented on September 27, 2024

Hey @jeremypng, thank you for your feedback. The latest plugin version should actually be compatible with 2.10+ versions of NetBox. I have tested specifically with 2.10.1 (I use Docker community build for development).
jquery loading is a matter of improvement. Now the plugin tries to upload both 3.4.1 and 3.5.1 versions because of backward compatibility requirements:

        <script src="{% static 'jquery/jquery-3.4.1.min.js' %}"></script>
        <script src="{% static 'jquery/jquery-3.5.1.min.js' %}"></script>

Version selection based on NetBox version on server side during template rendering might be more pretty solution.

What is your NetBox and nextbox-ui-plugin versions? What error do you get on the Site page?

from nextbox-ui-plugin.

jeremypng avatar jeremypng commented on September 27, 2024

I have version 0.6.9 of the plugin and Netbox version 2.10.3. When I click the topology button on a site, the window pops up but says refused to connect in the window.

I have tried the plugin setting:
"nextbox_ui_plugin": { "INITIAL_LAYOUT": "auto", }

But that doesn't make a difference. It does load if I go straight to the plugin URL:
https:///plugins/nextbox-ui/site_topology/143/

from nextbox-ui-plugin.

iDebugAll avatar iDebugAll commented on September 27, 2024

@jeremypng, it seems to have something to do with the https enforcement on a latest NetBox release.
Could you open the NetBox itself via http and then try to reproduce the issue on the Site page?

the window pops up but says refused to connect in the window

Are there any additional error messages in the web debugging console related to this (missing CSRF token or something)?

from nextbox-ui-plugin.

jeremypng avatar jeremypng commented on September 27, 2024

You are right. On that system the https is enforced by NGINX. It works fine on another install I have w/ NGINX with the same version of Netbox. I'll troubleshoot the broken one when I get the chance, but I don't think the problem is with the code at this time.

Thanks

from nextbox-ui-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.