Open Jotschi opened 6 years ago
now sure about your yaml indenting -- either hierarchy, or spacing (here, 2sp per indent level)
with, as above,
mesh.yml
...
httpServer:
host: "10.1.2.3"
port: 8443
ssl: false
certPath: ""
keyPath: ""
enableCors: false
corsAllowedOriginPattern: ""
corsAllowCredentials: false
...
launch fails
otoh, changing indenting to
mesh.yml
...
httpServer:
host: "10.1.2.3"
port: 8443
ssl: false
certPath: ""
keyPath: ""
enableCors: false
- corsAllowedOriginPattern: ""
- corsAllowCredentials: false
+ corsAllowedOriginPattern: ""
+ corsAllowCredentials: false
...
then
CORS config errors may throw
throw new IllegalStateException("wildcard origin with credentials is not allowed");
but that error is not logged during startup. Instead the startup process just freezes.Possible config: