Picture of Jean-Francois 1756
Registered 10 years 312 days
Jean-Francois 1756 Thursday, 11 January 2024, 04:25 PM
external app - WEBSOCKET access through the reverse proxy
Hello community,

We have a partner that develop an app to make an interaction with their CRM
The dev explains to me that in v13r1 and r2 no problem through our reverse proxy. "it was connecting without any problem to /WEBSOCKET/websocket in wss://."

But in v13r3 and v14:
"it returns a 501 status code. but it is accessible. whereas on 13r3 and 14r1 it is protected with username/password"

Do you have an idea about the good setup of the reverse proxy? What are the changes between v13r1 and v13r3/v14 about websocket access ?

Thanks in advance.
Best regards,

Jean-François

Andreas Fink
Moderator Registered 13 years 50 days
Andreas Fink (innovaphone) Friday, 12 January 2024, 05:25 PM
Re: external app - WEBSOCKET access through the reverse proxy
Hello Jean-François,

the URL for a WS connection to the PBX should be wss:/<pbx-host>/PBX0/APPS/websocket (see https://sdk.innovaphone.com/14r1/doc/appwebsocket/AppWebsocket.htm). I don't think there were any changes regarding thin since 13r1.

Usually the path /PBX0/APPS is mapped on the Reverse Proxy to the PBX. I would check if this is the case.

More info about Reverse Proxy and accessing PBX resources from external networks:

Please try to use the URL for WS as stated in the AppWebsocket documentation and make sure Reverse Proxy is correctly configured.

Best Regards
Andreas Fink
← You can define your color theme preference here