Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT -- dev mode no longer works #48

Closed
skewty opened this issue May 9, 2023 · 6 comments

Comments

@skewty
Copy link

skewty commented May 9, 2023

Things checked:

It would seem CORS security was tightened up in defaults elsewhere.
It likely needs to allow localhost:5000 by default.

Where / how is this done?

@skewty
Copy link
Author

skewty commented May 9, 2023

Is this the relevant section in /usr/share/thingsboard/conf/thingsboard.yml?

# spring CORS configuration
spring.mvc.cors:
  mappings:
    # Intercept path
    "[/api/**]":
      #Comma-separated list of origins to allow. '*' allows all origins. When not set,CORS support is disabled.
      allowed-origin-patterns: "*"
      #Comma-separated list of methods to allow. '*' allows all methods.
      allowed-methods: "*"
      #Comma-separated list of headers to allow in a request. '*' allows all headers.
      allowed-headers: "*"
      #How long, in seconds, the response from a pre-flight request can be cached by clients.
      max-age: "1800"
      #Set whether credentials are supported. When not set, credentials are not supported.
      allow-credentials: "true"

I am just running a small dev system using the .deb file for installation and defaults.
I did not add an nginx proxy in between.

@skewty
Copy link
Author

skewty commented May 23, 2023

Is there an easy / temporary work around that can be done until this is resolved?

@skewty
Copy link
Author

skewty commented Jun 5, 2023

Is getting an extension development environment up and running something paid "support" will help with?

@skewty
Copy link
Author

skewty commented Jun 14, 2023

I messaged ThingsBoard asking about paid support for this and this is what I got back:

The current request is not supported by our support.

The only one that I can offer it's custom development from our team as an additional service.
Please note custom development is available only for the PE version.

So the answer is no. ThingsBoard does not support this repo, not even for money.

@thclark
Copy link

thclark commented Jul 14, 2023

I messaged ThingsBoard asking about paid support for this and this is what I got back:

The current request is not supported by our support.
The only one that I can offer it's custom development from our team as an additional service.
Please note custom development is available only for the PE version.

So the answer is no. ThingsBoard does not support this repo, not even for money.

Thanks @skewty - sadly that seems like for my organisation, thingsboard will be a quick starter then we'll have to move rapidly away from it, because building widgets that look professional (MUI components instead of a bunch of cartoon buttons and gauges), is an absolute must.

@skewty
Copy link
Author

skewty commented Jul 14, 2023

I was able to get this working after installing Ubuntu 23.04. I was not able to get it to work in Windows.
Try that. I can likely help if you run into some small speed bumps / hurdles.

@skewty skewty closed this as completed Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants