{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3480","repository_url":"https://api.github.com/repos/Starcounter/Starcounter","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3480/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3480/comments","events_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3480/events","html_url":"https://github.com/Starcounter/Starcounter/issues/3480","id":146871290,"number":3480,"title":"ScErrNetworkGatewayTerminated during start of app","user":{"login":"ivarbergman","id":112064,"avatar_url":"https://avatars.githubusercontent.com/u/112064?v=3","gravatar_id":"","url":"https://api.github.com/users/ivarbergman","html_url":"https://github.com/ivarbergman","followers_url":"https://api.github.com/users/ivarbergman/followers","following_url":"https://api.github.com/users/ivarbergman/following{/other_user}","gists_url":"https://api.github.com/users/ivarbergman/gists{/gist_id}","starred_url":"https://api.github.com/users/ivarbergman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivarbergman/subscriptions","organizations_url":"https://api.github.com/users/ivarbergman/orgs","repos_url":"https://api.github.com/users/ivarbergman/repos","events_url":"https://api.github.com/users/ivarbergman/events{/privacy}","received_events_url":"https://api.github.com/users/ivarbergman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/Gateway","name":"Gateway","color":"000000"},{"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/Management","name":"Management","color":"d93f0b"}],"state":"open","locked":false,"assignee":{"login":"alemoi","id":208134,"avatar_url":"https://avatars.githubusercontent.com/u/208134?v=3","gravatar_id":"","url":"https://api.github.com/users/alemoi","html_url":"https://github.com/alemoi","followers_url":"https://api.github.com/users/alemoi/followers","following_url":"https://api.github.com/users/alemoi/following{/other_user}","gists_url":"https://api.github.com/users/alemoi/gists{/gist_id}","starred_url":"https://api.github.com/users/alemoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alemoi/subscriptions","organizations_url":"https://api.github.com/users/alemoi/orgs","repos_url":"https://api.github.com/users/alemoi/repos","events_url":"https://api.github.com/users/alemoi/events{/privacy}","received_events_url":"https://api.github.com/users/alemoi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Starcounter/Starcounter/milestones/51","html_url":"https://github.com/Starcounter/Starcounter/milestones/v2.x","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/milestones/51/labels","id":602455,"number":51,"title":"v2.x","description":"","creator":{"login":"Starcounter-Jack","id":1219049,"avatar_url":"https://avatars.githubusercontent.com/u/1219049?v=3","gravatar_id":"","url":"https://api.github.com/users/Starcounter-Jack","html_url":"https://github.com/Starcounter-Jack","followers_url":"https://api.github.com/users/Starcounter-Jack/followers","following_url":"https://api.github.com/users/Starcounter-Jack/following{/other_user}","gists_url":"https://api.github.com/users/Starcounter-Jack/gists{/gist_id}","starred_url":"https://api.github.com/users/Starcounter-Jack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Starcounter-Jack/subscriptions","organizations_url":"https://api.github.com/users/Starcounter-Jack/orgs","repos_url":"https://api.github.com/users/Starcounter-Jack/repos","events_url":"https://api.github.com/users/Starcounter-Jack/events{/privacy}","received_events_url":"https://api.github.com/users/Starcounter-Jack/received_events","type":"User","site_admin":false},"open_issues":349,"closed_issues":520,"state":"open","created_at":"2014-03-19T09:04:00Z","updated_at":"2016-04-25T17:26:35Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-04-08T09:15:28Z","updated_at":"2016-04-26T07:51:37Z","closed_at":null,"body":"(This issue originates from a discussion with @ivarbergman @per-samuelsson  and @dan31 .)\r\n\r\nOn one of our production server we experience an error when starting the Launcher app after a `staradmin kill all`:\r\n\r\n    staradmin kill all\r\n    star -d=intranet --resourcedir=\"Launcher\\Client\" \"%cd%\\Launcher.exe\"\r\n\r\nThe error output one the console is:\r\n\r\n    Launcher -> intranet (starting database ...)\r\n    \r\n    [06:11:49, Starcounter (service)]\r\n    Process exitcode: 2114\r\n    \r\n    [06:11:49, Starcounter (service)]\r\n    ScErrNetworkGatewayTerminated (SCERR10021): The server detected that the network\r\n     gateway executable (scnetworkgateway.exe) unexpectedly terminated.\r\n    \r\n\r\nOur solution has been to start the Launcher 2 times, since the 2:d time we start Launcher it works. \r\n\r\nBelow is a larger section of the starcounter log\r\n\r\n\r\n    [06:24:56, Notice, Starcounter (intranet)]\r\n    The database has been unloaded.\r\n    \r\n    [06:24:57, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:25:56, Error, Starcounter (service)]\r\n    ScErrNetworkGatewayTerminated (SCERR10021): The server detected that the network gateway executable (scnetworkgateway.exe) unexpectedly terminated.\r\n    \r\n    [06:25:56, Error, Starcounter (service)]\r\n    Process exitcode: 2114\r\n    \r\n    [06:25:56, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:27:06, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:27:26, Warning, Starcounter.Server (scadminserver)]\r\n    ScErrDbProcNotSignaling (SCERR10027): The database data process, when started, didn't signal it was operational in time. scdata.exe, PID=2756, Database=intranet. Start time: 2016-04-08 06:27:21; time spent waiting: 00:00:05.\r\n    Version: 2.1.1658.\r\n    Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR10027.\r\n    \r\n    [06:28:27, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:31:34, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:38:55, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:40:40, Warning, Starcounter.Server (scadminserver)]\r\n    ScErrDbProcNotSignaling (SCERR10027): The database data process, when started, didn't signal it was operational in time. scdata.exe, PID=5056, Database=playground. Start time: 2016-04-08 06:40:35; time spent waiting: 00:00:05.\r\n    Version: 2.1.1658.\r\n    Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR10027.\r\n    \r\n    [06:47:19, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    [06:54:26, Notice, Starcounter (intranet)]\r\n    Checkpoint completed.\r\n    \r\n    [06:56:11, Notice, Starcounter (playground)]\r\n    The database has been unloaded.\r\n    \r\n    [06:56:12, Warning, Starcounter (networkgateway)]\r\n    Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n    \r\n    \r\n"},"comment":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/comments/214658796","html_url":"https://github.com/Starcounter/Starcounter/issues/3480#issuecomment-214658796","issue_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/3480","id":214658796,"user":{"login":"ivarbergman","id":112064,"avatar_url":"https://avatars.githubusercontent.com/u/112064?v=3","gravatar_id":"","url":"https://api.github.com/users/ivarbergman","html_url":"https://github.com/ivarbergman","followers_url":"https://api.github.com/users/ivarbergman/followers","following_url":"https://api.github.com/users/ivarbergman/following{/other_user}","gists_url":"https://api.github.com/users/ivarbergman/gists{/gist_id}","starred_url":"https://api.github.com/users/ivarbergman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivarbergman/subscriptions","organizations_url":"https://api.github.com/users/ivarbergman/orgs","repos_url":"https://api.github.com/users/ivarbergman/repos","events_url":"https://api.github.com/users/ivarbergman/events{/privacy}","received_events_url":"https://api.github.com/users/ivarbergman/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T07:51:37Z","updated_at":"2016-04-26T07:51:37Z","body":"Hi! Today we upgrade our production server to version 2.2.1872 and I got the same error on Luncher start. But this time I see a `Process exitcode: 2114` message in the logs. \r\n\r\n```\r\n20160426T073921 Warning sc://tunityintranet/personal/networkgateway Starcounter - Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n20160426T073944 Debug sc://tunityintranet/personal/intranet Starcounter - Starting recovery at address 106579. Next commit id is 61017.\r\n20160426T074005 Debug sc://tunityintranet/personal/intranet Starcounter - Recovery completed. 3056 transactions recovered.\r\n20160426T074005 Debug sc://tunityintranet/personal/intranet Starcounter - Starting log writer at address 113182. Next commit id is 64073.\r\n20160426T074012 Error sc://tunityintranet/personal/service Starcounter - ScErrNetworkGatewayTerminated (SCERR10021): The server detected that the network gateway executable (scnetworkgateway.exe) unexpectedly terminated.\r\n20160426T074012 Error sc://tunityintranet/personal/service Starcounter - Process exitcode: 2114\r\n20160426T074012 Warning sc://tunityintranet/personal/networkgateway Starcounter - Gateway XML: MaximumReceiveContentLength parameter exceeds maximum value. Current value is set to 2096936.\r\n```\r\n\r\nThe behaviour is the same as before. The second time I start Launcher it works.\r\n"}}