openchat
                                
                                 openchat copied to clipboard
                                
                                    openchat copied to clipboard
                            
                            
                            
                        Automatically embed YouTube videos when a link is sent
Its quite easy and interesting.
@ankitjain28may assign to me please, I'll try.
Ya sure..!
I have an error when trying to send a message, do not know what might be the reason?
...
New connection! (180)
PHP Notice:  Undefined property: stdClass::$name in /home/lex/repos/openchat/src/Chat.php on line 140
PHP Stack trace:
PHP   1. {main}() /home/lex/repos/openchat/cmd.php:0
PHP   2. Ratchet\Server\IoServer->run() /home/lex/repos/openchat/cmd.php:19
PHP   3. React\EventLoop\StreamSelectLoop->run() /home/lex/repos/openchat/vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php:85
PHP   4. React\EventLoop\StreamSelectLoop->waitForStreamActivity() /home/lex/repos/openchat/vendor/react/event-loop/src/StreamSelectLoop.php:201
PHP   5. call_user_func:{/home/lex/repos/openchat/vendor/react/event-loop/src/StreamSelectLoop.php:232}() /home/lex/repos/openchat/vendor/react/event-loop/src/StreamSelectLoop.php:232
PHP   6. React\Socket\Connection->handleData() /home/lex/repos/openchat/vendor/react/event-loop/src/StreamSelectLoop.php:232
PHP   7. React\Socket\Connection->emit() /home/lex/repos/openchat/vendor/react/stream/src/Stream.php:170
PHP   8. call_user_func_array:{/home/lex/repos/openchat/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/lex/repos/openchat/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP   9. Ratchet\Server\IoServer->handleData() /home/lex/repos/openchat/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  10. Ratchet\Http\HttpServer->onMessage() /home/lex/repos/openchat/vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php:113
PHP  11. Ratchet\WebSocket\WsServer->onMessage() /home/lex/repos/openchat/vendor/cboden/ratchet/src/Ratchet/Http/HttpServer.php:53
PHP  12. Ratchet\WebSocket\Version\RFC6455->onMessage() /home/lex/repos/openchat/vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php:96
PHP  13. ChatApp\Chat->onMessage() /home/lex/repos/openchat/vendor/cboden/ratchet/src/Ratchet/WebSocket/Version/RFC6455.php:204
Invalid Authentication
Hey, I will update the readme with latest configuration that will help you to start with this project. I hope this error wont occur then.
Ok I will wait.
@lex111 Thanks, will update it today
Hey, You can start working, I have updated the repo.
Not work for me. Although the folder is created
error: <class 'xmlrpclib.Fault'>, <Fault 92: "CANT_REREAD: The directory named as part of the path ~/repos/openchat/openchat_supervisor.log does not exist. in section 'program:devserver' (file: '/etc/supervisor/conf.d/devserver.conf')">: file: /usr/lib/python2.7/xmlrpclib.py line: 800
hey try to see the logs in openchat_supervisor.log file
Is it empty there, but without a supervisor it will not work?
hey, you have entered you external ip in the config files
Are you on skype so that i can help you
I set it up, but the error is different. It would be nice, for example, to have a Docker here
I'll definitely integrate docker when i will learn it, but for now you need to deploy it on your local system, ok one more way... have you changed all the url with your external ip as being defined in the readme.
- Open terminal and enter php cmd.php
- Open another terminal window and enter php -S external_ip:8888
- It will start running at external_ip:8888
@ankitjain28may I would like to work on this.
@hiteshpr This is almost completed.