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 <[email protected]> wrote:

> And even in the tenant mode, everything works fine for POST.
>
> On Sat, Jun 18, 2016 at 3:58 PM, Dinusha Senanayaka <[email protected]>
> 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 >> "<form method="post"
>> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>> [2016-06-18 15:37:04,348] DEBUG - wire >> "  <input type="file"
>> name="myfile"><br /><br />[\n]"
>> [2016-06-18 15:37:04,348] DEBUG - wire >> "  <input type="submit"
>> name="submit" value="Submit">[\n]"
>> [2016-06-18 15:37:04,349] DEBUG - wire >> "</form>"
>> [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 >> "<form method="post"
>> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>> [2016-06-18 15:46:33,310] DEBUG - wire >> "  <input type="file"
>> name="myfile"><br /><br />[\n]"
>> [2016-06-18 15:46:33,311] DEBUG - wire >> "  <input type="submit"
>> name="submit" value="Submit">[\n]"
>> [2016-06-18 15:46:33,312] DEBUG - wire >> "</form>"
>> [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 << "<form method="post"
>> action="upload.jag" name="submit" enctype="multipart/form-data">[\n]"
>> [2016-06-18 15:46:33,325] DEBUG - wire << "  <input type="file"
>> name="myfile"><br /><br />[\n]"
>> [2016-06-18 15:46:33,325] DEBUG - wire << "  <input type="submit"
>> name="submit" value="Submit">[\n]"
>> [2016-06-18 15:46:33,326] DEBUG - wire << "</form>[\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/
>>
>
>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>
> mobile : +94772891266
>
>
>


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

Reply via email to