Hi Alok, I found one similar email. See if it can help you…☺
Thanks, Amit From: [email protected] [mailto:[email protected]] Sent: Monday, May 14, 2018 3:41 PM To: [email protected] Subject: Warning!!!PossibleSpam Re: Help: Openmeetings 4.0.3 @Amit, Yes socket related issues are there. Thanks @Maxim, I will go through the thread and try to follow solutions. Thanks On 05/14/18 02:16 PM, Maxim Solodovnik <[email protected]<mailto:[email protected]>> wrote: Hello Alok, OM will not work if websockets are not working :( please also check this thread: https://markmail.org/message/t6yqc4wadi4qp2iy On Mon, May 14, 2018 at 2:23 PM, Alok Khode <[email protected]<mailto:[email protected]>> wrote: Dear Maxim, My VirtualHost setting is as below: <VirtualHost *:80> ProxyPreserveHost On ProxyRequests Off RemoteIPHeader X-Client-IP RemoteIPInternalProxy 127.0.0.0/8<http://127.0.0.0/8> ServerAdmin [email protected]<mailto:[email protected]> ServerName webinar.example.com<http://webinar.example.com> ErrorLog logs/webinar.example.com-error_log CustomLog logs/webinar.example.com-access_log common ProxyPass / http://localhost:5080/ ProxyPassReverse / http://localhost:5080/ </VirtualHost> Once I logged-in, URL changed from http://webinar.example.com to http://webinar.example.com/openmeetings/#user/dashboard but dashboard is not loaded. Howerver, when I use port i.e. http://webinar.example.com:5080 everything works fine as it bypasses the apache in this case. Reverse Proxy and Openmeetings are hosted on same server. In one of the post, you suggested "you need to add mod rewrite and the rule to rewrite external_protocol_host_port to internal one and leave URL tail unchanged". I seek you guidance to write correct Rule. Have upgraded apache 2.2 to 2.4.33. Have not enabled mod_proxy_wstunnel because not sure where it is needed in my case? Regards Alok On 05/11/18 01:22 PM, Alok Khode <[email protected]<mailto:[email protected]>> wrote: Thanks Maxim. I will subscribe to list and explain there. Regards Alok On 05/11/18 01:22 PM, Alok Khode <[email protected]<mailto:[email protected]>> wrote: Thanks Maxim. I will subscribe to list and explain there. Regards Alok On May 11, 2018 12:03 PM, Maxim Solodovnik <[email protected]<mailto:[email protected]>> wrote: Hello Alok, please do not write personal emails, subscribe to the user@ list so others can also benefit from our discussion :) Could you provide rule you are using so I can suggest correction? Have you enable mod_proxy_wstunnel ? BTW we are using Apache 2.4 on our servers On Fri, May 11, 2018 at 1:15 PM, Alok Khode <[email protected]<mailto:[email protected]>> wrote: Dear Maxim, I work for IT division of an Indian Govt. R & D organization "CSIR-URDIP". We run a post graduation program on patent informatics and to organise web seminar/training, I have recently implemented Openmeetings 4.0.3 on Centos 6.5/httpd 2.2. Its working fine and accessible within and outside of our LAN using webinar.urdip.res.in:5080<http://webinar.urdip.res.in:5080>. I have now trying to use httpd as reverse proxy so that I can access without mentioninh port. My other intension for using reverse proxy is to restrict outside access through Basic AuthType. Everything works fine and login screen comes but after login Dashboard never displayed. However, when I mention port 5080, it works fine. I tried to follow your suggession you had given as follows "you need to add mod rewrite and the rule to rewrite external_protocol_host_port to internal one and leave URL tail unchanged". However, I am not able to write proper rewrite rule. Can you guide me in this. -- Regards, Alok Khode Sr. Scientist CSIR - Unit for Research and Development of Information Products NCL Campus, S.No.113,114 Pashan Road, Pune-411 008 (Maharashtra), India (Landmark Baner Road side gate of NCL) Office: +91- 020 - 69000865 Fax No:+91- 020 - 25882838 Mob: +91-9960268260 website: urdip.res.in<http://urdip.res.in> IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. -- WBR Maxim aka solomax ________________________________ Thanks Maxim. I will subscribe to list and explain there. Regards Alok On May 11, 2018 12:03 PM, Maxim Solodovnik <[email protected]<mailto:[email protected]>> wrote: > > Hello Alok, > > please do not write personal emails, subscribe to the user@ list so others > can also benefit from our discussion :) > > Could you provide rule you are using so I can suggest correction? > Have you enable mod_proxy_wstunnel ? > > BTW we are using Apache 2.4 on our servers > > On Fri, May 11, 2018 at 1:15 PM, Alok Khode > <[email protected]<mailto:[email protected]>> wrote: >> >> Dear Maxim, >> I work for IT division of an Indian Govt. R & D organization "CSIR-URDIP". >> We run a post graduation program on patent informatics and to organise web >> seminar/training, I have recently implemented Openmeetings 4.0.3 on Centos >> 6.5/httpd 2.2. Its working fine and accessible within and outside of our LAN >> using webinar.urdip.res.in:5080<http://webinar.urdip.res.in:5080>. I have >> now trying to use httpd as reverse proxy so that I can access without >> mentioninh port. My other intension for using reverse proxy is to restrict >> outside access through Basic AuthType. Everything works fine and login >> screen comes but after login Dashboard never displayed. However, when I >> mention port 5080, it works fine. >> >> I tried to follow your suggession you had given as follows "you need to add >> mod rewrite and the rule to rewrite external_protocol_host_port to internal >> one and leave URL tail unchanged". However, I am not able to write proper >> rewrite rule. Can you guide me in this. >> >> -- >> Regards, >> Alok Khode >> Sr. Scientist >> CSIR - Unit for Research and Development of Information Products >> NCL Campus, S.No.113,114 >> Pashan Road, Pune-411 008 (Maharashtra), India >> (Landmark Baner Road side gate of NCL) >> Office: +91- 020 - 69000865 >> Fax No:+91- 020 - 25882838 >> Mob: +91-9960268260 >> website: urdip.res.in<http://urdip.res.in> >> >> IMPORTANT: The contents of this email and any attachments are confidential. >> They are intended for the named recipient(s) only. If you have received >> this email by mistake, please notify the sender immediately and do not >> disclose the contents to anyone or make copies thereof. > > > > > -- > WBR > Maxim aka solomax -- Regards, Alok Khode Sr. Scientist CSIR - Unit for Research and Development of Information Products NCL Campus, S.No.113,114 Pashan Road, Pune-411 008 (Maharashtra), India (Landmark Baner Road side gate of NCL) Office: +91- 020 - 69000865 Fax No:+91- 020 - 25882838 Mob: +91-9960268260 website: urdip.res.in<http://urdip.res.in> IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. -- WBR Maxim aka solomax -- Regards, Alok Khode Sr. Scientist CSIR - Unit for Research and Development of Information Products NCL Campus, S.No.113,114 Pashan Road, Pune-411 008 (Maharashtra), India (Landmark Baner Road side gate of NCL) Office: +91- 020 - 69000865 Fax No:+91- 020 - 25882838 Mob: +91-9960268260 website: urdip.res.in IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com
--- Begin Message ---Hi All, My issue is solved by editing my Apache site configuration like below: <VirtualHost *:80> ServerAdmin admin@admin ServerName con.aztut.ml RewriteEngine on RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC] RewriteRule .* ws://localhost:5080%{REQUEST_URI} [P] ProxyPreserveHost On ProxyRequests Off ProxyPass / http://localhost:5080/ ProxyPassReverse / http://localhost:5080/ ErrorLog /var/log/apache2/red5-error_log CustomLog /var/log/apache2/red5-access_log common </VirtualHost> Regards. Sent: Saturday, May 12, 2018 at 12:56 PM From: "Turkel Alizadeh" <[email protected]> To: [email protected], [email protected] Cc: [email protected] Subject: Re: RE: Apache websocket 404 Do I need to reinstall application without domain and use local IPs? Currently my setup is on con.aztut.ml domain, you can see error on console after login. Sent: Thursday, May 10, 2018 at 7:46 AM From: "Coscend@OM" To: [email protected] Subject: RE: Apache websocket 404 Hello Turkel, Further, to isolate the issue, you might want to test run your installation without the proxy server and with only firewall router. Some firewall routers do not support WebSockets in default setting. To bypass proxy server, you can use IP address (within LAN, either in local network or through VPN) Server / domain name. Thank you. Sincerely, Hemant K. Sabat ------------------------------------------------------------------ Real-time, Interactive Video Collaboration, Tele-healthcare, Tele-education, Telepresence Services, on the fly… ------------------------------------------------------------------ CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages from Coscend Communications Solutions' posted at: http://www.Coscend.com/Anchor/Common/Terms_and_Conditions.html -----Original Message----- From: Coscend@OM Sent: Wednesday, May 9, 2018 5:43 PM To: 'Turkel Alizadeh' ; [email protected] Cc: [email protected] Subject: Apache websocket 404 Hello Tukrel, So that I understand your setup to be able to provide any additional vectors, could you share the following: Is your setup: Reverse proxy HTTPD + HTTP OM? Are you converting HTTPS --> HTTP in front of reverse proxy HTTPD? If so, did you happen to review the log files of your OM installation? And the access log files of your HTTPD installation? Thank you. Sincerely, Hemant K. Sabat ------------------------------------------------------------------ Real-time, Interactive Video Collaboration, Tele-healthcare, Tele-education, Telepresence Services, on the fly… ------------------------------------------------------------------ CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages from Coscend Communications Solutions' posted at: http://www.Coscend.com/Anchor/Common/Terms_and_Conditions.html -----Original Message----- From: Turkel Alizadeh Sent: Wednesday, May 9, 2018 1:57 PM To: [email protected]; [email protected] Cc: [email protected] Subject: Re: RE: Apache websocket 404 Hi Hemant, I am resending same message because web mailing shows improper format of content. http proxy works OK as it redirects domain root requests / to server internal port localhost:5080. This is also same with ws redirection to internal localhost ws link with port 5080. Login page works ok which gets redirected with http proxy: ProxyPass / http://localhost:5080/ ProxyPassReverse / http://localhost:5080/ Regards, Turkel. Sent: Wednesday, May 09, 2018 at 6:53 AM From: "Coscend@OM" To: [email protected] Subject: RE: Apache websocket 404 Hello Turkel, Here is a vector to investigate. Should the URLs below point to the same domain? Without this, how would the WebSocket request not find the resource to display? ServerName con.domain.com … ProxyPass / http://localhost:5080/ Thank you. Sincerely, Hemant K. Sabat Coscend Communications Solutions www.Coscend.com[http://www.coscend.com/] ------------------------------------------------------------------ Real-time, Interactive Video Collaboration, Tele-healthcare, Tele-education, Telepresence Services, on the fly… ------------------------------------------------------------------ CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail Messages from Coscend Communications Solutions' posted at: http://www.Coscend.com/Anchor/Common/Terms_and_Conditions.html[http://www.Coscend.com/Anchor/Common/Terms_and_Conditions.html] From: Turkel Alizadeh Sent: Tuesday, May 8, 2018 3:03 PM To: [email protected] Subject: Apache websocket 404 Hi, I am trying to install openmeetings 4.0.3 application into my debian server by attached tutorial which I got from official openmeetings website. I have followed every step and got to login page successfully, but I got problem after login as client cant reach server websocket protocol. I am getting following error on my browser console: WebSocket connection to 'ws://domain.com/openmeetings/wicket/websocket?pageId=2&wicket-ajax-baseurl=.&wicket-app-name=OpenmeetingsApplication' failed: Error during WebSocket handshake: Unexpected response code: 404 My apache2 domain configurration is below: ServerAdmin [email protected][mailto:[email protected]] ServerName con.domain.com ProxyPreserveHost On ProxyRequests Off ProxyPass /ws2/ ws://localhost:5080/ ProxyPassReverse /ws2/ ws://localhost:5080/ ProxyPass /wss2/ ws://YOUR_DOMAIN:WS_PORT/ ProxyPass / http://localhost:5080/[http://localhost:5080/] ProxyPassReverse / http://localhost:5080/[http://localhost:5080/] ErrorLog /var/log/apache2/red5-error_log CustomLog /var/log/apache2/red5-access_log common Please advise possible troublshooting and solution for this issue. Best Regards, Turkel. ------------------------------------------------------------ [http://www.avg.com/internet-security] This email has been checked for viruses by AVG antivirus software. www.avg.com[http://www.avg.com/internet-security] --- This email has been checked for viruses by AVG. http://www.avg.com
--- End Message ---
