{"action":"created","issue":{"url":"https://api.github.com/repos/gama-platform/gama/issues/2365","repository_url":"https://api.github.com/repos/gama-platform/gama","labels_url":"https://api.github.com/repos/gama-platform/gama/issues/2365/labels{/name}","comments_url":"https://api.github.com/repos/gama-platform/gama/issues/2365/comments","events_url":"https://api.github.com/repos/gama-platform/gama/issues/2365/events","html_url":"https://github.com/gama-platform/gama/issues/2365","id":306239036,"number":2365,"title":"UDP connection error: send message get a Socket close message","user":{"login":"benoitgaudou","id":1555274,"avatar_url":"https://avatars1.githubusercontent.com/u/1555274?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitgaudou","html_url":"https://github.com/benoitgaudou","followers_url":"https://api.github.com/users/benoitgaudou/followers","following_url":"https://api.github.com/users/benoitgaudou/following{/other_user}","gists_url":"https://api.github.com/users/benoitgaudou/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitgaudou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitgaudou/subscriptions","organizations_url":"https://api.github.com/users/benoitgaudou/orgs","repos_url":"https://api.github.com/users/benoitgaudou/repos","events_url":"https://api.github.com/users/benoitgaudou/events{/privacy}","received_events_url":"https://api.github.com/users/benoitgaudou/received_events","type":"User","site_admin":false},"labels":[{"id":216670027,"url":"https://api.github.com/repos/gama-platform/gama/labels/%3E%20Bug","name":"> Bug","color":"ff0000","default":false},{"id":871130625,"url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20Networking","name":"Concerns Networking","color":"207de5","default":false},{"id":217364090,"url":"https://api.github.com/repos/gama-platform/gama/labels/In%20Models%20Library","name":"In Models Library","color":"c7def8","default":false},{"id":217514639,"url":"https://api.github.com/repos/gama-platform/gama/labels/Version%20Git","name":"Version Git","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-18T13:11:11Z","updated_at":"2018-03-19T14:57:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Steps to reproduce\r\n1. run on two GAMA (run from the same eclipse), the 2 models UDP Client Example.gaml and UDP Server Example.gaml.\r\n\r\n### Expected behavior\r\nThe client agent is supposed to send a message and the server to receive it.\r\n\r\n### Actual behavior\r\nWhen the client agent try to send a message, I get in Eclipse console the following exception:\r\n```\r\njava.net.SocketException: Socket is closed\r\n\tat java.net.DatagramSocket.send(DatagramSocket.java:658)\r\n\tat ummisco.gama.network.udp.UDPConnector.sendToServer(UDPConnector.java:203)\r\n\tat ummisco.gama.network.udp.UDPConnector.send(UDPConnector.java:216)\r\n\tat ummisco.gama.network.skills.NetworkSkill.effectiveSend(NetworkSkill.java:220)\r\n\tat msi.gama.extensions.messaging.MessagingSkill.primSendMessage(MessagingSkill.java:66)\r\n\tat gaml.additions.GamlAdditions$1117.run(GamlAdditions.java:1182)\r\n\tat gaml.additions.GamlAdditions$1117.run(GamlAdditions.java:1)\r\n\tat msi.gaml.statements.PrimitiveStatement.privateExecuteIn(PrimitiveStatement.java:91)\r\n\tat msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41)\r\n\tat msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43)\r\n\tat msi.gaml.statements.DoStatement.privateExecuteIn(DoStatement.java:249)\r\n\tat msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41)\r\n\tat msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43)\r\n\tat msi.gaml.statements.AbstractStatementSequence.privateExecuteIn(AbstractStatementSequence.java:57)\r\n\tat msi.gaml.architecture.reflex.ReflexStatement.privateExecuteIn(ReflexStatement.java:80)\r\n\tat msi.gaml.statements.AbstractStatement.executeOn(AbstractStatement.java:41)\r\n\tat msi.gaml.statements.AbstractStatementSequence.executeOn(AbstractStatementSequence.java:43)\r\n\tat msi.gaml.architecture.reflex.ReflexArchitecture.executeReflexes(ReflexArchitecture.java:100)\r\n\tat msi.gaml.architecture.reflex.ReflexArchitecture.executeOn(ReflexArchitecture.java:91)\r\n\tat msi.gama.runtime.ExecutionScope.execute(ExecutionScope.java:380)\r\n\tat msi.gama.metamodel.agent.AbstractAgent.doStep(AbstractAgent.java:278)\r\n\tat msi.gama.metamodel.agent.MinimalAgent.doStep(MinimalAgent.java:225)\r\n\tat msi.gama.metamodel.agent.AbstractAgent.step(AbstractAgent.java:249)\r\n\tat msi.gama.runtime.ExecutionScope.lambda$1(ExecutionScope.java:426)\r\n\tat msi.gama.runtime.ExecutionScope.runAndCatch(ExecutionScope.java:459)\r\n\tat msi.gama.runtime.ExecutionScope.pushRunAndCatch(ExecutionScope.java:450)\r\n\tat msi.gama.runtime.ExecutionScope.step(ExecutionScope.java:426)\r\n\tat msi.gama.runtime.concurrent.GamaExecutorService.doStep(GamaExecutorService.java:179)\r\n\tat msi.gama.runtime.concurrent.GamaExecutorService.step(GamaExecutorService.java:154)\r\n\tat msi.gama.metamodel.population.GamaPopulation.stepAgents(GamaPopulation.java:176)\r\n\tat msi.gama.metamodel.population.GamaPopulation.step(GamaPopulation.java:171)\r\n\tat msi.gama.runtime.ExecutionScope.lambda$2(ExecutionScope.java:427)\r\n\tat msi.gama.runtime.ExecutionScope.runAndCatch(ExecutionScope.java:459)\r\n\tat msi.gama.runtime.ExecutionScope.step(ExecutionScope.java:427)\r\n\tat msi.gama.metamodel.agent.GamlAgent.stepSubPopulations(GamlAgent.java:94)\r\n\tat msi.gama.metamodel.agent.AbstractAgent.doStep(AbstractAgent.java:278)\r\n\tat msi.gama.metamodel.agent.MinimalAgent.doStep(MinimalAgent.java:225)\r\n\tat msi.gama.metamodel.agent.AbstractAgent.step(AbstractAgent.java:249)\r\n\tat msi.gama.runtime.concurrent.SimulationRunner.lambda$0(SimulationRunner.java:30)\r\n\tat msi.gama.runtime.concurrent.SimulationRunner.lambda$1(SimulationRunner.java:54)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n```\r\n\r\n### System and version \r\nMACOSX, GAMA Git MArs\r\n"},"comment":{"url":"https://api.github.com/repos/gama-platform/gama/issues/comments/374241800","html_url":"https://github.com/gama-platform/gama/issues/2365#issuecomment-374241800","issue_url":"https://api.github.com/repos/gama-platform/gama/issues/2365","id":374241800,"user":{"login":"benoitgaudou","id":1555274,"avatar_url":"https://avatars1.githubusercontent.com/u/1555274?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitgaudou","html_url":"https://github.com/benoitgaudou","followers_url":"https://api.github.com/users/benoitgaudou/followers","following_url":"https://api.github.com/users/benoitgaudou/following{/other_user}","gists_url":"https://api.github.com/users/benoitgaudou/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitgaudou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitgaudou/subscriptions","organizations_url":"https://api.github.com/users/benoitgaudou/orgs","repos_url":"https://api.github.com/users/benoitgaudou/repos","events_url":"https://api.github.com/users/benoitgaudou/events{/privacy}","received_events_url":"https://api.github.com/users/benoitgaudou/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T14:57:39Z","updated_at":"2018-03-19T14:57:39Z","author_association":"CONTRIBUTOR","body":"I still have the same issue on closed socket.\r\nI was wondering wether it is an issue of port or network access right allowance...\r\nBenoit"}}
{"actor":{"display_login":"benoitgaudou"}}