Application stasis not register

Hello,
I’m using ARI library .net, and the application is running on the same root as Asterisk. I mean in 127.0.0.1.
I don’t know the reason but my stasis does not register, however before it works fine.
I make core restart now, and then it is registered. So I dont why this behavior,
Should I add some parameters in my configuration.
I noticed also that there is always this message event the application is created:
NOTICE[11185]: res_ari.c:781 process_cors_request: Origin header ‘ws://127.0.0.1:8088’ does not match an allowed origin. How to avoid it please, is there any relation of the no-registering

here is my configuration on http.conf and ari.conf
http.conf
[general]
enabled = yes
pretty = no
allowed_origins = localhost:8088

[myuser]
type = user ; Specifies user configuration
read_only = no
password =[mypassword]

ari.conf

[general]
servername=Asterisk
enabled=yes
bindaddr=127.0.0.1
bindport=8088

Thank you so much

If you use 127.0.0.1 as an allowed origin instead of localhost does it work?

Hello,
I use localhost instead of 127.0.0.1 for the initialisation of the ARIclient and it works
thank you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.