Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

how to set up (internal) Instant messaging for v7 with 'anyboxes' web_im?

By
gunnar
on 8/6/14, 4:42 AM 813 views

I will try to install and setup Instant Messaging for v7 using www.bitbucket.org/anybox/web_im. I am need internal messaging first (not sure whether that is possible) hopefully without using Nginx or so. I' try to make a howto if I suceed using this thread. Hopefully I'll get some help to get it done on the way.

1

gunnar

--gunnar--
1153
| 6 7 8
Germany
--gunnar--

born

gunnar
On 8/6/14, 4:52 AM

this answer is a WORK IN PROGRESS. I'll need help to get it good

 

1. install mercurial on your linux server (so you can clone the modules you need from bitbucket)

sudo apt-get install mercurial

2. clone web_im, web_socketio, web_longpolling    (NOTE web_longpolling is included in the web_socketio repository)

sudo hg clone https://bitbucket.org/anybox/web_im

sudo hg clone https://bitbucket.org/anybox/web_socketio

https://bitbucket.org/anybox/web_im  comes with a howto which I am trying to understand and follow.

 

Make your Nginx/Apache conf

example conf for nginx:

worker_processes 1;

 

events {

        worker_connections 1024;

}

 

http {

    server {

        listen 80;

        server_name www.myopenerp.fr;

        location /socket.io {

            proxy_pass http://127.0.0.1:8068; proxy_http_version 1.1;

 

            proxy_set_header Upgrade $http_upgrade;

            proxy_set_header Connection "upgrade";

            proxy_set_header Host $host;

 

            proxy_set_header X-Real-IP $remote_addr;

            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            proxy_set_header X-Forwarded-Proto https;

 

            proxy_redirect off;

        }

       location / {

            proxy_pass http://127.0.0.1:8069;

            }

        }

    }

 

/etc/hosts:

127.0.0.1 www.yourdomian.com

the port:

8069: the OpenERP server

8068: the SocketIO server

/socketio is the default path to dispatch the poll

--------------------------

first serious problem: I have no clue about Nginx (only know you can use that for making OpenERP accessable from the internet (reverse proxy). I wonder whether this http://www.schenkels.nl/2013/01/reverse-ssl-proxy-using-nginx-with-openerp-v7/ would help getting where you need to get?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/6/14, 4:42 AM
Seen: 813 times
Last updated: 3/16/15, 8:10 AM