OpenSprinkler Forums OpenSprinkler Mobile and Web App Mobile app "unable to connect" through SSL reverse proxy (Apache) Reply To: Mobile app "unable to connect" through SSL reverse proxy (Apache)

#40015

ipilcher
Participant

I agree that it’s very weird. I also thought that the proxy was adding the slash, but the logs from the proxy show that it isn’t so:

172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /js/?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 13
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /jc?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 349
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /jo?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 384
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /jp?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 62
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /jn?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 236
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /jo?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 384
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /js/?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 13
172.31.253.140 - - [27/Aug/2015:15:14:54 -0500] "GET /jc?pw=f7a9f061ae223e7ed166a73abe2abd8a HTTP/1.1" 200 349

Here is the proxy configuration:

Listen 32697

<VirtualHost *:32697>

        ServerName www.penurio.us:32697

        ErrorLog /etc/httpd/logs/sprinklers-proxy_error_log
        TransferLog /etc/httpd/logs/sprinklers-proxy_access_log
        LogLevel warn

        NSSEngine on
        NSSCipherSuite +rsa_rc4_128_md5,+rsa_rc4_128_sha,+rsa_3des_sha,-rsa_des_sha,-rsa_rc4_40_md5,-rsa_rc2_40_md5,-rsa_null_md5,-rsa_null_sha,+fips_3des_sha,-fips_des_sha,-fortezza,-fortezza_rc4_128_sha,-fortezza_null,-rsa_des_56_sha,-rsa_rc4_56_sha,+rsa_aes_128_sha,+rsa_aes_256_sha
        NSSProtocol TLSv1.0,TLSv1.1,TLSv1.2
        NSSNickname "www.penurio.us - StartCom Ltd."

        ProxyPass / http://172.31.252.3/
        ProxyPassReverse / http://172.31.252.3/

</VirtualHost>

And yes, the slash is not present when using the browser UI (including when using the browser UI from the Android device).