{"action":"created","issue":{"url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking/issues/22","repository_url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking","labels_url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking/issues/22/comments","events_url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking/issues/22/events","html_url":"https://github.com/amitshekhariitbhu/Fast-Android-Networking/issues/22","id":175103570,"number":22,"title":"Android 6 Can not connect to server support SSLV3 and TLS 1.0 only","user":{"login":"victory1908","id":13852530,"avatar_url":"https://avatars.githubusercontent.com/u/13852530?v=3","gravatar_id":"","url":"https://api.github.com/users/victory1908","html_url":"https://github.com/victory1908","followers_url":"https://api.github.com/users/victory1908/followers","following_url":"https://api.github.com/users/victory1908/following{/other_user}","gists_url":"https://api.github.com/users/victory1908/gists{/gist_id}","starred_url":"https://api.github.com/users/victory1908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victory1908/subscriptions","organizations_url":"https://api.github.com/users/victory1908/orgs","repos_url":"https://api.github.com/users/victory1908/repos","events_url":"https://api.github.com/users/victory1908/events{/privacy}","received_events_url":"https://api.github.com/users/victory1908/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T16:38:35Z","updated_at":"2016-09-05T17:51:07Z","closed_at":null,"body":"Hi I have a strange issue while using library to make post to Server which only support SSL v3 and TLS 1.0 only. Our request work fine with API level 22 and below. Only when use with android API 23 (android 6+) I have connection error\r\n\r\n this my code to make POST request\r\n\r\n`String url2 = \"https://prdesb1.singpost.com/ma/GetItemTrackingDetails\";`\r\n\r\n`final String payload2 = \"<ItemTrackingDetailsRequest xmlns=\\\"http://singpost.com/paw/ns\\\"><ItemTrackingNumbers><TrackingNumber>SMT0000000628</TrackingNumber></ItemTrackingNumbers></ItemTrackingDetailsRequest>\";`\r\n\r\n```\r\nAndroidNetworking.initialize(this);\r\n        AndroidNetworking.post(url2)\r\n                .addHeaders(\"Content-Type\",\"application/xml\")\r\n                .addByteBody(payload2.getBytes())\r\n                .build()\r\n\r\n                .getAsString(new StringRequestListener() {\r\n                    @Override\r\n                    public void onResponse(String response) {\r\n                        Log.v(\"successAndroid1\",response);\r\n                    }\r\n\r\n                    @Override\r\n                    public void onError(ANError anError) {\r\n                        Log.v(\"FailAndroidDetail\",anError.getErrorDetail());\r\n                        Log.v(\"FailAndroidBody\",anError.getData().toString());\r\n\r\n\r\n                        Log.v(\"FailAndroidCode\",String.valueOf(anError.getErrorCode()));\r\n                     }\r\n                });\r\n```\r\n\r\nthis only happen with android 6+. I have added all the necessary permission"},"comment":{"url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking/issues/comments/244792459","html_url":"https://github.com/amitshekhariitbhu/Fast-Android-Networking/issues/22#issuecomment-244792459","issue_url":"https://api.github.com/repos/amitshekhariitbhu/Fast-Android-Networking/issues/22","id":244792459,"user":{"login":"victory1908","id":13852530,"avatar_url":"https://avatars.githubusercontent.com/u/13852530?v=3","gravatar_id":"","url":"https://api.github.com/users/victory1908","html_url":"https://github.com/victory1908","followers_url":"https://api.github.com/users/victory1908/followers","following_url":"https://api.github.com/users/victory1908/following{/other_user}","gists_url":"https://api.github.com/users/victory1908/gists{/gist_id}","starred_url":"https://api.github.com/users/victory1908/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victory1908/subscriptions","organizations_url":"https://api.github.com/users/victory1908/orgs","repos_url":"https://api.github.com/users/victory1908/repos","events_url":"https://api.github.com/users/victory1908/events{/privacy}","received_events_url":"https://api.github.com/users/victory1908/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T17:51:07Z","updated_at":"2016-09-05T17:51:07Z","body":"Thanks i'll try to dig into it. The problem only happen on android 6+. Android 5 (api 22 Loilipop) still work normally."}}
{"actor":{"display_login":"victory1908"}}