[Nobita] Messenger (Realtime Chatting) [Paid] [Deleted]

truonglv

Well-known member
Nobita.Kun updated [Nobita] Messenger (Realtime Chatting) with a new update entry:

Version 2.0.5 released!

Important:
  • You MIGHT restart server when update to this version. There are some steps to update which you need to do.
Step 1: Go to server directory.
Code:
 cd /some/path/forum_root/server
Step 2: Stop all current processes.
Code:
forever stopall

Step 3: Update all dependencies to latest version
Code:
npm update
Code:
npm update -g
Step 4: Start server
Code:
forever start server.js
Changes log:

  • ...

Read the rest of this update entry...
 
  • Like
Reactions: rdn

Jean-Baptiste

Well-known member
@Nobita.Kun, is it possible to use this addon when using CloudFlare's SSL ?

I copied and pasted the key and crt values that CloudFlare gave me, but I have the following error :

Code:
crypto.js:132
  if (options.cert) c.context.setCert(options.cert);
                              ^
Error: error:0906D066:PEM routines:PEM_read_bio:bad end line
    at Object.exports.createCredentials (crypto.js:132:31)
    at Server (tls.js:1128:28)
    at new Server (https.js:35:14)
    at Object.exports.createServer (https.js:54:10)
    at /home/realityg/public_html/server/server.js:28:3480
    at Object.<anonymous> (/home/realityg/public_html/server/server.js:28:3805)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
 

truonglv

Well-known member
@Nobita.Kun, is it possible to use this addon when using CloudFlare's SSL ?

I copied and pasted the key and crt values that CloudFlare gave me, but I have the following error :

Code:
crypto.js:132
  if (options.cert) c.context.setCert(options.cert);
                              ^
Error: error:0906D066:PEM routines:PEM_read_bio:bad end line
    at Object.exports.createCredentials (crypto.js:132:31)
    at Server (tls.js:1128:28)
    at new Server (https.js:35:14)
    at Object.exports.createServer (https.js:54:10)
    at /home/realityg/public_html/server/server.js:28:3480
    at Object.<anonymous> (/home/realityg/public_html/server/server.js:28:3805)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
Currently addon did not support with site using cloudflare
 

Jean-Baptiste

Well-known member
Hello @Nobita.Kun,

I have many errors.

First one, when I start a popup, then refresh the window, and then open again the popup, server error :
Code:
Mysqli statement execute error : Data too long for column 'new_value' at row 1
[LIST=1]
[*]Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
[*]Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
[*]Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
[*]Zend_Db_Adapter_Abstract->insert() in XenForo/Model/UserChangeLog.php at line 136
[*]XenForo_Model_UserChangeLog->logChanges() in XenForo/Model/User.php at line 3118
[*]XenForo_Model_User->logChanges() in XenForo/DataWriter/User.php at line 1083
[*]XenForo_DataWriter_User->_postSave() in XenUsername/DataWriter/User.php at line 69
[*]XenUsername_DataWriter_User->_postSave() in XenForo/DataWriter.php at line 1423
[*]XenForo_DataWriter->save() in Nobita/Messenger/ControllerPublic/Messenger.php at line 53
[*]Nobita_Messenger_ControllerPublic_Messenger->_getWindowChats() in Nobita/Messenger/ControllerPublic/Messenger.php at line 33
[*]Nobita_Messenger_ControllerPublic_Messenger->actionIndex() in XenForo/FrontController.php at line 351
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /home/bob/public_html/index.php at line 13
[/LIST]

Second one, when I send the following message, XSS :
Code:
<script>alert('Hey');</script>

Finally, when I flood the message window, messages are not getting fetched anymore.

Regards.
 

Jean-Baptiste

Well-known member
Hello @Nobita.Kun,

I have many errors.

First one, when I start a popup, then refresh the window, and then open again the popup, server error :
Code:
Mysqli statement execute error : Data too long for column 'new_value' at row 1
[LIST=1]
[*]Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
[*]Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
[*]Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
[*]Zend_Db_Adapter_Abstract->insert() in XenForo/Model/UserChangeLog.php at line 136
[*]XenForo_Model_UserChangeLog->logChanges() in XenForo/Model/User.php at line 3118
[*]XenForo_Model_User->logChanges() in XenForo/DataWriter/User.php at line 1083
[*]XenForo_DataWriter_User->_postSave() in XenUsername/DataWriter/User.php at line 69
[*]XenUsername_DataWriter_User->_postSave() in XenForo/DataWriter.php at line 1423
[*]XenForo_DataWriter->save() in Nobita/Messenger/ControllerPublic/Messenger.php at line 53
[*]Nobita_Messenger_ControllerPublic_Messenger->_getWindowChats() in Nobita/Messenger/ControllerPublic/Messenger.php at line 33
[*]Nobita_Messenger_ControllerPublic_Messenger->actionIndex() in XenForo/FrontController.php at line 351
[*]XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
[*]XenForo_FrontController->run() in /home/bob/public_html/index.php at line 13
[/LIST]

@Nobita.Kun, for the first problem, you can reproduce it by having a HUGE amount of conversations (on my board, I have more than 6000 opened conversations). That's why...
 
Top