mxschmitt / ui-driver-hetzner

Rancher UI driver for the Hetzner Cloud docker driver.
https://mxschmitt.github.io/ui-driver-hetzner
Apache License 2.0
254 stars 50 forks source link

Rancher Add Node template fails : component.css” was blocked due to MIME type (“application/xml”) #133

Open manish-2014 opened 1 year ago

manish-2014 commented 1 year ago

Hi I deployed Rancher 2.6.9 using docker on my Hetzner server and I have added the node drivers for Hetzner successfully following the instructions here.

I am trying to add Node Template and I am failing at this step with this browser error :

I am using Chrome version 105.0.5195.102 (Official Build) (64-bit). I got a similar error on Firefox

`Refused to apply style from 'https://MY_TESTSERVER_DNS_NAME/meta/proxy/https:/storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.css' because its MIME type ('application/xml') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

/meta/proxy/https:/storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js:1 Failed to load resource: the server responded with a status of 403 ()

DevTools failed to load source map: Could not parse content for https://MY_TESTSERVER_DNS_NAME/d7ecef3.worker.js.map: Unexpected token '<', "<!DOCTYPE "... is not valid JSON 4console.js:31 `

olastor commented 1 year ago

Maybe this is unrelated, but for me I was using Brave and had to deactivate the ad-/cookie-blocker for adding the node driver.

YannickFricke commented 1 year ago

:+1: Also happens on ubuntu 22.04 + latest docker + latest rancher + latest Firefox

It seems like there is an issue with the associated Google account which hosts the assets since I'm getting back the following response:


<Error>
<Code>UserProjectAccountProblem</Code>
<Message>
The project to be billed is associated with a closed billing account.
</Message>
<Details>
The billing account for the owning project is disabled in state closed
</Details>
</Error>
´´´
fatih-akin commented 1 year ago

I am getting the same error.