Hi,
I am using asterisk 15.5 version on centOS.
I am starting asterisk as non-root user. I followed the documentation on Asterisk definitive guide.
I created a new user asteriskpbx, give permissions to log folders of asterisk, changed asterisk.conf file with user and group.
I was able to start asterisk as non-root user. But I am not able to access asterisk.
When I am running asterisk as root user. I am able to access it.
Incase of root asterisk, When I do https://publicIP:port/ws asterisk is returning a upgrade page (as expected).
And I am able to place calls using sipML5.
But in case of non-root asterisk, When I visit https://publicIP:port/ws It is showing site can’t be reached (I am not able to contact server).
And I am getting Websocket connection closed error.
WebSocket connection to ‘wss://publicIP:port/ws’ failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED
Please let me know if need to configure anything else on asterisk side or system level.