Giter VIP home page Giter VIP logo

Comments (6)

dobin avatar dobin commented on July 18, 2024

Can you try to enable the "Send XHR with credentials" option, and try again?

from lxd-webgui.

ronator avatar ronator commented on July 18, 2024

Hi,

I can confirm this issue. I tried hours to get in up and running with firefox and LXD 2.0.10 (Ubuntu 16.04) . I did it all correctly. It failed due to missing lxc setting for credentials. I tried Ubuntu 17.04 (LXD 2.12). I could access API and settings page and only when XHR disabled so that it did not display an error. But nothing else worked. Despite using client certificate and API (:9000) saying "trusted", lxd log said:

ip=192.168.xx.xx:54976 lvl=warn msg="rejecting request from untrusted client" t=2017-09-15T13:59:29+0200

I confirmed certs were in trust store. Then I found this thread here and tried to open it with Chromium (imported the same certificate as in firefox) and guess what: It worked all the time and only FireFox was misbehaving.

In FireFox, "Test LXD" worked, but "Test LXD Auth" did not. Furthermore, "Settings for LXD" will not show attributes. In Chromium all works fine! Same server, but different browsers, both with same user certificate.

Chromium:
auswahl_939
FireFox:
auswahl_940

Seems to be a "browser issue". I can provide more (system) info on this issue if needed.

from lxd-webgui.

ronator avatar ronator commented on July 18, 2024

FireFox 55.0.2 (64-Bit) on Linux Mint 18.2
Chromium 60.0.3112.113 (Developer Build)

from lxd-webgui.

ronator avatar ronator commented on July 18, 2024

Enabling XHR does not work with FireFox imho. Adjust URL, press save, press "Test LXD": Fail.
auswahl_942

from lxd-webgui.

ronator avatar ronator commented on July 18, 2024

Same situation with FireFox 55.0.3 (64-Bit) on Windows 10 (Home)

from lxd-webgui.

ronator avatar ronator commented on July 18, 2024

Works on Version 61.0.3163.79 (Official Build) Built on Ubuntu , running on LinuxMint 18.2 (64-bit)

from lxd-webgui.

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.