{"action":"opened","issue":{"url":"https://api.github.com/repos/CeriAvignon/Projet2015/issues/24","repository_url":"https://api.github.com/repos/CeriAvignon/Projet2015","labels_url":"https://api.github.com/repos/CeriAvignon/Projet2015/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/CeriAvignon/Projet2015/issues/24/comments","events_url":"https://api.github.com/repos/CeriAvignon/Projet2015/issues/24/events","html_url":"https://github.com/CeriAvignon/Projet2015/issues/24","id":137917686,"number":24,"title":"getIp() retourne NULL","user":{"login":"nathan30","id":7926051,"avatar_url":"https://avatars.githubusercontent.com/u/7926051?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan30","html_url":"https://github.com/nathan30","followers_url":"https://api.github.com/users/nathan30/followers","following_url":"https://api.github.com/users/nathan30/following{/other_user}","gists_url":"https://api.github.com/users/nathan30/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan30/subscriptions","organizations_url":"https://api.github.com/users/nathan30/orgs","repos_url":"https://api.github.com/users/nathan30/repos","events_url":"https://api.github.com/users/nathan30/events{/privacy}","received_events_url":"https://api.github.com/users/nathan30/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-02T16:09:57Z","updated_at":"2016-03-02T16:09:57Z","closed_at":null,"body":"Bonjour,\r\n\r\nEst-ce normal que les fonctions getIp() de ServerCommunicationImpl() et ClientCommunicationImpl()\r\nrenvoi NULL lorsque qu'on les utilise ? \r\n\r\nExemple de notre implementation pour la communication PHP : \r\n\r\n`public void sendIP()throws IOException {\r\n\t    URL url = new URL(\"https://pedago02a.univ-avignon.fr/~uapv1402577/server/server.php\");\r\n\t    String result = \"\";\r\n\t    ServerCommunicationImpl server = new ServerCommunicationImpl();\r\n\t    System.out.println(server.getIp());\r\n\t    String data = \"infos=\" + URLEncoder.encode(server.getIp()+\"|4\", \"UTF-8\");\r\n\t    HttpURLConnection connection = (HttpURLConnection) url.openConnection();`\r\n\r\nle SYSO nous renvoi un NULL\r\n\r\nMerci d'avance"}}