Giter VIP home page Giter VIP logo

Comments (16)

lex111 avatar lex111 commented on June 9, 2024 1

@ankitjain28may assign to me please, I'll try.

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024 1

@hiteshpr This is almost completed.

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

Ya sure..!

from openchat.

lex111 avatar lex111 commented on June 9, 2024

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

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

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.

from openchat.

lex111 avatar lex111 commented on June 9, 2024

Ok I will wait.

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

@lex111 Thanks, will update it today

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

Hey, You can start working, I have updated the repo.

from openchat.

lex111 avatar lex111 commented on June 9, 2024

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

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

hey try to see the logs in openchat_supervisor.log file

from openchat.

lex111 avatar lex111 commented on June 9, 2024

Is it empty there, but without a supervisor it will not work?

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

hey, you have entered you external ip in the config files

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

Are you on skype so that i can help you

from openchat.

lex111 avatar lex111 commented on June 9, 2024

I set it up, but the error is different. It would be nice, for example, to have a Docker here

from openchat.

ankitjain28may avatar ankitjain28may commented on June 9, 2024

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.

  1. Open terminal and enter php cmd.php
  2. Open another terminal window and enter php -S external_ip:8888
  3. It will start running at external_ip:8888

from openchat.

hiteshpr avatar hiteshpr commented on June 9, 2024

@ankitjain28may I would like to work on this.

from openchat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.