@mwittig
Currently I am using 90 devices and 102 rules.
-
Missing property "allowedOrigin"
-
I have the same error message
Missing property “allowedOrigin” in /settings/cors
-
Same message, but where to remove the cors (Pimatic newbie).
-
@Birrel said in Missing property "allowedOrigin":
Same message, but where to remove the cors (Pimatic newbie).
You have to completely remove the line that says: “/setting/cors” from your config.json. Which can be found in in the pimatic-app folder.
You can also find it under config in the menu from pimatic itself. -
Hey. I more or less accidentally upgraded pimatic today (hadn’t touched it for a few months) and after issuing lots of things concerning new nodejs version etc. I have 2 problems left.
One is this one here.I have no “/settings/cors” at all in my config.json, nevertheless i get this message, when starting pimatic…
-
Im a newbie nut today pimatic give me a lot of error.
I I found ‘cors’ in settings.json, i deleted it and this error goes away. -
The problem is if you edit the configuration file with UI editor, it will add
cors
automatically to the config. Maybe some of the @pimatic-team can look at it -
I thought I had fixed this one. I’ll check,
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Same problem here today.
"Invalid config: Missing property “allowedOrigin” in /settings/cors"
But no line with “/settings/cors” in the config.json.First installation today.
-
I had the same issue. To fix it I added the missing property to ‘config.json’ and the error disappeared:
{
“settings”: {
“locale”: “en”,
“cors”: {
“allowedOrigin”: “*”
},
“httpServer”: {
“enabled”: true,
“port”: 80
},
“database”: {
… -
@joaoffr Hi, yes this work. But not with this type quote
“
.Pimatic = Smart Home
-
This Solution work for me. Thanks.
Add/change this in your config.json."cors": { "allowedOrigin": "*" }
But what did this mean?
-
@Knot-Together said in Missing property "allowedOrigin":
“cors”: {
“allowedOrigin”: “*”
}This is a bad coice as it basically allows all cross domain access. I recommend to remove it and just ignore error message “Invalid config: Missing property “allowedOrigin” in /settings/cors” for now as it doesn’t hurt anyway. I’ll provide a fix for it soon.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law