Re: SSL Proxy Tunnel to Tomcat SSL WebSocket

2013-04-04 Thread Jamie Johnson
Is there any thing else I can provide tip help debug this? I am not sure what to do from here... On Apr 2, 2013 10:01 AM, Jamie Johnson jej2...@gmail.com wrote: Here is the readable text from the wireshark capture. The request that works looks like this Apache running HTTPS talking

Re: SSL Proxy Tunnel to Tomcat SSL WebSocket

2013-04-02 Thread Jamie Johnson
, Jamie Johnson jej2...@gmail.com wrote: Changing from 8443 to 8080 everything works as expected so my assumption is yes. I will try to grab the packets to verify On Apr 1, 2013 7:52 PM, Eric Covener cove...@gmail.com wrote: Are you sure the other end is speaking websockets? A packet capture

SSL Proxy Tunnel to Tomcat SSL WebSocket

2013-04-01 Thread Jamie Johnson
Instead of jumping on an old thread I decided to repost as a separate question. Should proxying requests from wss:// to an apache tomcat server using wss:// work? From the logs (included below) it appears that the ws proxy tunnel is picking up and making the connection, but then it disconnects.

Re: SSL Proxy Tunnel to Tomcat SSL WebSocket

2013-04-01 Thread Jamie Johnson
Changing from 8443 to 8080 everything works as expected so my assumption is yes. I will try to grab the packets to verify On Apr 1, 2013 7:52 PM, Eric Covener cove...@gmail.com wrote: Are you sure the other end is speaking websockets? A packet capture might confirm which side complained first

Re: Proxying SSL Requests on trunk

2013-03-29 Thread Jamie Johnson
, but this was not the case. Am I misunderstanding their purpose? On Thu, Mar 28, 2013 at 11:41 PM, Jamie Johnson jej2...@gmail.com wrote: Wow, I'm sorry I completely lost sight of the issue here, please ignore this, the original request was to the ip address, so this is working exactly how it was supposed

Re: Proxying SSL Requests on trunk

2013-03-29 Thread Jamie Johnson
Ok, I'll move the question to the user list. I figured since this was an issue I was experiencing with an unreleased version of the software that it made sense here though. On Fri, Mar 29, 2013 at 9:35 AM, Eric Covener cove...@gmail.com wrote: On Fri, Mar 29, 2013 at 9:31 AM, Jamie Johnson

Re: Configuring proxy_wstunnel_module on trunk

2013-03-29 Thread Jamie Johnson
). On Mar 17, 2013, at 9:52 AM, Jamie Johnson jej2...@gmail.com wrote: I am able to duplicate your issue, not 100% sure what's happening there or if that configuration is supposed to be supported or not. The following works fine though Location /dynamic ProxyPass http://10.0.1.11:8080

Proxying SSL Requests on trunk

2013-03-28 Thread Jamie Johnson
I am trying to proxy SSL requests to a backend tomcat server using the latest code on trunk and am having some issues. If I enable ProxyPreserveHost I get a 500 proxy error and investigating the logs I see that the address being proxied to is the IP address. If I turn off ProxyPreserveHost the

Re: Proxying SSL Requests on trunk

2013-03-28 Thread Jamie Johnson
Wow, I'm sorry I completely lost sight of the issue here, please ignore this, the original request was to the ip address, so this is working exactly how it was supposed to. This is what I get for working late at night. Again I am sorry. On Thu, Mar 28, 2013 at 11:21 PM, Jamie Johnson jej2

Re: mod_proxy_websocket

2013-03-19 Thread Jamie Johnson
For those of us not familiar how would this be accomplished? Is it just config or is there also some dev that needs to happen? On Mar 19, 2013 9:09 AM, Jim Jagielski j...@jagunet.com wrote: This would be EXTREMELY easy just using -notes On Mar 19, 2013, at 9:03 AM, Jim Jagielski

Re: Configuring proxy_wstunnel_module on trunk

2013-03-18 Thread Jamie Johnson
the 'ws' and 'wss' scheme to the allowed protocols between the client and the backend, so you tell Apache that you'll be talking 'ws' with the backend (same as ajp://whatever sez that httpd will be talking ajp to the backend). On Mar 17, 2013, at 9:52 AM, Jamie Johnson jej2...@gmail.com

Re: mod_proxy_websocket/tunnel

2013-03-17 Thread Jamie Johnson
Great I'm going to try that as well. Can you provide the process...anything would be appreciated On Mar 17, 2013 12:06 AM, Nathan Quinlan nathan.quin...@gmail.com wrote: I was able to backport this into 2.4.4 in less than an hour. Fortunately it isn't that different from trunk and I'm not a C

Re: Configuring proxy_wstunnel_module on trunk

2013-03-17 Thread Jamie Johnson
) and was handled outside of Tomcat via a rewrite rule and a Location but when the ProxyPassReverse was removed images were fine. Images that were not 404 show up in the access_log of httpd but the 404 files with the crazy header do not. On 2013-03-16, at 12:37 PM, Jamie Johnson wrote: I just took

Re: Configuring proxy_wstunnel_module on trunk

2013-03-17 Thread Jamie Johnson
Also I have a different rewrite rule for http and ws...not sure that is required though On Mar 17, 2013 6:31 AM, Jamie Johnson jej2...@gmail.com wrote: Definitely interesting. I had gotten this working but I was only serving sine html through tomcat and I made the endpoints different while

Re: Configuring proxy_wstunnel_module on trunk

2013-03-17 Thread Jamie Johnson
like /static/hello.jpg. On 2013-03-17, at 6:33 AM, Jamie Johnson wrote: Also I have a different rewrite rule for http and ws...not sure that is required though On Mar 17, 2013 6:31 AM, Jamie Johnson jej2...@gmail.com wrote: Definitely interesting. I had gotten this working but I was only

Re: Configuring proxy_wstunnel_module on trunk

2013-03-17 Thread Jamie Johnson
/WebSockets I will try with a similar setup to yours now and see where I get. On Sun, Mar 17, 2013 at 9:19 AM, Jamie Johnson jej2...@gmail.com wrote: Hmmm... I am only serving one html file in my test...I will add some more and see if I notice the same On Mar 17, 2013 8:57 AM, Nathan

Re: Configuring proxy_wstunnel_module on trunk

2013-03-17 Thread Jamie Johnson
? On Sun, Mar 17, 2013 at 9:43 AM, Jamie Johnson jej2...@gmail.com wrote: So your setup is a little different than mine, I have the following and even with images it works ProxyPass /ws ws://10.0.1.11:8080/WebSockets/ws ProxyPassReverse /ws ws://10.0.1.11:8080/WebSockets/ws ProxyPass /test http

Re: mod_proxy_websocket/tunnel

2013-03-17 Thread Jamie Johnson
and then ./configure required 4) Run, find out that a function was undefined. 5) Searched for the missing function and then proceed to diff merge the changes from trunk into 2.4.4 6) Just copied over mod_proxy_httpd.c as the changes were numerous 7) build and done. On 2013-03-17, at 6:25 AM, Jamie

Re: mod_proxy_websocket/tunnel

2013-03-17 Thread Jamie Johnson
I was able to get this working locally as well, thanks for the steps. On Sun, Mar 17, 2013 at 9:57 AM, Jamie Johnson jej2...@gmail.com wrote: thanks I'll give this a try. Is there any chance of getting this officially ported back to 2.4? I think there are a lot of folks that would

Configuring proxy_wstunnel_module on trunk

2013-03-16 Thread Jamie Johnson
I've just built the latest code on trunk to test proxy_wstunnel, but haven't seen any documentation on how to configure it. Is this available anywhere?

Re: Configuring proxy_wstunnel_module on trunk

2013-03-16 Thread Jamie Johnson
a try to see if things work properly with that. If what I did above is not right any info would be appreciated. Also should I expect the SSL support to work? On Sat, Mar 16, 2013 at 12:21 PM, Jamie Johnson jej2...@gmail.com wrote: I've just built the latest code on trunk to test