{"action":"created","issue":{"url":"https://api.github.com/repos/elastest/elastest-device-emulator-service/issues/77","repository_url":"https://api.github.com/repos/elastest/elastest-device-emulator-service","labels_url":"https://api.github.com/repos/elastest/elastest-device-emulator-service/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/elastest/elastest-device-emulator-service/issues/77/comments","events_url":"https://api.github.com/repos/elastest/elastest-device-emulator-service/issues/77/events","html_url":"https://github.com/elastest/elastest-device-emulator-service/issues/77","id":263085383,"node_id":"MDU6SXNzdWUyNjMwODUzODM=","number":77,"title":"Several Services stop at startup","user":{"login":"franciscoRdiaz","id":24293824,"node_id":"MDQ6VXNlcjI0MjkzODI0","avatar_url":"https://avatars0.githubusercontent.com/u/24293824?v=4","gravatar_id":"","url":"https://api.github.com/users/franciscoRdiaz","html_url":"https://github.com/franciscoRdiaz","followers_url":"https://api.github.com/users/franciscoRdiaz/followers","following_url":"https://api.github.com/users/franciscoRdiaz/following{/other_user}","gists_url":"https://api.github.com/users/franciscoRdiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/franciscoRdiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franciscoRdiaz/subscriptions","organizations_url":"https://api.github.com/users/franciscoRdiaz/orgs","repos_url":"https://api.github.com/users/franciscoRdiaz/repos","events_url":"https://api.github.com/users/franciscoRdiaz/events{/privacy}","received_events_url":"https://api.github.com/users/franciscoRdiaz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-05T11:07:45Z","updated_at":"2018-07-20T06:59:01Z","closed_at":"2017-12-21T11:23:47Z","author_association":"CONTRIBUTOR","body":"Hi Varun,\r\n\r\nWhen I try to startup the EDS both from \"Docker Toolbox for windows or from ETM GUI\", a few seconds afther starting, all services but one are stopped.\r\n\r\nI send you the logs of those services:\r\n\r\n- elastest/eds-frontend:0.5.0-alpha1:\r\n`PYTHONPATH: :/home/elastest/eds/FrontEnd/openmtc-gevent/../futile/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc/lib:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc-etsi/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc-onem2m/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../serializers/*/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../openmtc-app/src\r\nPYTHONPATH: :/home/elastest/eds/FrontEnd/openmtc-gevent/../futile/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc/lib:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc-etsi/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc-onem2m/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../common/openmtc/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../serializers/*/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../openmtc-app/src:/home/elastest/eds/FrontEnd/openmtc-gevent/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../server/openmtc-cse/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../server/openmtc-ngsi/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../server/openmtc-scl/src:/home/elastest/eds/FrontEnd/openmtc-gevent/../server/openmtc-server/src\r\nPYTHONPATH: :/home/elastest/eds/FrontEnd/../futile/src:/home/elastest/eds/FrontEnd/../common/openmtc/lib:/home/elastest/eds/FrontEnd/../common/*/src:/home/elastest/eds/FrontEnd/../serializers/*/src:/home/elastest/eds/FrontEnd/../openmtc-app/src\r\nPYTHONPATH: :/home/elastest/eds/FrontEnd/openmtc-app/src\r\nDEBUG:openmtc_gevent.main:Reading config file: config-gscl.json\r\nDEBUG:__main__:Trying config file location: /home/elastest/eds/FrontEnd/config.json\r\nINFO:__main__:Reading configuration file /home/elastest/eds/FrontEnd/config.json.\r\nINFO:engineio:Server initialized for gevent.\r\nINFO:FrontEnd:Registering application as FrontEnd.\r\nDEBUG:OneM2MHTTPClient:Mapping OneM2M request to generic request: OneM2MRequest: originator: CFrontEnd | request_identifier: bawN6Hk8es9Tf314 | originating_timestamp: None | filter_criteria: None | request_expiration_timestamp: None | result_persistence: None | result_content: None | discovery_result_type: None | group_request_identifier: None | content: AE(path='None', id='None') | to: onem2m | delivery_aggregation: None | role: None | response_type: None | result_expiration_timestamp: None | operation: OneM2MOperation.create | operation_execution_time: None | resource_type: <class 'openmtc_onem2m.model.AE'> | event_category: None\r\nDEBUG:openmtc_onem2m.serializer.util:Encoding result: AE(path='None', id='None') - application/json\r\nDEBUG:OneM2MJsonSerializer:Encoding representation: {'ontologyRef': None, 'App-ID': u'dummy', 'appName': None, 'resourceType': None, 'accessControlPolicyIDs': [], 'labels': [], 'announcedAttribute': None, 'creationTime': None, 'announceTo': None, 'contentSerialization': None, 'pointOfAccess': [u'http://127.0.0.1:6065'], 'requestReachability': False, 'parentID': None, 'lastModifiedTime': None, 'resourceName': u'FrontEnd', 'expirationTime': datetime.datetime(2017, 10, 5, 11, 36, 0, 975291, tzinfo=<openmtc.util.Utc object at 0x7f9827e152c0>), 'resourceID': None, 'childResource': [], 'AE-ID': None, 'nodeLink': None}\r\nDEBUG:OneM2MHTTPClient:Added request params: {}\r\nERROR:FlaskRunner:Error\r\nTraceback (most recent call last):\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/runner/__init__.py\", line 18, in run\r\n    self._run()\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/flask_runner/__init__.py\", line 49, in _run\r\n    self.m2m_app.run(self, self.m2m_ep)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 113, in run\r\n    self.register()\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 191, in register\r\n    registration = self.create_application(app)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 286, in create_application\r\n    app = self.mapper.create(path, application)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_onem2m/mapper/__init__.py\", line 47, in create\r\n    pc=instance\r\n  File \"build/bdist.linux-x86_64/egg/aplus/__init__.py\", line 128, in get\r\n    raise self.reason\r\nConnectionFailed: Error during HTTP request: [Errno 111] Connection refused. Request was: POST http://localhost:8000/onem2m (0.0679s)\r\nDEBUG:FlaskRunner:Shutting down\r\nDEBUG:FrontEnd:shutdown handler is finished\r\nDEBUG:FrontEnd:subscriptions deleted\r\nDEBUG:FrontEnd:app deleted\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/elastest/eds/FrontEnd/src/frontend/__main__.py\", line 32, in <module>\r\n    Runner(app, host=host, port=port).run(ep)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/runner/__init__.py\", line 18, in run\r\n\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/flask_runner/__init__.py\", line 49, in _run\r\n\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 113, in run\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 191, in register\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 286, in create_application\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_onem2m/mapper/__init__.py\", line 47, in create\r\n\r\n  File \"build/bdist.linux-x86_64/egg/aplus/__init__.py\", line 128, in get\r\n\r\nopenmtc.exc.ConnectionFailed: Error during HTTP request: [Errno 111] Connection refused. Request was: POST http://localhost:8000/onem2m (0.0679s)`\r\n\r\n- elastest/eds-zigbeeipe:0.5.0-alpha1\r\n`PYTHONPATH: :/home/elastest/eds/ZigBeeIPE/../futile/src:/home/elastest/eds/ZigBeeIPE/../common/openmtc/lib:/home/elastest/eds/ZigBeeIPE/../common/*/src:/home/elastest/eds/ZigBeeIPE/../serializers/*/src:/home/elastest/eds/ZigBeeIPE/../openmtc-app/src\r\nPYTHONPATH: :/home/elastest/eds/ZigBeeIPE/openmtc-app/src\r\nzig-bee-ipe: 8: zig-bee-ipe: cannot open /dev/ttyACM0: No such file\r\nDEBUG:__main__:Trying config file location: /home/elastest/eds/ZigBeeIPE/config.json\r\nINFO:__main__:Reading configuration file /home/elastest/eds/ZigBeeIPE/config.json.\r\nINFO:ZigBeeIPE:Registering application as ZigBeeIPE.\r\nDEBUG:OneM2MHTTPClient:Mapping OneM2M request to generic request: OneM2MRequest: originator: CZigBeeIPE | request_identifier: HFUz6doP5KV8SqNt | originating_timestamp: None | filter_criteria: None | request_expiration_timestamp: None | result_persistence: None | result_content: None | discovery_result_type: None | group_request_identifier: None | content: AE(path='None', id='None') | to: onem2m | delivery_aggregation: None | role: None | response_type: None | result_expiration_timestamp: None | operation: OneM2MOperation.create | operation_execution_time: None | resource_type: <class 'openmtc_onem2m.model.AE'> | event_category: None\r\nDEBUG:openmtc_onem2m.serializer.util:Encoding result: AE(path='None', id='None') - application/json\r\nDEBUG:OneM2MJsonSerializer:Encoding representation: {'ontologyRef': None, 'App-ID': u'dummy', 'appName': None, 'resourceType': None, 'accessControlPolicyIDs': [], 'labels': [], 'announcedAttribute': None, 'creationTime': None, 'announceTo': None, 'contentSerialization': None, 'pointOfAccess': [u'http://127.0.0.1:5001'], 'requestReachability': False, 'parentID': None, 'lastModifiedTime': None, 'resourceName': u'ZigBeeIPE', 'expirationTime': datetime.datetime(2017, 10, 5, 11, 36, 8, 329680, tzinfo=<openmtc.util.Utc object at 0x7f8ec1f1d2e0>), 'resourceID': None, 'childResource': [], 'AE-ID': None, 'nodeLink': None}\r\nDEBUG:OneM2MHTTPClient:Added request params: {}\r\nERROR:SimpleFlaskRunner:Error\r\nTraceback (most recent call last):\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/runner/__init__.py\", line 18, in run\r\n    self._run()\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/flask_runner/__init__.py\", line 49, in _run\r\n    self.m2m_app.run(self, self.m2m_ep)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 113, in run\r\n    self.register()\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 191, in register\r\n    registration = self.create_application(app)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 286, in create_application\r\n    app = self.mapper.create(path, application)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_onem2m/mapper/__init__.py\", line 47, in create\r\n    pc=instance\r\n  File \"build/bdist.linux-x86_64/egg/aplus/__init__.py\", line 128, in get\r\n    raise self.reason\r\nConnectionFailed: Error during HTTP request: [Errno -2] Name or service not known. Request was: POST http://frontend:8000/onem2m (0.0102s)\r\nDEBUG:SimpleFlaskRunner:Shutting down\r\nINFO:ZigBeeCoordinator:Shutting down.\r\nDEBUG:ZigBeeIPE:shutdown handler is finished\r\nDEBUG:ZigBeeIPE:subscriptions deleted\r\nDEBUG:ZigBeeIPE:app deleted\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/elastest/eds/ZigBeeIPE/src/zigbeeipe/__main__.py\", line 45, in <module>\r\n    Runner(app, host=host, port=port).run(ep)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/runner/__init__.py\", line 18, in run\r\n\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/flask_runner/__init__.py\", line 49, in _run\r\n\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 113, in run\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 191, in register\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 286, in create_application\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_onem2m/mapper/__init__.py\", line 47, in create\r\n\r\n  File \"build/bdist.linux-x86_64/egg/aplus/__init__.py\", line 128, in get\r\n\r\nopenmtc.exc.ConnectionFailed: Error during HTTP request: [Errno -2] Name or service not known. Request was: POST http://frontend:8000/onem2m (0.0102s)`\r\n\r\n- elastest/eds-memsipe:0.5.0-alpha1\r\n`PYTHONPATH: :/home/elastest/eds/MemsIPE/../futile/src:/home/elastest/eds/MemsIPE/openmtc/lib:/home/elastest/eds/MemsIPE/../common/*/src:/home/elastest/eds/MemsIPE/../serializers/*/src:/home/elastest/eds/MemsIPE/../openmtc-app/src\r\nPYTHONPATH: :/home/elastest/eds/MemsIPE/openmtc-app/src\r\nDEBUG:__main__:Trying config file location: /home/elastest/eds/MemsIPE/config.json\r\nINFO:__main__:Reading configuration file /home/elastest/eds/MemsIPE/config.json.\r\nINFO:MemsIPE:Registering application as MemsIPE.\r\nDEBUG:OneM2MHTTPClient:Mapping OneM2M request to generic request: OneM2MRequest: originator: CMemsIPE | request_identifier: okMUrJ4ifXdx6ADO | originating_timestamp: None | filter_criteria: None | request_expiration_timestamp: None | result_persistence: None | result_content: None | discovery_result_type: None | group_request_identifier: None | content: AE(path='None', id='None') | to: onem2m | delivery_aggregation: None | role: None | response_type: None | result_expiration_timestamp: None | operation: OneM2MOperation.create | operation_execution_time: None | resource_type: <class 'openmtc_onem2m.model.AE'> | event_category: None\r\nDEBUG:openmtc_onem2m.serializer.util:Encoding result: AE(path='None', id='None') - application/json\r\nDEBUG:OneM2MJsonSerializer:Encoding representation: {'ontologyRef': None, 'App-ID': u'dummy', 'appName': None, 'resourceType': None, 'accessControlPolicyIDs': [], 'labels': [], 'announcedAttribute': None, 'creationTime': None, 'announceTo': None, 'contentSerialization': None, 'pointOfAccess': [u'http://127.0.0.1:5050'], 'requestReachability': False, 'parentID': None, 'lastModifiedTime': None, 'resourceName': u'MemsIPE', 'expirationTime': datetime.datetime(2017, 10, 5, 11, 36, 7, 924940, tzinfo=<openmtc.util.Utc object at 0x7f8270ef52c0>), 'resourceID': None, 'childResource': [], 'AE-ID': None, 'nodeLink': None}\r\nDEBUG:OneM2MHTTPClient:Added request params: {}\r\nERROR:SimpleFlaskRunner:Error\r\nTraceback (most recent call last):\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/runner/__init__.py\", line 18, in run\r\n    self._run()\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/flask_runner/__init__.py\", line 49, in _run\r\n    self.m2m_app.run(self, self.m2m_ep)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 113, in run\r\n    self.register()\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 191, in register\r\n    registration = self.create_application(app)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 286, in create_application\r\n    app = self.mapper.create(path, application)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_onem2m/mapper/__init__.py\", line 47, in create\r\n    pc=instance\r\n  File \"build/bdist.linux-x86_64/egg/aplus/__init__.py\", line 128, in get\r\n    raise self.reason\r\nConnectionFailed: Error during HTTP request: [Errno -2] Name or service not known. Request was: POST http://frontend:8000/onem2m (0.0327s)\r\nDEBUG:SimpleFlaskRunner:Shutting down\r\nDEBUG:MemsIPE:shutdown handler is finished\r\nDEBUG:MemsIPE:subscriptions deleted\r\nDEBUG:MemsIPE:app deleted\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/elastest/eds/MemsIPE/src/memsipe/__main__.py\", line 34, in <module>\r\n    Runner(app, host=host, port=port).run(ep)\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/runner/__init__.py\", line 18, in run\r\n\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/flask_runner/__init__.py\", line 49, in _run\r\n\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 113, in run\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 191, in register\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_app/onem2m.py\", line 286, in create_application\r\n  File \"build/bdist.linux-x86_64/egg/openmtc_onem2m/mapper/__init__.py\", line 47, in create\r\n\r\n  File \"build/bdist.linux-x86_64/egg/aplus/__init__.py\", line 128, in get\r\n\r\nopenmtc.exc.ConnectionFailed: Error during HTTP request: [Errno -2] Name or service not known. Request was: POST http://frontend:8000/onem2m (0.0327s)`\r\n\r\n  Could you help us to solve this issue?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/elastest/elastest-device-emulator-service/issues/comments/406507406","html_url":"https://github.com/elastest/elastest-device-emulator-service/issues/77#issuecomment-406507406","issue_url":"https://api.github.com/repos/elastest/elastest-device-emulator-service/issues/77","id":406507406,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjUwNzQwNg==","user":{"login":"franciscoRdiaz","id":24293824,"node_id":"MDQ6VXNlcjI0MjkzODI0","avatar_url":"https://avatars0.githubusercontent.com/u/24293824?v=4","gravatar_id":"","url":"https://api.github.com/users/franciscoRdiaz","html_url":"https://github.com/franciscoRdiaz","followers_url":"https://api.github.com/users/franciscoRdiaz/followers","following_url":"https://api.github.com/users/franciscoRdiaz/following{/other_user}","gists_url":"https://api.github.com/users/franciscoRdiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/franciscoRdiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franciscoRdiaz/subscriptions","organizations_url":"https://api.github.com/users/franciscoRdiaz/orgs","repos_url":"https://api.github.com/users/franciscoRdiaz/repos","events_url":"https://api.github.com/users/franciscoRdiaz/events{/privacy}","received_events_url":"https://api.github.com/users/franciscoRdiaz/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T06:59:01Z","updated_at":"2018-07-20T06:59:01Z","author_association":"CONTRIBUTOR","body":"Hello @kickstart530 \r\n\r\nPlease, we need more information to help you. Could you answer the following questions?\r\n\r\n- Are you using Docker or Docker Toolbox?\r\n- What operating system do you use?\r\n- What are the specifications of your laptop?\r\n- What command are you using to start ElastTest? Please send us the command.\r\n- Could you run the `docker ps -a` command after starting ElasTest and sending us the output?\r\n\r\nFinally, please note that the correct place to create these problems is the \"elastest/elastestest\" repository https://github.com/elastest/elastest\r\n\r\nThank you.\r\n"}}
{"actor":{"display_login":"franciscoRdiaz"}}