Re: [Dev] [PET] [ESB] Empty body in response causes error with ESB 5.0.0-BETA

2016-06-22 Thread Vivekananthan Sivanayagam
Hi,

I am also getting the same error while running integration test for
outlookMail connector. please find the log in [1].

[1]

[2016-06-22 11:25:14,837]  INFO
{org.wso2.carbon.automation.core.PlatformTestManager} -  Running the test
method ---
org.wso2.carbon.connector.integration.test.outlookmail.OutLookMailConnectorIntegrationTest.testGetFolderWithNegativeCase

[2016-06-22 11:25:14,869]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,869] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"POST /services/outlookmail HTTP/1.1[\r][\n]"
[2016-06-22 11:25:14,869]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,869] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Action: urn:getFolder[\r][\n]"
[2016-06-22 11:25:14,869]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,869] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Accept-Charset: UTF-8[\r][\n]"
[2016-06-22 11:25:14,869]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,869] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Accept: application/json[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,869] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Content-Type: application/json[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"User-Agent: Java/1.7.0_79[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Host: localhost:8280[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Connection: keep-alive[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"Content-Length: 1068[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"[\r][\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >>
"{[\n]"
[2016-06-22 11:25:14,870]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,870] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 "apiUrl":"https://outlook.office.com/api",[\n];
[2016-06-22 11:25:14,871]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,871] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 
"refreshToken":"AAABiL9Kn2Z27UubvWFPbm0gLY_U_UGIN46r7zSSoqXcjmlZ_TjD8u_NSBxtEfBf2hya6XKqTuqMh9UO2DN72KK7wy4dUmKfOgFjJHS9Mc7drpqhfdMfdXTLs-Np_3yf0SXRzBg5m2ZA8Lx14pfq44IIugJepF5VQCrqZkA4AXqjoofIsKMI5x_yrx9STeWJDavLlErlHlFRzpJiO-JQYIVZG-z_vcuwjtZ1C4C-k42erDgeffSJA_SvFVAaTyLOgzFPnDEvYCLz5uIekaCQ9_xdsuORl76x0gVHEvQ3fyyeGDudPD6AHXiXQ3jIC3t6TPIAuszR3ut_8tf4Sn9d3eHbGKeLQe8S-oUko_aZGdtX_eDAR4o0YfLlluQr4WMKyl-6pKzplC9tZigxH1M6MXkfDubT6D8-GYDhSbfgH7oK_TGAJKkoiWcwS0gUpQ9_HpCpUJgpe6c-9nzjdaMIF_EBrZzVdKio3smKM4RMMV4T1cGR6Ev4zdvNE3PWAQzLjq8gX8D3qzm--NV97yFbA04TqENmNAg-wc4iT5P4Y06vhHrpXFHc9-zg1qzBNhUSXmFkTKhGiPhv3_QnGWerGgW1CTGdUnPAkA5KyWoGB4G5MN7EB0n5hzQ90OpNkrFxziIRs1_69poJtSETPXsd7cW0GI1TwNnAOuGD9fzEtsmW9TkgAA",[\n]"
[2016-06-22 11:25:14,871]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,871] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 "clientSecret":"w5BaTTc9FqpcUVvIhRhFkRQTVNN2YLWf+mwj3Mh86aI=",[\n]"
[2016-06-22 11:25:14,871]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,871] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 "clientId":"D42620b8-6d8a-47cb-843d-e798f193535f",[\n]"
[2016-06-22 11:25:14,871]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,871] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 "resource":"https://outlook.office.com/",[\n];
[2016-06-22 11:25:14,871]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,871] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 "redirectUri":"https://www.vive.viveSL.onmicrosoft.com",[\n];
[2016-06-22 11:25:14,871]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-22 11:25:14,871] DEBUG - wire HTTP-Listener I/O dispatcher-1 >> "
 "registryPath":"",[\n]"
[2016-06-22 11:25:14,871]  INFO

Re: [Dev] [PET] [ESB] Empty body in response causes error with ESB 5.0.0-BETA

2016-06-21 Thread Malaka Silva
Hi Shakila,

It seems in both versions that check is there. Shall we try to debug the
[1] with esb 490 and [2] with esb 5.0.0 and identify the issue?

[1]
https://github.com/wso2/wso2-synapse/blob/Apache-Synapse-2.1.3-wso2v11/modules/commons/src/main/java/org/apache/synapse/commons/json/JsonUtil.java

[2]
https://github.com/wso2/wso2-synapse/blob/master/modules/commons/src/main/java/org/apache/synapse/commons/json/JsonUtil.java

On Tue, Jun 21, 2016 at 5:08 PM, Shakila Sivagnanarajah 
wrote:

> + viraj
>
> On Tue, Jun 21, 2016 at 3:58 PM, Shakila Sivagnanarajah 
> wrote:
>
>> Hi,
>>
>> I am checking Spotify connector with ESB 5.0.0 - BETA. When the response
>> comes with no response body, it gives the following error [1]. This
>> works fine with ESB 4.9.0. Same issue is reported in the thread "Getting
>> error JsonUtil #writeAsJson. Payload could not be written as JSON with ESB
>> 5.0.0 - BETA".
>>
>> [2016-06-21 13:24:05,539]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "PUT /v1/users/testuser/playlists/7j8x27kvOOczlZGlWnb8Xp/tracks
>> HTTP/1.1[\r][\n]"
>> [2016-06-21 13:24:05,539]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "X-Frame-Options: deny[\r][\n]"
>> [2016-06-21 13:24:05,539]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "Strict-Transport-Security: max-age=31536000;[\r][\n]"
>> [2016-06-21 13:24:05,539]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "Authorization: Bearer [\r][\n]"
>> [2016-06-21 13:24:05,539]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "Vary: Accept-Encoding[\r][\n]"
>> [2016-06-21 13:24:05,539]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "X-UA-Compatible: IE=edge[\r][\n]"
>> [2016-06-21 13:24:05,540]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "X-Content-Security-Policy: default-src 'self'; script-src 'self'
>> https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
>> img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
>> https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
>> https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
>> https://scontent.xx.fbcdn.net https://www.google-analytics.com
>> https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
>> font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
>> https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
>> 'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
>> https://www.spotify.com;[\r][\n];
>> [2016-06-21 13:24:05,540]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "Content-Type: application/json; charset=UTF-8[\r][\n]"
>> [2016-06-21 13:24:05,540]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "Content-Security-Policy: default-src 'self'; script-src 'self'
>> https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
>> img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
>> https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
>> https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
>> https://scontent.xx.fbcdn.net https://www.google-analytics.com
>> https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
>> font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
>> https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
>> 'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
>> https://www.spotify.com;[\r][\n];
>> [2016-06-21 13:24:05,540]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "X-Content-Type-Options: nosniff[\r][\n]"
>> [2016-06-21 13:24:05,540]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
>> "Pragma: no-cache[\r][\n]"
>> [2016-06-21 13:24:05,540]  INFO
>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>>  [2016-06-21 13:24:05,540] 

Re: [Dev] [PET] [ESB] Empty body in response causes error with ESB 5.0.0-BETA

2016-06-21 Thread Shakila Sivagnanarajah
+ viraj

On Tue, Jun 21, 2016 at 3:58 PM, Shakila Sivagnanarajah 
wrote:

> Hi,
>
> I am checking Spotify connector with ESB 5.0.0 - BETA. When the response
> comes with no response body, it gives the following error [1]. This works
> fine with ESB 4.9.0. Same issue is reported in the thread "Getting error
> JsonUtil #writeAsJson. Payload could not be written as JSON with ESB 5.0.0
> - BETA".
>
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "PUT /v1/users/testuser/playlists/7j8x27kvOOczlZGlWnb8Xp/tracks
> HTTP/1.1[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-Frame-Options: deny[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Strict-Transport-Security: max-age=31536000;[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Authorization: Bearer [\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Vary: Accept-Encoding[\r][\n]"
> [2016-06-21 13:24:05,539]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-UA-Compatible: IE=edge[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-Content-Security-Policy: default-src 'self'; script-src 'self'
> https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
> img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
> https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
> https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
> https://scontent.xx.fbcdn.net https://www.google-analytics.com
> https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
> font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
> https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
> 'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
> https://www.spotify.com;[\r][\n];
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Content-Type: application/json; charset=UTF-8[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Content-Security-Policy: default-src 'self'; script-src 'self'
> https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
> img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
> https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
> https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
> https://scontent.xx.fbcdn.net https://www.google-analytics.com
> https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
> font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
> https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
> 'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
> https://www.spotify.com;[\r][\n];
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "X-Content-Type-Options: nosniff[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Pragma: no-cache[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Cache-Control: no-cache, no-store, must-revalidate[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Transfer-Encoding: chunked[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
>  [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
> "Host: api.spotify.com[\r][\n]"
> [2016-06-21 13:24:05,540]  INFO
> 

[Dev] [PET] [ESB] Empty body in response causes error with ESB 5.0.0-BETA

2016-06-21 Thread Shakila Sivagnanarajah
Hi,

I am checking Spotify connector with ESB 5.0.0 - BETA. When the response
comes with no response body, it gives the following error [1]. This works
fine with ESB 4.9.0. Same issue is reported in the thread "Getting error
JsonUtil #writeAsJson. Payload could not be written as JSON with ESB 5.0.0
- BETA".

[2016-06-21 13:24:05,539]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"PUT /v1/users/testuser/playlists/7j8x27kvOOczlZGlWnb8Xp/tracks
HTTP/1.1[\r][\n]"
[2016-06-21 13:24:05,539]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"X-Frame-Options: deny[\r][\n]"
[2016-06-21 13:24:05,539]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Strict-Transport-Security: max-age=31536000;[\r][\n]"
[2016-06-21 13:24:05,539]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Authorization: Bearer [\r][\n]"
[2016-06-21 13:24:05,539]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Vary: Accept-Encoding[\r][\n]"
[2016-06-21 13:24:05,539]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"X-UA-Compatible: IE=edge[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,539] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"X-Content-Security-Policy: default-src 'self'; script-src 'self'
https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
https://scontent.xx.fbcdn.net https://www.google-analytics.com
https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
https://www.spotify.com;[\r][\n];
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Content-Type: application/json; charset=UTF-8[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Content-Security-Policy: default-src 'self'; script-src 'self'
https://d2d1dxiu3v1f2i.cloudfront.net https://www.google-analytics.com;
img-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net https://i.imgur.com
https://d2mv8tnci56s9d.cloudfront.net https://aci.scdn.co
https://graph.facebook.com https://fbcdn-profile-a.akamaihd.net
https://scontent.xx.fbcdn.net https://www.google-analytics.com
https://stats.g.doubleclick.net data: d2d1dxiu3v1f2i.cloudfront.net;
font-src 'self' https://d2d1dxiu3v1f2i.cloudfront.net
https://sp-bootstrap.global.ssl.fastly.net; style-src 'self'
'unsafe-inline' https://d2d1dxiu3v1f2i.cloudfront.net; frame-src 'self'
https://www.spotify.com;[\r][\n];
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"X-Content-Type-Options: nosniff[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Pragma: no-cache[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Cache-Control: no-cache, no-store, must-revalidate[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Transfer-Encoding: chunked[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Host: api.spotify.com[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2016-06-21 13:24:05,540] DEBUG - wire HTTPS-Sender I/O dispatcher-8 <<
"Connection: Keep-Alive[\r][\n]"
[2016-06-21 13:24:05,540]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -