-
Notifications
You must be signed in to change notification settings - Fork 23
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
Comments
Is this the relevant section in # 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. |
Is there an easy / temporary work around that can be done until this is resolved? |
Is getting an extension development environment up and running something paid "support" will help with? |
I messaged ThingsBoard asking about paid support for this and this is what I got back:
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. |
I was able to get this working after installing Ubuntu 23.04. I was not able to get it to work in Windows. |
Things checked:
http://localhost:5000/static/widgets/thingsboard-extension-widgets.js
as per READMEIt would seem CORS security was tightened up in defaults elsewhere.
It likely needs to allow localhost:5000 by default.
Where / how is this done?
The text was updated successfully, but these errors were encountered: