Closed ghost closed 5 years ago
Did you start the web socket server (Ratchet)?
Not Sure . Can you tell us how to start ratchet socket server. whole application is running well in localhost but when i upload all this to my server for testing it is not working and showing the following errors.
.................................................................... VM409 comm.js:23 WebSocket connection to 'wss://192.232.212.25:8080/wss2/comm' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ...................................................................
........................................................... const wsChat = new WebSocket("wss://192.232.212.25:8080/wss2/comm"); ...............................................................
........................................ // my server IP is 192.232.212.25 $allowed_origins = ['localhost','192.232.212.25'];
// Run the server application through the WebSocket protocol on port 8080 $app = new Ratchet\App('192.232.212.25', 8080, '0.0.0.0');//App(hostname, port, 'whoCanConnectIP', '')
//create socket routes //route(uri, classInstance, arrOfAllowedOrigins) $app->route('/comm', new Comm, $allowed_origins); ..............................................
please help as soon as possible , i am stuck in this from last week ,there is no one to help and i does not find any solution in web, my whole learning is now depend on you please help me. thank you sir.
Not Sure . Can you tell us how to start ratchet socket server. whole application is running well in localhost but when i upload all this to my server for testing it is not working and showing the following errors. errors:
.................................................................... VM409 comm.js:23 WebSocket connection to 'wss:// 192.232.212.25:8080/wss2/comm' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED ................................................................... In comm.js my code is look like this:
........................................................... const wsChat = new WebSocket("wss://192.232.212.25:8080/wss2/comm"); ............................................................... In server.php code is look like this
........................................ // my server IP is 192.232.212.25 $allowed_origins = ['localhost','192.232.212.25'];
// Run the server application through the WebSocket protocol on port 8080 $app = new Ratchet\App('192.232.212.25', 8080, '0.0.0.0');//App(hostname, port, 'whoCanConnectIP', '')
//create socket routes //route(uri, classInstance, arrOfAllowedOrigins) $app->route('/comm', new Comm, $allowed_origins); ..............................................
please help as soon as possible , i am stuck in this from last week ,there is no one to help and i does not find any solution in web, my whole learning is now depend on you please help me. thank you sir.
On Tue, May 7, 2019 at 3:10 PM Amir notifications@github.com wrote:
Did you start the web socket server (Ratchet)?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28#issuecomment-490010499, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXA5FWHXMMGFL3VOCGTPUFFBRANCNFSM4HLHBHOA .
Im trying now but it show status 200 but giving error during websocket handshake
On Tue 7 May, 2019, 3:10 PM Amir, notifications@github.com wrote:
Did you start the web socket server (Ratchet)?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28#issuecomment-490010499, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXA5FWHXMMGFL3VOCGTPUFFBRANCNFSM4HLHBHOA .
Navigate to ws/bin
directory on your cli and run php server.php
we executed that file on server but the file is running and running and still running , is it behavior of this file or something else please guide me.
we execute server.php in over server but after sometime it show internal server error
So i try to run server.php in my server it show 500 internal error after that i change code and do the following it show now these error
i think your code don't run on live server.also you don't have live demo because
Let me know when you are available to test on a live server.
Any answer from you amir????
On Mon 13 May, 2019, 6:58 PM Amir, notifications@github.com wrote:
Reopened #28 https://github.com/amirsanni/Video-Call-App/issues/28.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28?email_source=notifications&email_token=AL2BSXANBJ2P6YYBQXKHYVTPVFUILA5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORNFPK6Y#event-2336945531, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXFAI7H3FW2EDOI4T2DPVFUILANCNFSM4HLHBHOA .
Are you ready for a demo?
hey can use websocket of another webrtc application to run this application
yes I'm
On Mon 13 May, 2019, 7:26 PM Amir, notifications@github.com wrote:
Are you ready for a demo?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28?email_source=notifications&email_token=AL2BSXANF4XGPUCX6MZWLWTPVFXPDA5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIMLCA#issuecomment-491832712, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXFBTOGTRYU3XL3CPETPVFXPDANCNFSM4HLHBHOA .
@VipinFarswan123 Still available?
i try everything but its not working on our server even we install ratchet on server but its show.. handshake time out ...
On Thu 16 May, 2019, 7:04 PM Amir, notifications@github.com wrote:
@VipinFarswan123 https://github.com/VipinFarswan123 Still available?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28?email_source=notifications&email_token=AL2BSXBTNT2CJEJSEGZAQBTPVVPFBA5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVR2JUY#issuecomment-493069523, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXDOSEXRTNTR2ZZRJVDPVVPFBANCNFSM4HLHBHOA .
@VipinFarswan123 Use this link http://1410inc.xyz/video-call-app/comm.html?room=yi5eymfsf8
oh..great... our server is run on cent os 6.x something can it be because of this
On Thu 16 May, 2019, 7:12 PM Amir, notifications@github.com wrote:
@VipinFarswan123 https://github.com/VipinFarswan123 Use this link http://1410inc.xyz/video-call-app/comm.html?room=yi5eymfsf8
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28?email_source=notifications&email_token=AL2BSXCNYLOJPICQKF3M2XTPVVQDXA5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVR3BNQ#issuecomment-493072566, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXDRCILWUA2MNZ6HWV3PVVQDXANCNFSM4HLHBHOA .
hey can use websocket of another webrtc application to run this application
Yes but then the responses must be as expected from the client-side of this project.
oh..great... our server is run on cent os 6.x something can it be because of this … On Thu 16 May, 2019, 7:12 PM Amir, @.***> wrote: @VipinFarswan123 https://github.com/VipinFarswan123 Use this link http://1410inc.xyz/video-call-app/comm.html?room=yi5eymfsf8 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#28?email_source=notifications&email_token=AL2BSXCNYLOJPICQKF3M2XTPVVQDXA5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVR3BNQ#issuecomment-493072566>, or mute the thread https://github.com/notifications/unsubscribe-auth/AL2BSXDRCILWUA2MNZ6HWV3PVVQDXANCNFSM4HLHBHOA .
No. In fact, the readme explains how to set it up on CentOS.
Hurrah I made it working.
On Thu, 16 May 2019, 17:15 VipinFarswan123, notifications@github.com wrote:
yes I'm
On Mon 13 May, 2019, 7:26 PM Amir, notifications@github.com wrote:
Are you ready for a demo?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/amirsanni/Video-Call-App/issues/28?email_source=notifications&email_token=AL2BSXANF4XGPUCX6MZWLWTPVFXPDA5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIMLCA#issuecomment-491832712 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AL2BSXFBTOGTRYU3XL3CPETPVFXPDANCNFSM4HLHBHOA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/amirsanni/Video-Call-App/issues/28?email_source=notifications&email_token=AIZCQKAZE5JM4OCXV6HGG7TPVVCL7A5CNFSM4HLHBHOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVRRSYQ#issuecomment-493033826, or mute the thread https://github.com/notifications/unsubscribe-auth/AIZCQKCS73DO5WAOUA3IT5DPVVCL7ANCNFSM4HLHBHOA .
hi, amir i have attached the code file because after following your step it still show error in live server,so i've attached all the file please check and help me. my code for enable mod proxy and mod_tunnel is
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so ProxyPass /wss2/ ws://192.232.212.25:8080/