Chatbox - Realtime Chatting

Chatbox - Realtime Chatting [Paid] 1.2.0

No permission to buy (€15.00)

Triops

Well-known member
#42
I use https in forums but cannot use SSL for chat, since we are on AWS and don't get hand on key and certs normally.
So, launching the chat works without error, but in browser console I get endless these errors:

Code:
socket.io.js?_v=40a3ca74:1 WebSocket connection to 'wss://www.domain.de/socket.io/?EIO=3&transport=websocket' failed: Error during WebSocket handshake: Unexpected response code: 404
l.doOpen @ socket.io.js?_v=40a3ca74:1
f.open @ socket.io.js?_v=40a3ca74:1
m.open @ socket.io.js?_v=40a3ca74:1
m @ socket.io.js?_v=40a3ca74:1
m @ socket.io.js?_v=40a3ca74:1
n.open.n.connect @ socket.io.js?_v=40a3ca74:2
(anonymous) @ socket.io.js?_v=40a3ca74:2
Get it for FTP and CDN.
Is it related to SSL or what is it, please? How could I solve on AWS?
 
Last edited:

CabCon

Active member
#43
I use https in forums but cannot use SSL for chat, since we are on AWS and don't get hand on key and certs normally.
So, launching the chat works without error, but in browser console I get endless these errors:

Code:
socket.io.js?_v=40a3ca74:1 WebSocket connection to 'wss://www.domain.de/socket.io/?EIO=3&transport=websocket' failed: Error during WebSocket handshake: Unexpected response code: 404
l.doOpen @ socket.io.js?_v=40a3ca74:1
f.open @ socket.io.js?_v=40a3ca74:1
m.open @ socket.io.js?_v=40a3ca74:1
m @ socket.io.js?_v=40a3ca74:1
m @ socket.io.js?_v=40a3ca74:1
n.open.n.connect @ socket.io.js?_v=40a3ca74:2
(anonymous) @ socket.io.js?_v=40a3ca74:2
Get it for FTP and CDN.
Is it related to SSL or what is it, please? How could I solve on AWS?
Please ensure to remove / in the Node server name (IP) filed!

Remove the /:


It have to look like this:
 

Triops

Well-known member
#44
Its happening without /


Code:
socket.io-1.4.5.js?_v=40a3ca74:1 WebSocket connection to 'wss://www.domain.de/socket.io/?EIO=3&transport=websocket' failed: Error during WebSocket handshake: Unexpected response code: 404
WS.doOpen @ socket.io-1.4.5.js?_v=40a3ca74:1
Transport.open @ socket.io-1.4.5.js?_v=40a3ca74:1
Socket.open @ socket.io-1.4.5.js?_v=40a3ca74:1
Socket @ socket.io-1.4.5.js?_v=40a3ca74:1
Socket @ socket.io-1.4.5.js?_v=40a3ca74:1
Manager.open.Manager.connect @ socket.io-1.4.5.js?_v=40a3ca74:2
(anonymous) @ socket.io-1.4.5.js?_v=40a3ca74:3
 

CabCon

Active member
#45
Its happening without /


Code:
socket.io-1.4.5.js?_v=40a3ca74:1 WebSocket connection to 'wss://www.domain.de/socket.io/?EIO=3&transport=websocket' failed: Error during WebSocket handshake: Unexpected response code: 404
WS.doOpen @ socket.io-1.4.5.js?_v=40a3ca74:1
Transport.open @ socket.io-1.4.5.js?_v=40a3ca74:1
Socket.open @ socket.io-1.4.5.js?_v=40a3ca74:1
Socket @ socket.io-1.4.5.js?_v=40a3ca74:1
Socket @ socket.io-1.4.5.js?_v=40a3ca74:1
Manager.open.Manager.connect @ socket.io-1.4.5.js?_v=40a3ca74:2
(anonymous) @ socket.io-1.4.5.js?_v=40a3ca74:3
Did you check if the app.js is running?

forever list
 

rhodes

Active member
#48
This addon looks promising. Node js chats are superfast compared to those updating with vanilla js. Bzt why is this addon unmaintained ? Do you plan sth. new ?
 

rhodes

Active member
#50
The addon is Unmaintained under XF1.x for the moment.
OK, thank you. So this is a chat similar to taigachat for a couple of users? What I am looking for is a chat like arrowchat, which is similar to facebook chat supporting 1:1 communication. Can I do this with chatbox?
 
#51
OK, thank you. So this is a chat similar to taigachat for a couple of users? What I am looking for is a chat like arrowchat, which is similar to facebook chat supporting 1:1 communication. Can I do this with chatbox?
As of the first version that will be released, there won’t be any 1:1 communication.

This will be a lightweight powerful shoutbox where any registered members having the permission can use it :)
 
#52
Problem:
When banned in chat user was deleted through ACP from DB, banning info row is present on chatbox/banned-users page
Need extend XenForo_DataWriter_User class and override _postDelete() method like it:
PHP:
protected function _postDelete()
{
parent::_postDelete();
$db = $this->_db;
$userId = $this->get('user_id');
$userIdQuoted = $db->quote($userId);
$db->delete('chatbox_users_banned', "user_id = $userIdQuoted");
}
Or more easer solution:
Find actionBannedUsers method in XenSupport_Chatbox_ControllerPublic_Chatbox
Add after $perPage = $options->chatbox_bannedUsersPerPage;:
PHP:
XenForo_Application::getDb()->delete('chatbox_users_banned', "user_id = '0'");
 
Last edited:
Top