Issue nginx - ajax

Vishal Mestri vishal.mestri at cloverinfotech.com
Tue Jun 3 10:58:54 UTC 2014



Hi B.R. and all, 


Really thank you for your support till now. 


We were able to resolve issue on IE as well as on Firefox. 


we did following settings:- 


1) IE 
We added my website to secure site list. 
Post that, I imported certificate to "Trusted Root Certiication Authorities". 


2) I used "security exception option" by adding same certificate twice by accessing two different ports 6401 and 443. 


B. R.> Thank you for all your inputs. 


Thanks & Regards, 
Vishal Mestri 

----- Original Message -----

From: "Vishal Mestri" <vishal.mestri at cloverinfotech.com> 
To: nginx at nginx.org 
Sent: Monday, June 2, 2014 7:18:48 PM 
Subject: Re: Issue nginx - ajax 




Hi All and B.R. 


We tested on Apache as well and we faced same issue. 
Further, we disabled Antivirus on our client machine.(where we are accessing browser). 


Post that, we did following reverse proxy configuration on Nginx. 
When we receive request on 443 port, it will be sent to 80 port. 
When we receive request on 6401 port , it will be sent to 6400 port. 
This configuration without SSL worked on IE 10, Chrome and firefox as well. 


Further, as soon as , I turned on SSL configuration on port 443 and 6401 for Nginx, we faced old issue. i.e. site worked on Chrome, but not on firefox and IE. 


Further, we got following error on error log for firefox only. 
*29 SSL_read() failed (SSL: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:SSL alert number 48) while waiting for request, client: 203.115.123.90, server: 0.0.0.0:6401 


We used below commands to generate ssl certificates:- 
openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key 
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt 








Thanks & Regards, 
Vishal Mestri ----- Original Message -----

From: "Vishal Mestri" <vishal.mestri at cloverinfotech.com> 
To: nginx at nginx.org 
Sent: Tuesday, May 27, 2014 10:05:54 AM 
Subject: Re: Issue nginx - ajax 




Thanks B. R. for your immediate reply. 


Configuration file which we are using is attached along with the email. 


We want following functions:- 
On our server there are two services running. 
One on 80 port and another one on 6400 port. 
We want to use Nginx as product which can help us to SSL enable both services and these services does not have capabilities to be SSL Enabled. 
Thus, we want to Nginx to listen on two SSL Port 443 and 6401. 
When Nginx receives request on port 443 , it will reverse proxy that request to service running on 80 port. 
And when Nginx receives request on port 6401 , it will reverse proxy that request to service running on 6400 port. 
Service which is running on 80 port is apache tomcat, where as service running on port 6400 is proprietary product which is called using AJAX. 


This configuration is working very well on chrome, but we are facing issue on Internet explorer 8 onwards. 




Please let us know if shared configuration is correct or not. 


Thank you very much for reply. 


We have started looking in apache , but still it is in RnD phase. 


Thanks & Regards, 
Vishal Mestri 

----- Original Message -----

From: "B.R." <reallfqq-nginx at yahoo.fr> 
To: "Nginx ML" <nginx at nginx.org> 
Sent: Monday, May 26, 2014 7:25:47 PM 
Subject: Re: Issue nginx - ajax 



If you wanted more help, you could provide some of the following: 

- Your configuration and what you expect it to do 

- The step you took to check the communication between nginx and your backend (the dumps of tcpdump) with details of what you expected 


Logs only show applied configuration (which might be faulty) do. 



However, if your decision is already made, then good luck with Apache or squid ;o) 


--- 
B. R. 
_______________________________________________ 
nginx mailing list 
nginx at nginx.org 
http://mailman.nginx.org/mailman/listinfo/nginx 

_______________________________________________ 
nginx mailing list 
nginx at nginx.org 
http://mailman.nginx.org/mailman/listinfo/nginx 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140603/299a269f/attachment-0001.html>


More information about the nginx mailing list