Re: Meecrowave Proxy

2019-12-20 Thread Daniel Cunha
Hi Romain,

Ok, good catch! But my issue here was releated with the SQUID/ProxyHTTP of
the company.
They needed to allow the URL which I was trying calling. :P

Anyway, thank you man! :)

Em sex., 20 de dez. de 2019 às 13:46, Romain Manni-Bucau <
rmannibu...@gmail.com> escreveu:

> Hi Daniel,
>
> It is a NPE in cookies without domain, will be fixed for next release
>
>
> Romain Manni-Bucau
> @rmannibucau  |  Blog
>  | Old Blog
>  | Github <
> https://github.com/rmannibucau> |
> LinkedIn  | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le ven. 20 déc. 2019 à 17:20, Daniel Cunha  a
> écrit :
>
> > Hi folks,
> >
> > I'm trying configure a proxy with meecrowave, I can see the test working
> > fine:
> >
> >
> https://github.com/apache/openwebbeans-meecrowave/blob/master/meecrowave-proxy/src/test/java/org/apache/meecrowave/proxy/servlet/ProxyServletTest.java
> >
> > I'm try creating a route like:
> >
> > {
> >   "id": "example-route",
> >   "requestConfiguration": {
> > "method": "GET",
> > "prefix": "/"
> >   },
> >   "responseConfiguration": {
> > "target": "http://example.com/";
> >   }
> > }
> >
> > It is not working. Something wrong in my configuration?
> > I'm getting always timeout for it, but I'm using the default values for
> > timeouts.
> >
> > --
> > Daniel "soro" Cunha
> > https://twitter.com/dvlc_
> >
>


-- 
Daniel "soro" Cunha
https://twitter.com/dvlc_


[jira] [Resolved] (MEECROWAVE-228) Proxy fails when cookies don't set the domain

2019-12-20 Thread Romain Manni-Bucau (Jira)


 [ 
https://issues.apache.org/jira/browse/MEECROWAVE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Manni-Bucau resolved MEECROWAVE-228.
---
Resolution: Fixed

> Proxy fails when cookies don't set the domain
> -
>
> Key: MEECROWAVE-228
> URL: https://issues.apache.org/jira/browse/MEECROWAVE-228
> Project: Meecrowave
>  Issue Type: Bug
>Reporter: Romain Manni-Bucau
>Assignee: Romain Manni-Bucau
>Priority: Major
> Fix For: 1.2.10
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (MEECROWAVE-228) Proxy fails when cookies don't set the domain

2019-12-20 Thread Romain Manni-Bucau (Jira)
Romain Manni-Bucau created MEECROWAVE-228:
-

 Summary: Proxy fails when cookies don't set the domain
 Key: MEECROWAVE-228
 URL: https://issues.apache.org/jira/browse/MEECROWAVE-228
 Project: Meecrowave
  Issue Type: Bug
Reporter: Romain Manni-Bucau
Assignee: Romain Manni-Bucau
 Fix For: 1.2.10






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Meecrowave Proxy

2019-12-20 Thread Romain Manni-Bucau
Hi Daniel,

It is a NPE in cookies without domain, will be fixed for next release


Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le ven. 20 déc. 2019 à 17:20, Daniel Cunha  a écrit :

> Hi folks,
>
> I'm trying configure a proxy with meecrowave, I can see the test working
> fine:
>
> https://github.com/apache/openwebbeans-meecrowave/blob/master/meecrowave-proxy/src/test/java/org/apache/meecrowave/proxy/servlet/ProxyServletTest.java
>
> I'm try creating a route like:
>
> {
>   "id": "example-route",
>   "requestConfiguration": {
> "method": "GET",
> "prefix": "/"
>   },
>   "responseConfiguration": {
> "target": "http://example.com/";
>   }
> }
>
> It is not working. Something wrong in my configuration?
> I'm getting always timeout for it, but I'm using the default values for
> timeouts.
>
> --
> Daniel "soro" Cunha
> https://twitter.com/dvlc_
>


Meecrowave Proxy

2019-12-20 Thread Daniel Cunha
Hi folks,

I'm trying configure a proxy with meecrowave, I can see the test working
fine:
https://github.com/apache/openwebbeans-meecrowave/blob/master/meecrowave-proxy/src/test/java/org/apache/meecrowave/proxy/servlet/ProxyServletTest.java

I'm try creating a route like:

{
  "id": "example-route",
  "requestConfiguration": {
"method": "GET",
"prefix": "/"
  },
  "responseConfiguration": {
"target": "http://example.com/";
  }
}

It is not working. Something wrong in my configuration?
I'm getting always timeout for it, but I'm using the default values for
timeouts.

-- 
Daniel "soro" Cunha
https://twitter.com/dvlc_