shenyu
shenyu copied to clipboard
[Question] <title>mac m1 start application fail,websocket connection refused
Question
The configuration of h2 is used, and other contents have not been changed.
The error message after startup is as follows:
pls in english?
👌
pls in english?
can you see what's the problem?
My guess : your admin address is not accessible through localhost. You can visit in your browser : localhost:9095 ?.
if not, pls modify application.yaml
in shenyu-bootstrap
:
shenyu:
sync:
websocket:
urls: ws://your ip:9095/websocket
allowOrigin: ws://your ip:9195
/websocket
it seems that i still can't. this is my application.yaml
can't run application
you need to check the shenyu-admin configuration.
shenyu.sync.websocket.enabled = true
if shenyu-admin is started, you can test it by accessing ip:port/websocket
and you need to check the shenyu-bootstarp configuration.
The correct configuration should be shenyu.sync. websocket.urls
。