Hello,
I have an urgent question ask (we do have official license). When we do Stardog Connection Pool using HTTP/Snarl then everything seems ok but not so when it involves SSL using Apache Proxy Server. The strange errors we see is mostly related to data being missing from SPARQL queries.
However, if we use non-ssl then we never get those errors. Anyways, I'm beginning to suspect that pooling using proxy server is not working as intended. For example
Our Web App -> HTTPS to Apache -> HTTP to Stardog
From our web app, we pool the connection using HTTPS. So, I do know that our connection pool is good from Web App -> Apache. However, I'm not so sure about connection between Apache -> Stardog. Not quite sure if HTTP stays alive or gets timed out or something else. Can you guys help to troubleshoot on why it's not working? I wish I can give more details but I'm very puzzled at this point.
Also, do you guys know of any customers who has successfully used Connection Pooling w/ HTTPS? I'd appreciate a fast response if possible. Thank you for your support.
Kevin
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Thanks for the quick reply. I do not have any custom code in the middle. I simply followed the SSL documentation for the stardog
<VirtualHost stardog-dev.dpm.com:443>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/stardog-dev.crt
SSLCertificateKeyFile /etc/pki/tls/private/stardog-dev.key
<Directory /var/www/vhosts/stardog-dev/httpsdocs>
AllowOverride All
SSLRequireSSL
</Directory>
ProxyPass / http://127.0.0.1:5822/
DocumentRoot /var/www/vhosts/stardog-dev/httpsdocs
ServerName stardog-dev.dpm.com
</VirtualHost>
<Directory />
SSLRequireSSL
</Directory>
ProxyPass / http://127.0.0.1:5822/
I tried to use your configuration but issue still remains. I do belive the HTTPS does work because about 90% of the requests goes through fine. I've changed the configuration to
ServerName stardog-dev.dpm.com
<VirtualHost stardog-dev.dpm.com:443>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/stardog-dev.crt
SSLCertificateKeyFile /etc/pki/tls/private/stardog-dev.key
</VirtualHost>
Just curious, do you have any customer who uses connection pool w/ https?
What is the thing that happens randomly? That's the thing we're still
not clear about.
Also, Wireshark (or the like) is yr friend here.
The part that acts randomly is that some sparql are returning empty results under HTTPS and in our java code would fail due to that. Yup, we have used Wireshark to verify the SSL is working. I thought that maybe the request received by Apache is not going in the same order to Stardog. However, when I compare Apache request log vs Wireshark..they matched the sequences as well.
We would really like try deploying stardog to a web server if possible. Is this something we can try w/ latest version?