OK, thank you Emilio.
On Fri, Aug 12, 2016 at 4:06 AM, Emilio Campos <
emilio.campos.mar...@gmail.com> wrote:
> In order to solve this problem:
>
>
> - The problem is that my application get wrong original scheme and
> redirecting to another Tomcat Server without same sessions original. It's
> work if I add some filter for handler this.
>
> You have to enable persistence session, if you are working with tomcat try
> to enable Persistence Sesion through Cookie with JSESSIONID as identifier.
>
>
>
> Regards!
>
> 2016-08-11 22:40 GMT+02:00 Rafael Alves <rafaeldo...@gmail.com>:
>
>> Sorry Emilio,
>> It isn't clear for me, or what I did didn't work
>>
>>
>> *Current configuration*
>>
>> - HTTPS Farm follow to HTTPS Tomcats
>> - HTTP Farm follow to HTTP Tomcat
>> - Don't work to request HTTPS by http/1.0 protocol
>>
>> [image: Inline image 1]
>>
>>
>> *Modified configuration (your suggestion applied)*
>>
>> - HTTPS Farm with enable rewrite location
>> - HTTP redirect to https url
>> - Don't work to request HTTPS by http/1.0 protocol
>> - How may I check if redirect is working?
>>
>> [image: Inline image 3]
>>
>> *"Working" configuration*
>>
>> - HTTPS Farm follow to HTTP Tomcat
>> - HTTP Farm follow to HTTP Tomcat
>> - Work to request HTTPS and HTTP by http/1.0 protocol
>> - The problem is that my application get wrong original scheme and
>> redirecting to another Tomcat Server without same sessions original. It's
>> work if I add some filter for handler this.
>>
>>
>> [image: Inline image 4]
>>
>>
>>
>>
>> Error:
>>
>> [image: Inline image 5]
>>
>>
>> On Thu, Aug 11, 2016 at 5:20 AM, Emilio Campos <
>> emilio.campos.mar...@gmail.com> wrote:
>>
>>> Rafael.
>>>
>>> There is not workaroung, you can make the same configuration in two
>>> different ways:
>>>
>>> L4xNAT farm: Zen doesn't inspect packages and forward them to backup
>>> servers in raw mode.
>>> HTTP / HTTPS farm: Zen works as a reverse proxy and inspects packages,
>>> in order to solve the issue you are experiencing with https redirect you
>>> could:
>>> 1 Configure Rewrite Location = enable in the HTTPS farm.
>>>
>>> If it is not enough then
>>>
>>> 2. Configure a new farm in HTTP (port 80) with only one service,
>>> configure in the Redirect field the value as follows:
>>>
>>> https://<url> *note without backslash at the end. note that you
>>> mentioned <url> it could be called <virtualhost>, so the correct
>>> configuration could be:
>>>
>>> https://<yourvirtualhost> *without backslash at the end.
>>>
>>> With this configuration Any request that the load balancer recives in
>>> HTTP protocol will be redirected to the same URL with HTTPS protocol.
>>>
>>> Regards!
>>>
>>>
>>>
>>>
>>> 2016-08-11 2:29 GMT+02:00 Rafael Alves <rafaeldo...@gmail.com>:
>>>
>>>> Thanks Emilio.
>>>>
>>>> Is there some workaround than L4xNAT, or should I use *CLIENT <-->
>>>> HTTPS <--> ZEN <--> HTTP <--> TOMCAT* configuration?
>>>>
>>>> When I apply this configuration I got some problem, for example to
>>>> access https://<url>?wsdl the address location generated in wsdl is
>>>> *http://<url>?wsdl
>>>> *instead of *https://<url>?wsdl*
>>>>
>>>> On Wed, Aug 10, 2016 at 6:33 PM, Emilio Campos <
>>>> emilio.campos.mar...@gmail.com> wrote:
>>>>
>>>>> What kind of farm are you working with? If you need a complete
>>>>> connection in ssl then try with a l4xnat profile
>>>>>
>>>>> Https profile only supports HTTPS 1.1
>>>>>
>>>>> Regards
>>>>>
>>>>> Sent from mobile
>>>>>
>>>>> El 10 ago. 2016 11:01 p. m., "Rafael Alves" <rafaeldo...@gmail.com>
>>>>> escribió:
>>>>>
>>>>>> I have the follow configuration:
>>>>>>
>>>>>> CLIENT <--> HTTPS <--> ZEN <--> HTTPS <--> TOMCAT
>>>>>>
>>>>>>
>>>>>> When the clients making HTTPS requests by HTTP/1.0 protocol the
>>>>>> response have few more bytes, and how this case are SOAP calls the parser
>>>>>> throw a error.
>>>>>>
>>>>>> Using by HTTP/1.1 protocol all works fine, and by passing ZEN works
>>>>>> fine too with both 1.0 and 1.1 protocol.
>>>>>>
>>>>>> Did someone have a problema like mine?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Follow requests and responses:
>>>>>>
>>>>>> RESPONSE: https://sc-cdn.scaleengine.net/i/51fd13fdd6319e1a2
>>>>>> ae3c3bea08ac4a9.png
>>>>>> REQUEST: https://sc-cdn.scaleengine.net/i/f51325ed0227b53443
>>>>>> fe95565c2bcbc8.png
>>>>>>
>>>>>> ------------------------------------------------------------
>>>>>> ------------------
>>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>>>> traffic
>>>>>> patterns at an interface-level. Reveals which users, apps, and
>>>>>> protocols are
>>>>>> consuming the most bandwidth. Provides multi-vendor support for
>>>>>> NetFlow,
>>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>>>> planning reports. http://sdm.link/zohodev2dev
>>>>>> _______________________________________________
>>>>>> Zenloadbalancer-support mailing list
>>>>>> Zenloadbalancer-support@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>>> traffic
>>>>> patterns at an interface-level. Reveals which users, apps, and
>>>>> protocols are
>>>>> consuming the most bandwidth. Provides multi-vendor support for
>>>>> NetFlow,
>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>>> planning reports. http://sdm.link/zohodev2dev
>>>>> _______________________________________________
>>>>> Zenloadbalancer-support mailing list
>>>>> Zenloadbalancer-support@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>>> traffic
>>>> patterns at an interface-level. Reveals which users, apps, and
>>>> protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>>> planning reports. http://sdm.link/zohodev2dev
>>>> _______________________________________________
>>>> Zenloadbalancer-support mailing list
>>>> Zenloadbalancer-support@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>>>
>>>>
>>>
>>>
>>> --
>>> Load balancer distribution - Open Source Project
>>> http://www.zenloadbalancer.com
>>> Distribution list (subscribe): zenloadbalancer-support@lists.
>>> sourceforge.net
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>>> traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols
>>> are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>>> planning reports. http://sdm.link/zohodev2dev
>>> _______________________________________________
>>> Zenloadbalancer-support mailing list
>>> Zenloadbalancer-support@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>>
>>>
>>
>> ------------------------------------------------------------
>> ------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. http://sdm.link/zohodev2dev
>> _______________________________________________
>> Zenloadbalancer-support mailing list
>> Zenloadbalancer-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>>
>
>
> --
> Load balancer distribution - Open Source Project
> http://www.zenloadbalancer.com
> Distribution list (subscribe): zenloadbalancer-support@lists.
> sourceforge.net
>
> ------------------------------------------------------------
> ------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. http://sdm.link/zohodev2dev
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support