Re: [Dev] [AppM] [GW] Message body of the response getting dropped in tenant mode

2016-06-18 Thread Dinusha Senanayaka
Thanks Nuwan/Buddhima. We ll continue with synapse-2.1.7.wso2v3-ALPHA until
the release happens.

Regards,
Dinusha.

On Sun, Jun 19, 2016 at 12:11 PM, Buddhima Wijeweera 
wrote:

> Hi Nuwan,
> We expect to release at the end of this month.
> Thanks
>
> - sent via my phone
> On Jun 19, 2016 12:09 PM, "Nuwan Wimalasekara"  wrote:
>
>> Hi Dinusha,
>>
>> Yes. This issue[1] has been reported earlier and It is fixed
>> in  synapse-2.1.7.wso2v3-ALPHA.
>>
>> @Buddhima,
>> Have we confirmed the release date of synapse-2.1.7.wso2v3
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-4512
>>
>> Thanks
>> Nuwanw
>>
>> On Sun, Jun 19, 2016 at 11:02 AM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi All,
>>>
>>> Issue seems to be with synapse-2.1.7.wso2v2. Updating
>>> to synapse-2.1.7.wso2v3-ALPHA dependencies solves the issue.
>>>
>>> @ESB team: can you confirm when is the 2.1.7.wso2v3 getting released ?
>>> Could see only BETA in the public repo.
>>>
>>> Regards,
>>> Dinusha.
>>>
>>> On Sun, Jun 19, 2016 at 9:11 AM, Rushmin Fernando 
>>> wrote:
>>>
 And even in the tenant mode, everything works fine for POST.

 On Sat, Jun 18, 2016 at 3:58 PM, Dinusha Senanayaka 
 wrote:

> Hi ESB team,
>
> We are using synapse-2.1.7.wso2v2 dependencies and noticed that
> message body of the response getting dropped in tenant mode. We deployed
> two APIs in super-tenant mode and tenant mode without any of our handlers
> and observed the same behaviour. Refer following wire logs.
>
> Appreciate any clue on this to get it resolved.
>
>
> Tenant (Incorrect behaviour)
> --
> [2016-06-18 15:37:04,129] DEBUG - wire >> "GET /t/you.com/app2/1.0.0/
> HTTP/1.1[\r][\n]"
> [2016-06-18 15:37:04,130] DEBUG - wire >> "Host: 10.216.86.47:8280
> [\r][\n]"
> [2016-06-18 15:37:04,130] DEBUG - wire >> "User-Agent:
> curl/7.43.0[\r][\n]"
> [2016-06-18 15:37:04,130] DEBUG - wire >> "Accept: */*[\r][\n]"
> [2016-06-18 15:37:04,131] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:37:04,342] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
> [2016-06-18 15:37:04,343] DEBUG - wire << "Accept: */*[\r][\n]"
> [2016-06-18 15:37:04,343] DEBUG - wire << "Host:
> localhost:9763[\r][\n]"
> [2016-06-18 15:37:04,344] DEBUG - wire << "Connection:
> Keep-Alive[\r][\n]"
> [2016-06-18 15:37:04,344] DEBUG - wire << "User-Agent:
> Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2016-06-18 15:37:04,344] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:37:04,345] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15:37:04,345] DEBUG - wire >> "Content-Type:
> text/html[\r][\n]"
> [2016-06-18 15:37:04,346] DEBUG - wire >> "Content-Length: 193[\r][\n]"
> [2016-06-18 15:37:04,346] DEBUG - wire >> "Date: Sat, 18 Jun 2016
> 10:07:04 GMT[\r][\n]"
> [2016-06-18 15:37:04,347] DEBUG - wire >> "Server: WSO2 Carbon
> Server[\r][\n]"
> [2016-06-18 15:37:04,347] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:37:04,348] DEBUG - wire >> " action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
> [2016-06-18 15:37:04,348] DEBUG - wire >> "   name="myfile">[\n]"
> [2016-06-18 15:37:04,348] DEBUG - wire >> "   name="submit" value="Submit">[\n]"
> [2016-06-18 15:37:04,349] DEBUG - wire >> ""
> [2016-06-18 15:37:04,360] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15:37:04,361] DEBUG - wire << "Content-Type:
> text/html[\r][\n]"
> [2016-06-18 15:37:04,362] DEBUG - wire << "Date: Sat, 18 Jun 2016
> 10:07:04 GMT[\r][\n]"
> [2016-06-18 15:37:04,362] DEBUG - wire << "Transfer-Encoding:
> chunked[\r][\n]"
> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:37:04,363] DEBUG - wire << "0[\r][\n]"
> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
>
>
>
> Super-Tenant (Correct behaviour)
> -
> [2016-06-18 15:46:33,073] DEBUG - wire >> "GET /App10/1.0.0/
> HTTP/1.1[\r][\n]"
> [2016-06-18 15:46:33,074] DEBUG - wire >> "Host: 10.216.86.47:8280
> [\r][\n]"
> [2016-06-18 15:46:33,074] DEBUG - wire >> "User-Agent:
> curl/7.43.0[\r][\n]"
> [2016-06-18 15:46:33,075] DEBUG - wire >> "Accept: */*[\r][\n]"
> [2016-06-18 15:46:33,075] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:46:33,303] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
> [2016-06-18 15:46:33,304] DEBUG - wire << "Accept: */*[\r][\n]"
> [2016-06-18 15:46:33,304] DEBUG - wire << "Host:
> localhost:9763[\r][\n]"
> [2016-06-18 15:46:33,305] DEBUG - wire << "Connection:
> Keep-Alive[\r][\n]"
> [2016-06-18 15:46:33,305] DEBUG - wire << "User-Agent:
> Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2016-06-18 15:46:33,306] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:46:33,307] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15

Re: [Dev] [AppM] [GW] Message body of the response getting dropped in tenant mode

2016-06-18 Thread Buddhima Wijeweera
Hi Nuwan,
We expect to release at the end of this month.
Thanks

- sent via my phone
On Jun 19, 2016 12:09 PM, "Nuwan Wimalasekara"  wrote:

> Hi Dinusha,
>
> Yes. This issue[1] has been reported earlier and It is fixed
> in  synapse-2.1.7.wso2v3-ALPHA.
>
> @Buddhima,
> Have we confirmed the release date of synapse-2.1.7.wso2v3
>
> [1] https://wso2.org/jira/browse/ESBJAVA-4512
>
> Thanks
> Nuwanw
>
> On Sun, Jun 19, 2016 at 11:02 AM, Dinusha Senanayaka 
> wrote:
>
>> Hi All,
>>
>> Issue seems to be with synapse-2.1.7.wso2v2. Updating
>> to synapse-2.1.7.wso2v3-ALPHA dependencies solves the issue.
>>
>> @ESB team: can you confirm when is the 2.1.7.wso2v3 getting released ?
>> Could see only BETA in the public repo.
>>
>> Regards,
>> Dinusha.
>>
>> On Sun, Jun 19, 2016 at 9:11 AM, Rushmin Fernando 
>> wrote:
>>
>>> And even in the tenant mode, everything works fine for POST.
>>>
>>> On Sat, Jun 18, 2016 at 3:58 PM, Dinusha Senanayaka 
>>> wrote:
>>>
 Hi ESB team,

 We are using synapse-2.1.7.wso2v2 dependencies and noticed that message
 body of the response getting dropped in tenant mode. We deployed two APIs
 in super-tenant mode and tenant mode without any of our handlers and
 observed the same behaviour. Refer following wire logs.

 Appreciate any clue on this to get it resolved.


 Tenant (Incorrect behaviour)
 --
 [2016-06-18 15:37:04,129] DEBUG - wire >> "GET /t/you.com/app2/1.0.0/
 HTTP/1.1[\r][\n]"
 [2016-06-18 15:37:04,130] DEBUG - wire >> "Host: 10.216.86.47:8280
 [\r][\n]"
 [2016-06-18 15:37:04,130] DEBUG - wire >> "User-Agent:
 curl/7.43.0[\r][\n]"
 [2016-06-18 15:37:04,130] DEBUG - wire >> "Accept: */*[\r][\n]"
 [2016-06-18 15:37:04,131] DEBUG - wire >> "[\r][\n]"
 [2016-06-18 15:37:04,342] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
 [2016-06-18 15:37:04,343] DEBUG - wire << "Accept: */*[\r][\n]"
 [2016-06-18 15:37:04,343] DEBUG - wire << "Host: localhost:9763[\r][\n]"
 [2016-06-18 15:37:04,344] DEBUG - wire << "Connection:
 Keep-Alive[\r][\n]"
 [2016-06-18 15:37:04,344] DEBUG - wire << "User-Agent:
 Synapse-PT-HttpComponents-NIO[\r][\n]"
 [2016-06-18 15:37:04,344] DEBUG - wire << "[\r][\n]"
 [2016-06-18 15:37:04,345] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
 [2016-06-18 15:37:04,345] DEBUG - wire >> "Content-Type:
 text/html[\r][\n]"
 [2016-06-18 15:37:04,346] DEBUG - wire >> "Content-Length: 193[\r][\n]"
 [2016-06-18 15:37:04,346] DEBUG - wire >> "Date: Sat, 18 Jun 2016
 10:07:04 GMT[\r][\n]"
 [2016-06-18 15:37:04,347] DEBUG - wire >> "Server: WSO2 Carbon
 Server[\r][\n]"
 [2016-06-18 15:37:04,347] DEBUG - wire >> "[\r][\n]"
 [2016-06-18 15:37:04,348] DEBUG - wire >> ">>> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
 [2016-06-18 15:37:04,348] DEBUG - wire >> "  >>> name="myfile">[\n]"
 [2016-06-18 15:37:04,348] DEBUG - wire >> "  >>> name="submit" value="Submit">[\n]"
 [2016-06-18 15:37:04,349] DEBUG - wire >> ""
 [2016-06-18 15:37:04,360] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
 [2016-06-18 15:37:04,361] DEBUG - wire << "Content-Type:
 text/html[\r][\n]"
 [2016-06-18 15:37:04,362] DEBUG - wire << "Date: Sat, 18 Jun 2016
 10:07:04 GMT[\r][\n]"
 [2016-06-18 15:37:04,362] DEBUG - wire << "Transfer-Encoding:
 chunked[\r][\n]"
 [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
 [2016-06-18 15:37:04,363] DEBUG - wire << "0[\r][\n]"
 [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"



 Super-Tenant (Correct behaviour)
 -
 [2016-06-18 15:46:33,073] DEBUG - wire >> "GET /App10/1.0.0/
 HTTP/1.1[\r][\n]"
 [2016-06-18 15:46:33,074] DEBUG - wire >> "Host: 10.216.86.47:8280
 [\r][\n]"
 [2016-06-18 15:46:33,074] DEBUG - wire >> "User-Agent:
 curl/7.43.0[\r][\n]"
 [2016-06-18 15:46:33,075] DEBUG - wire >> "Accept: */*[\r][\n]"
 [2016-06-18 15:46:33,075] DEBUG - wire >> "[\r][\n]"
 [2016-06-18 15:46:33,303] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
 [2016-06-18 15:46:33,304] DEBUG - wire << "Accept: */*[\r][\n]"
 [2016-06-18 15:46:33,304] DEBUG - wire << "Host: localhost:9763[\r][\n]"
 [2016-06-18 15:46:33,305] DEBUG - wire << "Connection:
 Keep-Alive[\r][\n]"
 [2016-06-18 15:46:33,305] DEBUG - wire << "User-Agent:
 Synapse-PT-HttpComponents-NIO[\r][\n]"
 [2016-06-18 15:46:33,306] DEBUG - wire << "[\r][\n]"
 [2016-06-18 15:46:33,307] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
 [2016-06-18 15:46:33,307] DEBUG - wire >> "Content-Type:
 text/html[\r][\n]"
 [2016-06-18 15:46:33,308] DEBUG - wire >> "Content-Length: 193[\r][\n]"
 [2016-06-18 15:46:33,308] DEBUG - wire >> "Date: Sat, 18 Jun 2016
 10:16:33 GMT[\r][\n]"
 [2016-06-18 15:46:33,309] DEBUG - wire >> "Server: WSO2 Carbon
 

Re: [Dev] [AppM] [GW] Message body of the response getting dropped in tenant mode

2016-06-18 Thread Nuwan Wimalasekara
Hi Dinusha,

Yes. This issue[1] has been reported earlier and It is fixed
in  synapse-2.1.7.wso2v3-ALPHA.

@Buddhima,
Have we confirmed the release date of synapse-2.1.7.wso2v3

[1] https://wso2.org/jira/browse/ESBJAVA-4512

Thanks
Nuwanw

On Sun, Jun 19, 2016 at 11:02 AM, Dinusha Senanayaka 
wrote:

> Hi All,
>
> Issue seems to be with synapse-2.1.7.wso2v2. Updating
> to synapse-2.1.7.wso2v3-ALPHA dependencies solves the issue.
>
> @ESB team: can you confirm when is the 2.1.7.wso2v3 getting released ?
> Could see only BETA in the public repo.
>
> Regards,
> Dinusha.
>
> On Sun, Jun 19, 2016 at 9:11 AM, Rushmin Fernando 
> wrote:
>
>> And even in the tenant mode, everything works fine for POST.
>>
>> On Sat, Jun 18, 2016 at 3:58 PM, Dinusha Senanayaka 
>> wrote:
>>
>>> Hi ESB team,
>>>
>>> We are using synapse-2.1.7.wso2v2 dependencies and noticed that message
>>> body of the response getting dropped in tenant mode. We deployed two APIs
>>> in super-tenant mode and tenant mode without any of our handlers and
>>> observed the same behaviour. Refer following wire logs.
>>>
>>> Appreciate any clue on this to get it resolved.
>>>
>>>
>>> Tenant (Incorrect behaviour)
>>> --
>>> [2016-06-18 15:37:04,129] DEBUG - wire >> "GET /t/you.com/app2/1.0.0/
>>> HTTP/1.1[\r][\n]"
>>> [2016-06-18 15:37:04,130] DEBUG - wire >> "Host: 10.216.86.47:8280
>>> [\r][\n]"
>>> [2016-06-18 15:37:04,130] DEBUG - wire >> "User-Agent:
>>> curl/7.43.0[\r][\n]"
>>> [2016-06-18 15:37:04,130] DEBUG - wire >> "Accept: */*[\r][\n]"
>>> [2016-06-18 15:37:04,131] DEBUG - wire >> "[\r][\n]"
>>> [2016-06-18 15:37:04,342] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
>>> [2016-06-18 15:37:04,343] DEBUG - wire << "Accept: */*[\r][\n]"
>>> [2016-06-18 15:37:04,343] DEBUG - wire << "Host: localhost:9763[\r][\n]"
>>> [2016-06-18 15:37:04,344] DEBUG - wire << "Connection:
>>> Keep-Alive[\r][\n]"
>>> [2016-06-18 15:37:04,344] DEBUG - wire << "User-Agent:
>>> Synapse-PT-HttpComponents-NIO[\r][\n]"
>>> [2016-06-18 15:37:04,344] DEBUG - wire << "[\r][\n]"
>>> [2016-06-18 15:37:04,345] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
>>> [2016-06-18 15:37:04,345] DEBUG - wire >> "Content-Type:
>>> text/html[\r][\n]"
>>> [2016-06-18 15:37:04,346] DEBUG - wire >> "Content-Length: 193[\r][\n]"
>>> [2016-06-18 15:37:04,346] DEBUG - wire >> "Date: Sat, 18 Jun 2016
>>> 10:07:04 GMT[\r][\n]"
>>> [2016-06-18 15:37:04,347] DEBUG - wire >> "Server: WSO2 Carbon
>>> Server[\r][\n]"
>>> [2016-06-18 15:37:04,347] DEBUG - wire >> "[\r][\n]"
>>> [2016-06-18 15:37:04,348] DEBUG - wire >> ">> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>>> [2016-06-18 15:37:04,348] DEBUG - wire >> "  >> name="myfile">[\n]"
>>> [2016-06-18 15:37:04,348] DEBUG - wire >> "  >> name="submit" value="Submit">[\n]"
>>> [2016-06-18 15:37:04,349] DEBUG - wire >> ""
>>> [2016-06-18 15:37:04,360] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
>>> [2016-06-18 15:37:04,361] DEBUG - wire << "Content-Type:
>>> text/html[\r][\n]"
>>> [2016-06-18 15:37:04,362] DEBUG - wire << "Date: Sat, 18 Jun 2016
>>> 10:07:04 GMT[\r][\n]"
>>> [2016-06-18 15:37:04,362] DEBUG - wire << "Transfer-Encoding:
>>> chunked[\r][\n]"
>>> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
>>> [2016-06-18 15:37:04,363] DEBUG - wire << "0[\r][\n]"
>>> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
>>>
>>>
>>>
>>> Super-Tenant (Correct behaviour)
>>> -
>>> [2016-06-18 15:46:33,073] DEBUG - wire >> "GET /App10/1.0.0/
>>> HTTP/1.1[\r][\n]"
>>> [2016-06-18 15:46:33,074] DEBUG - wire >> "Host: 10.216.86.47:8280
>>> [\r][\n]"
>>> [2016-06-18 15:46:33,074] DEBUG - wire >> "User-Agent:
>>> curl/7.43.0[\r][\n]"
>>> [2016-06-18 15:46:33,075] DEBUG - wire >> "Accept: */*[\r][\n]"
>>> [2016-06-18 15:46:33,075] DEBUG - wire >> "[\r][\n]"
>>> [2016-06-18 15:46:33,303] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
>>> [2016-06-18 15:46:33,304] DEBUG - wire << "Accept: */*[\r][\n]"
>>> [2016-06-18 15:46:33,304] DEBUG - wire << "Host: localhost:9763[\r][\n]"
>>> [2016-06-18 15:46:33,305] DEBUG - wire << "Connection:
>>> Keep-Alive[\r][\n]"
>>> [2016-06-18 15:46:33,305] DEBUG - wire << "User-Agent:
>>> Synapse-PT-HttpComponents-NIO[\r][\n]"
>>> [2016-06-18 15:46:33,306] DEBUG - wire << "[\r][\n]"
>>> [2016-06-18 15:46:33,307] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
>>> [2016-06-18 15:46:33,307] DEBUG - wire >> "Content-Type:
>>> text/html[\r][\n]"
>>> [2016-06-18 15:46:33,308] DEBUG - wire >> "Content-Length: 193[\r][\n]"
>>> [2016-06-18 15:46:33,308] DEBUG - wire >> "Date: Sat, 18 Jun 2016
>>> 10:16:33 GMT[\r][\n]"
>>> [2016-06-18 15:46:33,309] DEBUG - wire >> "Server: WSO2 Carbon
>>> Server[\r][\n]"
>>> [2016-06-18 15:46:33,309] DEBUG - wire >> "[\r][\n]"
>>> [2016-06-18 15:46:33,310] DEBUG - wire >> ">> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>>> [2016-06-18 15:46:33,310] DEBUG - wire >> "  >> name="myfile">[\n]"
>>> 

Re: [Dev] [AppM] [GW] Message body of the response getting dropped in tenant mode

2016-06-18 Thread Dinusha Senanayaka
Hi All,

Issue seems to be with synapse-2.1.7.wso2v2. Updating
to synapse-2.1.7.wso2v3-ALPHA dependencies solves the issue.

@ESB team: can you confirm when is the 2.1.7.wso2v3 getting released ?
Could see only BETA in the public repo.

Regards,
Dinusha.

On Sun, Jun 19, 2016 at 9:11 AM, Rushmin Fernando  wrote:

> And even in the tenant mode, everything works fine for POST.
>
> On Sat, Jun 18, 2016 at 3:58 PM, Dinusha Senanayaka 
> wrote:
>
>> Hi ESB team,
>>
>> We are using synapse-2.1.7.wso2v2 dependencies and noticed that message
>> body of the response getting dropped in tenant mode. We deployed two APIs
>> in super-tenant mode and tenant mode without any of our handlers and
>> observed the same behaviour. Refer following wire logs.
>>
>> Appreciate any clue on this to get it resolved.
>>
>>
>> Tenant (Incorrect behaviour)
>> --
>> [2016-06-18 15:37:04,129] DEBUG - wire >> "GET /t/you.com/app2/1.0.0/
>> HTTP/1.1[\r][\n]"
>> [2016-06-18 15:37:04,130] DEBUG - wire >> "Host: 10.216.86.47:8280
>> [\r][\n]"
>> [2016-06-18 15:37:04,130] DEBUG - wire >> "User-Agent:
>> curl/7.43.0[\r][\n]"
>> [2016-06-18 15:37:04,130] DEBUG - wire >> "Accept: */*[\r][\n]"
>> [2016-06-18 15:37:04,131] DEBUG - wire >> "[\r][\n]"
>> [2016-06-18 15:37:04,342] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
>> [2016-06-18 15:37:04,343] DEBUG - wire << "Accept: */*[\r][\n]"
>> [2016-06-18 15:37:04,343] DEBUG - wire << "Host: localhost:9763[\r][\n]"
>> [2016-06-18 15:37:04,344] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
>> [2016-06-18 15:37:04,344] DEBUG - wire << "User-Agent:
>> Synapse-PT-HttpComponents-NIO[\r][\n]"
>> [2016-06-18 15:37:04,344] DEBUG - wire << "[\r][\n]"
>> [2016-06-18 15:37:04,345] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
>> [2016-06-18 15:37:04,345] DEBUG - wire >> "Content-Type:
>> text/html[\r][\n]"
>> [2016-06-18 15:37:04,346] DEBUG - wire >> "Content-Length: 193[\r][\n]"
>> [2016-06-18 15:37:04,346] DEBUG - wire >> "Date: Sat, 18 Jun 2016
>> 10:07:04 GMT[\r][\n]"
>> [2016-06-18 15:37:04,347] DEBUG - wire >> "Server: WSO2 Carbon
>> Server[\r][\n]"
>> [2016-06-18 15:37:04,347] DEBUG - wire >> "[\r][\n]"
>> [2016-06-18 15:37:04,348] DEBUG - wire >> "> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>> [2016-06-18 15:37:04,348] DEBUG - wire >> "  > name="myfile">[\n]"
>> [2016-06-18 15:37:04,348] DEBUG - wire >> "  > name="submit" value="Submit">[\n]"
>> [2016-06-18 15:37:04,349] DEBUG - wire >> ""
>> [2016-06-18 15:37:04,360] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
>> [2016-06-18 15:37:04,361] DEBUG - wire << "Content-Type:
>> text/html[\r][\n]"
>> [2016-06-18 15:37:04,362] DEBUG - wire << "Date: Sat, 18 Jun 2016
>> 10:07:04 GMT[\r][\n]"
>> [2016-06-18 15:37:04,362] DEBUG - wire << "Transfer-Encoding:
>> chunked[\r][\n]"
>> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
>> [2016-06-18 15:37:04,363] DEBUG - wire << "0[\r][\n]"
>> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
>>
>>
>>
>> Super-Tenant (Correct behaviour)
>> -
>> [2016-06-18 15:46:33,073] DEBUG - wire >> "GET /App10/1.0.0/
>> HTTP/1.1[\r][\n]"
>> [2016-06-18 15:46:33,074] DEBUG - wire >> "Host: 10.216.86.47:8280
>> [\r][\n]"
>> [2016-06-18 15:46:33,074] DEBUG - wire >> "User-Agent:
>> curl/7.43.0[\r][\n]"
>> [2016-06-18 15:46:33,075] DEBUG - wire >> "Accept: */*[\r][\n]"
>> [2016-06-18 15:46:33,075] DEBUG - wire >> "[\r][\n]"
>> [2016-06-18 15:46:33,303] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
>> [2016-06-18 15:46:33,304] DEBUG - wire << "Accept: */*[\r][\n]"
>> [2016-06-18 15:46:33,304] DEBUG - wire << "Host: localhost:9763[\r][\n]"
>> [2016-06-18 15:46:33,305] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
>> [2016-06-18 15:46:33,305] DEBUG - wire << "User-Agent:
>> Synapse-PT-HttpComponents-NIO[\r][\n]"
>> [2016-06-18 15:46:33,306] DEBUG - wire << "[\r][\n]"
>> [2016-06-18 15:46:33,307] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
>> [2016-06-18 15:46:33,307] DEBUG - wire >> "Content-Type:
>> text/html[\r][\n]"
>> [2016-06-18 15:46:33,308] DEBUG - wire >> "Content-Length: 193[\r][\n]"
>> [2016-06-18 15:46:33,308] DEBUG - wire >> "Date: Sat, 18 Jun 2016
>> 10:16:33 GMT[\r][\n]"
>> [2016-06-18 15:46:33,309] DEBUG - wire >> "Server: WSO2 Carbon
>> Server[\r][\n]"
>> [2016-06-18 15:46:33,309] DEBUG - wire >> "[\r][\n]"
>> [2016-06-18 15:46:33,310] DEBUG - wire >> "> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>> [2016-06-18 15:46:33,310] DEBUG - wire >> "  > name="myfile">[\n]"
>> [2016-06-18 15:46:33,311] DEBUG - wire >> "  > name="submit" value="Submit">[\n]"
>> [2016-06-18 15:46:33,312] DEBUG - wire >> ""
>> [2016-06-18 15:46:33,322] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
>> [2016-06-18 15:46:33,323] DEBUG - wire << "Content-Type:
>> text/html[\r][\n]"
>> [2016-06-18 15:46:33,323] DEBUG - wire << "Date: Sat, 18 Jun 2016
>> 10:16:33 GMT[\r][\n]"
>> [2016-06-18 15:46:33,324] DEBUG - wire << "Tr

Re: [Dev] [AppM] [GW] Message body of the response getting dropped in tenant mode

2016-06-18 Thread Rushmin Fernando
And even in the tenant mode, everything works fine for POST.

On Sat, Jun 18, 2016 at 3:58 PM, Dinusha Senanayaka 
wrote:

> Hi ESB team,
>
> We are using synapse-2.1.7.wso2v2 dependencies and noticed that message
> body of the response getting dropped in tenant mode. We deployed two APIs
> in super-tenant mode and tenant mode without any of our handlers and
> observed the same behaviour. Refer following wire logs.
>
> Appreciate any clue on this to get it resolved.
>
>
> Tenant (Incorrect behaviour)
> --
> [2016-06-18 15:37:04,129] DEBUG - wire >> "GET /t/you.com/app2/1.0.0/
> HTTP/1.1[\r][\n]"
> [2016-06-18 15:37:04,130] DEBUG - wire >> "Host: 10.216.86.47:8280
> [\r][\n]"
> [2016-06-18 15:37:04,130] DEBUG - wire >> "User-Agent: curl/7.43.0[\r][\n]"
> [2016-06-18 15:37:04,130] DEBUG - wire >> "Accept: */*[\r][\n]"
> [2016-06-18 15:37:04,131] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:37:04,342] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
> [2016-06-18 15:37:04,343] DEBUG - wire << "Accept: */*[\r][\n]"
> [2016-06-18 15:37:04,343] DEBUG - wire << "Host: localhost:9763[\r][\n]"
> [2016-06-18 15:37:04,344] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
> [2016-06-18 15:37:04,344] DEBUG - wire << "User-Agent:
> Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2016-06-18 15:37:04,344] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:37:04,345] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15:37:04,345] DEBUG - wire >> "Content-Type: text/html[\r][\n]"
> [2016-06-18 15:37:04,346] DEBUG - wire >> "Content-Length: 193[\r][\n]"
> [2016-06-18 15:37:04,346] DEBUG - wire >> "Date: Sat, 18 Jun 2016 10:07:04
> GMT[\r][\n]"
> [2016-06-18 15:37:04,347] DEBUG - wire >> "Server: WSO2 Carbon
> Server[\r][\n]"
> [2016-06-18 15:37:04,347] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:37:04,348] DEBUG - wire >> " action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
> [2016-06-18 15:37:04,348] DEBUG - wire >> "   name="myfile">[\n]"
> [2016-06-18 15:37:04,348] DEBUG - wire >> "   name="submit" value="Submit">[\n]"
> [2016-06-18 15:37:04,349] DEBUG - wire >> ""
> [2016-06-18 15:37:04,360] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15:37:04,361] DEBUG - wire << "Content-Type: text/html[\r][\n]"
> [2016-06-18 15:37:04,362] DEBUG - wire << "Date: Sat, 18 Jun 2016 10:07:04
> GMT[\r][\n]"
> [2016-06-18 15:37:04,362] DEBUG - wire << "Transfer-Encoding:
> chunked[\r][\n]"
> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:37:04,363] DEBUG - wire << "0[\r][\n]"
> [2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
>
>
>
> Super-Tenant (Correct behaviour)
> -
> [2016-06-18 15:46:33,073] DEBUG - wire >> "GET /App10/1.0.0/
> HTTP/1.1[\r][\n]"
> [2016-06-18 15:46:33,074] DEBUG - wire >> "Host: 10.216.86.47:8280
> [\r][\n]"
> [2016-06-18 15:46:33,074] DEBUG - wire >> "User-Agent: curl/7.43.0[\r][\n]"
> [2016-06-18 15:46:33,075] DEBUG - wire >> "Accept: */*[\r][\n]"
> [2016-06-18 15:46:33,075] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:46:33,303] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
> [2016-06-18 15:46:33,304] DEBUG - wire << "Accept: */*[\r][\n]"
> [2016-06-18 15:46:33,304] DEBUG - wire << "Host: localhost:9763[\r][\n]"
> [2016-06-18 15:46:33,305] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
> [2016-06-18 15:46:33,305] DEBUG - wire << "User-Agent:
> Synapse-PT-HttpComponents-NIO[\r][\n]"
> [2016-06-18 15:46:33,306] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:46:33,307] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15:46:33,307] DEBUG - wire >> "Content-Type: text/html[\r][\n]"
> [2016-06-18 15:46:33,308] DEBUG - wire >> "Content-Length: 193[\r][\n]"
> [2016-06-18 15:46:33,308] DEBUG - wire >> "Date: Sat, 18 Jun 2016 10:16:33
> GMT[\r][\n]"
> [2016-06-18 15:46:33,309] DEBUG - wire >> "Server: WSO2 Carbon
> Server[\r][\n]"
> [2016-06-18 15:46:33,309] DEBUG - wire >> "[\r][\n]"
> [2016-06-18 15:46:33,310] DEBUG - wire >> " action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
> [2016-06-18 15:46:33,310] DEBUG - wire >> "   name="myfile">[\n]"
> [2016-06-18 15:46:33,311] DEBUG - wire >> "   name="submit" value="Submit">[\n]"
> [2016-06-18 15:46:33,312] DEBUG - wire >> ""
> [2016-06-18 15:46:33,322] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
> [2016-06-18 15:46:33,323] DEBUG - wire << "Content-Type: text/html[\r][\n]"
> [2016-06-18 15:46:33,323] DEBUG - wire << "Date: Sat, 18 Jun 2016 10:16:33
> GMT[\r][\n]"
> [2016-06-18 15:46:33,324] DEBUG - wire << "Transfer-Encoding:
> chunked[\r][\n]"
> [2016-06-18 15:46:33,324] DEBUG - wire << "[\r][\n]"
> [2016-06-18 15:46:33,324] DEBUG - wire << "c1[\r][\n]"
> [2016-06-18 15:46:33,325] DEBUG - wire << " action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
> [2016-06-18 15:46:33,325] DEBUG - wire << "   name="myfile">[\n]"
> [2016-06-18 15:46:33,325] DEBUG - wire << "   name="submit" value="Submit">[\n]"
> [2016-06-18 1

[Dev] [AppM] [GW] Message body of the response getting dropped in tenant mode

2016-06-18 Thread Dinusha Senanayaka
Hi ESB team,

We are using synapse-2.1.7.wso2v2 dependencies and noticed that message
body of the response getting dropped in tenant mode. We deployed two APIs
in super-tenant mode and tenant mode without any of our handlers and
observed the same behaviour. Refer following wire logs.

Appreciate any clue on this to get it resolved.


Tenant (Incorrect behaviour)
--
[2016-06-18 15:37:04,129] DEBUG - wire >> "GET /t/you.com/app2/1.0.0/
HTTP/1.1[\r][\n]"
[2016-06-18 15:37:04,130] DEBUG - wire >> "Host: 10.216.86.47:8280[\r][\n]"
[2016-06-18 15:37:04,130] DEBUG - wire >> "User-Agent: curl/7.43.0[\r][\n]"
[2016-06-18 15:37:04,130] DEBUG - wire >> "Accept: */*[\r][\n]"
[2016-06-18 15:37:04,131] DEBUG - wire >> "[\r][\n]"
[2016-06-18 15:37:04,342] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
[2016-06-18 15:37:04,343] DEBUG - wire << "Accept: */*[\r][\n]"
[2016-06-18 15:37:04,343] DEBUG - wire << "Host: localhost:9763[\r][\n]"
[2016-06-18 15:37:04,344] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
[2016-06-18 15:37:04,344] DEBUG - wire << "User-Agent:
Synapse-PT-HttpComponents-NIO[\r][\n]"
[2016-06-18 15:37:04,344] DEBUG - wire << "[\r][\n]"
[2016-06-18 15:37:04,345] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
[2016-06-18 15:37:04,345] DEBUG - wire >> "Content-Type: text/html[\r][\n]"
[2016-06-18 15:37:04,346] DEBUG - wire >> "Content-Length: 193[\r][\n]"
[2016-06-18 15:37:04,346] DEBUG - wire >> "Date: Sat, 18 Jun 2016 10:07:04
GMT[\r][\n]"
[2016-06-18 15:37:04,347] DEBUG - wire >> "Server: WSO2 Carbon
Server[\r][\n]"
[2016-06-18 15:37:04,347] DEBUG - wire >> "[\r][\n]"
[2016-06-18 15:37:04,348] DEBUG - wire >> "[\n]"
[2016-06-18 15:37:04,348] DEBUG - wire >> "  [\n]"
[2016-06-18 15:37:04,348] DEBUG - wire >> "  [\n]"
[2016-06-18 15:37:04,349] DEBUG - wire >> ""
[2016-06-18 15:37:04,360] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
[2016-06-18 15:37:04,361] DEBUG - wire << "Content-Type: text/html[\r][\n]"
[2016-06-18 15:37:04,362] DEBUG - wire << "Date: Sat, 18 Jun 2016 10:07:04
GMT[\r][\n]"
[2016-06-18 15:37:04,362] DEBUG - wire << "Transfer-Encoding:
chunked[\r][\n]"
[2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"
[2016-06-18 15:37:04,363] DEBUG - wire << "0[\r][\n]"
[2016-06-18 15:37:04,363] DEBUG - wire << "[\r][\n]"



Super-Tenant (Correct behaviour)
-
[2016-06-18 15:46:33,073] DEBUG - wire >> "GET /App10/1.0.0/
HTTP/1.1[\r][\n]"
[2016-06-18 15:46:33,074] DEBUG - wire >> "Host: 10.216.86.47:8280[\r][\n]"
[2016-06-18 15:46:33,074] DEBUG - wire >> "User-Agent: curl/7.43.0[\r][\n]"
[2016-06-18 15:46:33,075] DEBUG - wire >> "Accept: */*[\r][\n]"
[2016-06-18 15:46:33,075] DEBUG - wire >> "[\r][\n]"
[2016-06-18 15:46:33,303] DEBUG - wire << "GET /file/ HTTP/1.1[\r][\n]"
[2016-06-18 15:46:33,304] DEBUG - wire << "Accept: */*[\r][\n]"
[2016-06-18 15:46:33,304] DEBUG - wire << "Host: localhost:9763[\r][\n]"
[2016-06-18 15:46:33,305] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
[2016-06-18 15:46:33,305] DEBUG - wire << "User-Agent:
Synapse-PT-HttpComponents-NIO[\r][\n]"
[2016-06-18 15:46:33,306] DEBUG - wire << "[\r][\n]"
[2016-06-18 15:46:33,307] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
[2016-06-18 15:46:33,307] DEBUG - wire >> "Content-Type: text/html[\r][\n]"
[2016-06-18 15:46:33,308] DEBUG - wire >> "Content-Length: 193[\r][\n]"
[2016-06-18 15:46:33,308] DEBUG - wire >> "Date: Sat, 18 Jun 2016 10:16:33
GMT[\r][\n]"
[2016-06-18 15:46:33,309] DEBUG - wire >> "Server: WSO2 Carbon
Server[\r][\n]"
[2016-06-18 15:46:33,309] DEBUG - wire >> "[\r][\n]"
[2016-06-18 15:46:33,310] DEBUG - wire >> "[\n]"
[2016-06-18 15:46:33,310] DEBUG - wire >> "  [\n]"
[2016-06-18 15:46:33,311] DEBUG - wire >> "  [\n]"
[2016-06-18 15:46:33,312] DEBUG - wire >> ""
[2016-06-18 15:46:33,322] DEBUG - wire << "HTTP/1.1 200 OK[\r][\n]"
[2016-06-18 15:46:33,323] DEBUG - wire << "Content-Type: text/html[\r][\n]"
[2016-06-18 15:46:33,323] DEBUG - wire << "Date: Sat, 18 Jun 2016 10:16:33
GMT[\r][\n]"
[2016-06-18 15:46:33,324] DEBUG - wire << "Transfer-Encoding:
chunked[\r][\n]"
[2016-06-18 15:46:33,324] DEBUG - wire << "[\r][\n]"
[2016-06-18 15:46:33,324] DEBUG - wire << "c1[\r][\n]"
[2016-06-18 15:46:33,325] DEBUG - wire << "[\n]"
[2016-06-18 15:46:33,325] DEBUG - wire << "  [\n]"
[2016-06-18 15:46:33,325] DEBUG - wire << "  [\n]"
[2016-06-18 15:46:33,326] DEBUG - wire << "[\r][\n]"
[2016-06-18 15:46:33,326] DEBUG - wire << "0[\r][\n]"
[2016-06-18 15:46:33,327] DEBUG - wire << "[\r][\n]"

Regards,
Dinusha.


-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev