This topic contains 4 replies, has 4 voices, and was last updated by Dmitriy Pasechnik 6 years, 1 month ago.
- Topic
Hi, I just installed OroCrm on my Ubuntu over https. My question is if there is a way to connect to the websocket server (clank) with this kind of installation.
A little more info:
On the same server, I got a simple chat app working with ClankBundle, but no https, and it works fine. After doing this, I tried to do the same thing but WITH https. To my surprise, the only way (I could find) to make this work is to use ProxyPass on apache.So, what I ended up doing was connecting like this:
1Clank.connect("wss://crm.mydomain.cl/websocket");And adding this to the apache proxy_wstunnel.load:
1ProxyPass "/websocket" "ws://localhost:8081/"Of course, the socket server is running with that configuration, and the chat works.
Finally, the question is how can I tell orocrm to use the “/websocket” at the end of the connection string, or if there is another way to do this (other than working with nginx, which I know handles this)
Thanks a lot!
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.