Chat+

What do you think about the new Chat?

 

https://www.boonex.com/n/say-hello-to-dolphinpro-7-3-beta-in-the-new-c

 

Heart Head Hands
27 Jan 2016

So could the chat work like RMS dedicated server? Means one dedicated server for multiple sites?

Umar Haroon
27 Jan 2016

Not at the moment, but this is coming soon, yes. 

Heart Head Hands
27 Jan 2016

For now one chat is for one site only.

Here is instructions on how to install ChatPlus Server on Ubuntu with Apache webserver:

https://github.com/boonex/dolphin.pro/wiki/ChatPlus-Installation-Instructions-(Ubuntu-with-Apache) 

So could the chat work like RMS dedicated server? Means one dedicated server for multiple sites?

 

Rules → http://www.boonex.com/terms
28 Jan 2016
 
 
Well to answer your question, after testing it on the demo site is great, it's a very nice tool, it seems powerful, very well done, fast, I am delighted to have based on my site it could change many things.

This is where I am a little worried, I have followed the installation instructions but I see no trace of cat + if not on the menu.

I think I mix my brushes with the url.

The installation instrutctions are not very precise on this point, it is made for people who know, I do not know.

If you can enlighten me a little more it would be nice.

My structure is as follows. / var / www / 3 contains my directories.

1. twoforlife (my prouction site accessible via www.twoforlife.com
2. Test (clone of my site accessible via subdomain upgraded 7.3b test.twoforlife.com)
3. test10 (for the chat server accessible via subdomain + test10.twoforlife.com)

Can you explain as precisely as possible or do I install it?
And what I have to put in url + chat and 0Auth2?

I have not yet ssl ... but if I understand it should work anyway by specifying the port.
Baloo
29 Jan 2016

Interesting indeed.  I've never set up chat on a website.  Will Chat+ require much server resources?  Is the video/audio data stream sent (mostly?) direct from one site member's computing device to another's?  I'm curious whether an increasing number of Chat+ sessions will soon bog down the site server's limited resources.

http://pkforum.dolphinhelp.com
30 Jan 2016

Two things on my mind

1st That bot Rocket.Cat is making think that it connects to Rocket.Chat servers. Wouldn't that be a privacy issue? correct me if i am wrong.

2nd How to monetize the Chatrooms. Obviously you can't let people use chatrooms for free while it consumes your bandwidth.

Umar Haroon
30 Jan 2016

Providing access or not depending on the membership level. For point two I think not because it is necessary to install its own server. Do you think it through chat rocket? I hope not...  :-(

Baloo
30 Jan 2016

Andrew - can you shed any light on security for content that is shared?

Is chat content stored anywhere or does it just sit in cache while a session is open?

 

30 Jan 2016

nice one andraw

Always remember that the future comes one day at a time.
30 Jan 2016

How I can install in my dolphin site Chat+. I'm using a linux hosting Godaddy

30 Jan 2016

@baloo & @ecrdesign

Can you explain as precisely as possible or do I install it?
And what I have to put in url + chat and 0Auth2?

For now we have instructions for Ubuntu OS and Apache webserver, later we'll add instructions for CentOS 

https://github.com/boonex/dolphin.pro/wiki/ChatPlus-Installation-Instructions-(Ubuntu-with-Apache)

Rules → http://www.boonex.com/terms
31 Jan 2016

@epaulo 

Interesting indeed.  I've never set up chat on a website.  Will Chat+ require much server resources?  Is the video/audio data stream sent (mostly?) direct from one site member's computing device to another's?  I'm curious whether an increasing number of Chat+ sessions will soon bog down the site server's limited resources.

We haven't notices that it uses much of CPU, however we've found  that it uses considerable amount of RAM. 

Audio/audio streaming is peer to peer, so server resource aren't used there.

It looks like it capable to handle hundreds of users (if not thousands) on a single server, but of cause it depends on the server hardware and the server tuning.

Rules → http://www.boonex.com/terms
31 Jan 2016

@daihlo 

Andrew - can you shed any light on security for content that is shared?
Is chat content stored anywhere or does it just sit in cache while a session is open?

OAuth2 server shares all profile fields except: password & hash fields and some system fields to the site it is authenticating in. However usually only name, email, url and picture are used.

Chat content is stored in the local mongodb server, no any data stored in any external services.

Rules → http://www.boonex.com/terms
31 Jan 2016

I draw your attention to all of this:

 

PLATFORM SUPPORT

MongoDB only provides packages for 64-bit long-term support Ubuntu releases. Currently, this means 12.04 LTS (Precise Pangolin) and 14.04 LTS (Trusty Tahr). While the packages may work with other Ubuntu releases, this is not a supported configuration.

Overview

Use this tutorial to install MongoDB Community Edition from .deb packages on Debian 7 “Wheezy”. While Debian includes its own MongoDB packages, the official MongoDB Community Edition packages are more up to date.

MongoDB only provides packages for 64-bit Debian “Wheezy”. These packages may work with other Debian releases, but this is not a supported configuration.

Source: https://docs.mongodb.org/manual/tutorial/

Platform 3.2 3.0 2.6 2.4 2.2
Amazon Linux
Debian 7
Fedora 8+    
RHEL/CentOS 6.2+
RHEL/CentOS 7.0+    
SLES 11+
Solaris 64-bit
Ubuntu 12.04
Ubuntu 14.04    
Microsoft Azure
Windows Vista/Server 2008R2/2012+
OSX 10.7+  

I tried to install it on debian 8 "Jessie" and Ubuntu 15.10, it does not pass. My server is on debian 8, I am already stuck.

Baloo
31 Jan 2016

Gibt es ein Demo wo man sich den Adminbereich ansehen kann?

 

Is there a demo where you can view the admin area?

2 Feb 2016

 

Is there a demo where you can view the admin area?

 I'm sending you login info for my testing server via PM.

If others want to see let me know.

 

I'll give the test account admin privileges for you to see the back-end.

ManOfTeal.COM a Proud UNA site, six years running strong!
2 Feb 2016

 im getting an bad gateway 502 when i access http://ci.boonex.com/chat/latest.php

@baloo & @ecrdesign

Can you explain as precisely as possible or do I install it?
And what I have to put in url + chat and 0Auth2?

For now we have instructions for Ubuntu OS and Apache webserver, later we'll add instructions for CentOS 

https://github.com/boonex/dolphin.pro/wiki/ChatPlus-Installation-Instructions-(Ubuntu-with-Apache)

 

5 Feb 2016

The problem has been fixed, please try again. 

im getting an bad gateway 502 when i access http://ci.boonex.com/chat/latest.php

 

Rules → http://www.boonex.com/terms
5 Feb 2016

any install instructions for centos 7, yet?

caredesign.net
5 Feb 2016

I ironed my server running Ubuntu 14 lts, and installation is very easy. Now chat + works, but I can not configure the authentification. Only have the opportunity to return email address and password admin. I can connect with that. I noted that transfer image and audio messages are much faster than on the demo site.

 

It's been a good thing done.


In this post, you suggest that the server must be configured to use OAuth2.


Is there a tutorial somewhere in this configuration?

Baloo
6 Feb 2016

If I buy the "Premium +" package, includes the installation of chat+?

6 Feb 2016

 

I can not configure the authentication.

 I can help you with that.

ManOfTeal.COM a Proud UNA site, six years running strong!
6 Feb 2016

 

If I buy the "Premium +" package, includes the installation of chat+?

Chat+ will be included with Premium + (and all dedicated servers both from BoonEx and Zarconia) once 7.3 is out. But we can also install it before then, along with 7.3 beta to let you test things out.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
6 Feb 2016

 Thank you so much, I thought, now it works, it's great, I think I finally master the beast.

 

I can not configure the authentication.

 I can help you with that.

Just a little problem, I would have to enlarge the window, because members will not see the query to accept to complete the connection.

I think this is a special case with me, it is because of the two avatars lines.

Can someone tell me how to enlarge this popup?


Sélection_630.png · 352.3K · 2187 views
Baloo
6 Feb 2016
 
 
 
 
I think it will pose problems on mobile, suggestion, it would be better to have a specific popup with just the query and not minimized page of the site.
Baloo
6 Feb 2016

The chat+ will work with mobile applications (android app, iPhone and iPad app)?

7 Feb 2016

 

The chat+ will work with mobile applications (android app, iPhone and iPad app)?

 I have not been able to do video or audio with Android devices.

ManOfTeal.COM a Proud UNA site, six years running strong!
7 Feb 2016

Some guys say well done for Andrew for this chat but i fell sorry for this poor guys that not have afford to buy a VPS or run a there own server. What shall this poor guys do on a shared hosting with this chat? Does it work on a shared hosting? Correct me if I'm wrong.

I think most of the license buyer are newbie that don't understand how to run there own server. From a shared to a VPS or a server that is a big step.

8 Feb 2016

 

Some guys say well done for Andrew for this chat but i fell sorry for this poor guys that not have afford to buy a VPS or run a there own server. What shall this poor guys do on a shared hosting with this chat? Does it work on a shared hosting? Correct me if I'm wrong.

I think most of the license buyer are newbie that don't understand how to run there own server. From a shared to a VPS or a server that is a big step.

This is a limit of RocketChat - it currently doesn't support multiple sites/orgs on the same instance. It can technically work on shared, but a separate instance would need to be run for each site. We (Zarconia) looked into this possibility, but the resources needed to run an instance for each site isn't feasible.

 

BoonEx subscriptions include hosting from Zarconia, and like at Zarconia, dedicated servers include full support and the Plesk control panel to make site and server management easy. For shared, the Flash chat will continue to be available as well.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
8 Feb 2016

OK, I was wondering if I could get a bit of assistance on this new chat. I know there are no install instructions for centos 7. But, as that is what I am using, it is hard for me to see how things are going to work without being able to run the server itself. So, I think I figured this out. It seems as if the server is running and I do see a page, but not exactly sure how to set up with dolphin

caredesign.net
9 Feb 2016

 

centos 7

 I have not looked into this new Chat+ thingy yet but why is the OS making a difference here?  I run CentOS 7 as well.   What is the issue with CentOS 7 over CentOS 6?

Geeks, making the world a better place
9 Feb 2016

well, i think i got everything setup. Not sure about any differences between 6 and 7 on CentOs, just noticed that there are only install nistructions for the chat server for Ubuntu only. So, I spent 2 days trying to figure out how to setup on CentOs 7 and I am having a slight problem with getting the redirect to work properly. If anyone could help, it would be greatly appreciated.

caredesign.net
9 Feb 2016

OK, whatever I did just got the authentication to go through. Now I am stuck with an internal server error

caredesign.net
9 Feb 2016

 

OK, whatever I did just got the authentication to go through. Now I am stuck with an internal server error

You'll need to kill and restart the Chat+ instance after first setting up Dolphin Connect under the Chat+ Administration => Accounts. It's a weird quirk, but that resolves the internal server error. If it doesn't, check the server log for the error.

 

Chat+ runs fine on CentOS, and it's what we use on BoonEx subscriptions and at Zarconia. The instructions post-dependency install are entirely the same. I'll write up on the differences, and maybe Alex can post this onto GitHub.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
9 Feb 2016

now this is what i am getting:

 

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

caredesign.net
9 Feb 2016

 

now this is what i am getting:

 

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

It can take a minute for the service to come back up. If you tried to use the Restart option under the Chat+ administration, that won't work. You'll need to kill the process and then start it back up (actually, that also kills the process, so now all you need to do is to start it back up).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
9 Feb 2016

i didnt know how to kill it,. so i rebooted the whole server

caredesign.net
9 Feb 2016

 

i didnt know how to kill it,. so i rebooted the whole server

No need to reboot the server, find the PID;  pidof, then use the kill command, kill [signal] PID.

Geeks, making the world a better place
9 Feb 2016

too late - i screwed it up.

caredesign.net
9 Feb 2016

Yesterday I tested with ten people, all went well, including one on a mobile.

 

/var/www/ --> contains:

  • twoforlife (my production site 7.2.1)
  • test (clone my production site upgrade 7.3) accessible via test.twoforlife.com
  • chat (contains bundle) accessible via chat.twoforlife.com

In directory test:

In the module OAuth2 Server j'ai ajouté un nouveau client qui pointe sur chat.twoforlife.com

In the module chat + --> url=http://chat.twoforlife.com/

In directory chat:

http://chat.twoforlife.com/ --> connect with email address and password, in administration --> comptes > dolphin :  url --> http://test.twoforlife.com + both keys generated at the point 1.

 

I tested first, then I removed the ability to connect with email address and password, it is in the first tab "Account".

But beware if for one reason or another, you do not know OAuth2 use to log you are good to learn mongodb control lines and that I'm not here!

I had to delete the table, FYI it is at home (ubuntu) in / var / lib / mongodb / then reinstall.

Before deleting the table must be
sudo killall mongod

 

For info as I read they are working on a version that will work with mysql, but they specify qu'l should not expect the same level of performance.

 

This could maybe help someone.

 

ps: I'm not https.I followed the procedure for failing to specify port 3000, it also works for me

Baloo
10 Feb 2016
We also examined how to address a user, it is very intuitive finally, use @ followed the first letters ...

@user.png · 24.3K · 1905 views
Baloo
10 Feb 2016

I am still getting internal server. I have killed it and even rebooted. Also, wiped and started all over again with new instructions for centos using the package for dolphin and same thing. Nothing in error logs either. so really confused now.

caredesign.net
10 Feb 2016

This can help you ? https://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/

Baloo
10 Feb 2016

the chat itself works. i get stuck after the chat asks to pull in profile info from my site. After I click "Yes", it closes the window, and then i get an internal server error in the chat app.

 

Just wondering if this could be because I do not have SSL. I was under the impression the ssl was really for chrome users. Since I am testing in firefox right now, did not know if this is the issue.

 

edit: if anyone is able to check it out:

site url: cvp71.com

chat and oauth2 are the only modules installed right now

user: professorsr

pword: 2516

caredesign.net
10 Feb 2016

 

I do not have SSL. I was under the impression the ssl was really for chrome users.

"https" is used for video and audio ability; so that is not the issue.

ManOfTeal.COM a Proud UNA site, six years running strong!
10 Feb 2016

this is the error i am getting in the console - dont know why i did not think to look there

 

{"error":500,"reason":"Internal server error","message":"Internal server error [500]","errorType":"Meteor.Error"}

caredesign.net
10 Feb 2016

chat+ log:

 

[root@localhost bundle]# vi chat_plus.log
^[[34mUpdating login service Accounts_OAuth_Wordpress_id^[[39m
^[[34mUpdating login service Accounts_OAuth_Wordpress_secret^[[39m
{"line":"398","file":"oauth_server.js","message":"Error in OAuth Server: Cannot read property 'error' of null","time":{"$date":1455130389570},"level":"warn"}
Exception while invoking method 'login' TypeError: Cannot read property 'error' of null
    at CustomOAuth.getAccessToken (packages/rocketchat_custom-oauth/custom_oauth_server.coffee:72:19)
    at Object.handleOauthRequest (packages/rocketchat_custom-oauth/custom_oauth_server.coffee:94:23)
    at OAuth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:8:1)
    at middleware (packages/oauth/oauth_server.js:173:1)
    at packages/oauth/oauth_server.js:146:1
{"line":"398","file":"oauth_server.js","message":"Error in OAuth Server: Cannot read property 'error' of null","time":{"$date":1455130499386},"level":"warn"}
Exception while invoking method 'login' TypeError: Cannot read property 'error' of null
    at CustomOAuth.getAccessToken (packages/rocketchat_custom-oauth/custom_oauth_server.coffee:72:19)

caredesign.net
10 Feb 2016

woohoo. thanks to mr newton i am official. finally running this rocketchat on my centos 7 server. now i can really see whats going on and have some fun.

caredesign.net
10 Feb 2016

Quick question. If I remove the form fields for the Chat server, and something goes wrong - how can i log in using admin credentials?

caredesign.net
10 Feb 2016
11 Feb 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.