{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "284710",
   "self": "https://bugs.mojang.com/rest/api/2/issue/284710",
   "key": "BDS-2823",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "5",
      "customfield_10500": null,
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2020-03-05T14:27:29.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-2823/watchers",
         "watchCount": 0,
         "isWatching": false
      },
      "created": "2020-01-17T19:19:59.000+0200",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [],
      "customfield_11700": "{}",
      "versions": [
         "18746"
      ],
      "issuelinks": [],
      "assignee": null,
      "updated": "2020-03-06T04:18:55.000+0200",
      "status": "5",
      "description": "Unable to launch BDS in windows 10. Version is listed as 1.14.1.4 though this bug report does not show that as a released version. I have confirmed that the default port is not being used by any other services. I have opened the port in windows firewall.\n\nAfter starting the .exe the following output is received:\n\nNO LOG FILE! - setting up server logging...\nNO LOG FILE! - [2020-01-17 11:11:11 INFO] Starting Server\nNO LOG FILE! - [2020-01-17 11:11:11 INFO] Version 1.14.1.4\nNO LOG FILE! - [2020-01-17 11:11:11 INFO] Session ID efefd3a0-36e5-4a10-bc1d-ed536e9f4079\nNO LOG FILE! - [2020-01-17 11:11:11 INFO] Level Name: Bedrock level\nNO LOG FILE! - [2020-01-17 11:11:11 INFO] Game mode: 0 Survival\nNO LOG FILE! - [2020-01-17 11:11:11 INFO] Difficulty: 2 NORMAL\nNO LOG FILE! - [2020-01-17 11:11:13 ERROR] Network port occupied, can't start server.",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": null,
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "272090"
      ],
      "summary": "Network port occupied, can't start server",
      "creator": "acyd69",
      "reporter": "acyd69",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i16zfz:",
      "environment": "Windows 10 Home version 1903 OS build 18362.592",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/626358",
               "id": "626358",
               "author": "acyd69",
               "body": "Update to my issue.\n\nAfter speaking about the problem on the Discord server, I attempted to load the BDS while in Windows Safe Mode with Networking. Doing resulted in expected execution of the program. I noted the following information while the BDS was active:\n # BDS requires ports 49664 and 49665 for UDP besides the editable ports from the server.properties file.\n # The ports 49664 and 49665 are claimed by Windows Start-up Application (WinInit.exe) and Local Security Authority Process (lsass.exe). These two application are only using TCP.\n # During a normal start-up windows will not allow these ports to be used by BDS, but does allow it during Safe Mode start-up.\n # These applications cannot be terminated without shutting down Windows OS.\n # BDS does not allow for the use of different ports in this portion of the application.\n\n\u00a0",
               "updateAuthor": "acyd69",
               "created": "2020-01-21T17:59:28.340+0200",
               "updated": "2020-01-21T17:59:28.340+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/630564",
               "id": "630564",
               "author": "ionicecko",
               "body": "Hi Phillip,\n\nAre you still having this issue? I run numerous Bedrock servers on a Windows box and haven't seen this issue. Not to say it doesn't exist, just working out if it is environment specific for you or in some way random.",
               "updateAuthor": "ionicecko",
               "created": "2020-02-07T06:22:42.259+0200",
               "updated": "2020-02-07T06:22:42.259+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/630919",
               "id": "630919",
               "author": "acyd69",
               "body": "Looks like the issue is continuing in 1.14.2.1. I am able to get BDS to run in safemode with networking enabled and have had a stable server running for more than a week.\u00a0",
               "updateAuthor": "acyd69",
               "created": "2020-02-08T00:21:35.237+0200",
               "updated": "2020-02-08T00:21:35.237+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/630947",
               "id": "630947",
               "author": "ionicecko",
               "body": "Hey Phillip,\n\nAre you using the default ports in the server.properties file or alternate ports? I have 3 servers (running on 19132, 19134 and 19136 IPv4) all on the same Windows box that haven't had any issues so it might help the devs if we can get some more information for them on your particular setup.\n\nIonic",
               "updateAuthor": "ionicecko",
               "created": "2020-02-08T01:04:15.089+0200",
               "updated": "2020-02-08T01:04:34.651+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/630974",
               "id": "630974",
               "author": "acyd69",
               "body": "I\u2019d be happy to work with you on this. I am running complete defaults. I did notice that the problematic ports aren\u2019t always the same number. For your information I encounter this issue on two separate machines.",
               "updateAuthor": "acyd69",
               "created": "2020-02-08T03:02:41.933+0200",
               "updated": "2020-02-08T03:02:41.933+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/641448",
               "id": "641448",
               "author": "skwirl42",
               "body": "I've come across this issue, as well. I imagine it's the same Windows processes using it on my machine, but running in Safe Mode is not an option for me. I'm attempting to run bedrock server version 1.14.30.2 with default network settings, on Windows 10 Home, Version 10.0.18362.\n\nI have a Java server running, so I tried running BDS without, but no luck.",
               "updateAuthor": "skwirl42",
               "created": "2020-03-01T02:03:25.410+0200",
               "updated": "2020-03-01T02:03:25.410+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/641451",
               "id": "641451",
               "author": "skwirl42",
               "body": "An update, after reading some of the comments on https://bugs.mojang.com/browse/BDS-752\u00a0I tried removing the server and level name from my server.properties and suddenly it runs fine for me. Apart from not having a server name.",
               "updateAuthor": "skwirl42",
               "created": "2020-03-01T02:07:06.130+0200",
               "updated": "2020-03-01T02:07:06.130+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/642787",
               "id": "642787",
               "author": "ionicecko",
               "body": "In that same vein, on your Windows machine do you have IPv6 disabled or anything not \"out of the box\" like that?\n\nCan you try 1.14.32.1 and see if the issue is still present.\n\nIf so, can you zip the entire server directory and share it so I can chuck it on my WS2019 box that has my other servers and see how it behaves? I've never experienced it not launch like this.",
               "updateAuthor": "ionicecko",
               "created": "2020-03-04T14:14:26.403+0200",
               "updated": "2020-03-04T14:14:26.403+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/642822",
               "id": "642822",
               "author": "acyd69",
               "body": "IonicEcko,\n\nI have not adjusted anything in windows at that level. I tried the new version for BDS, but continue to have issues. It is even generating some new problems, but I think those stem from not being able to make a connection. I have not tried 1.14.32.1 in safe mode yet, so I am not sure what you hope to gain from a copy of my directory as it is straight default from the download. I have attached it though. I also included a screen shot of the BDS window showing the errors.\n\nHere is a link to the zipped file in my dropbox:\u00a0[https://www.dropbox.com/s/lv9wm3xi6nl34s8/BDS%201.14.32.1.zip?dl=0]\n\n\u00a0",
               "updateAuthor": "acyd69",
               "created": "2020-03-04T16:37:40.043+0200",
               "updated": "2020-03-04T16:37:40.043+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/642825",
               "id": "642825",
               "author": "acyd69",
               "body": "James Dessart,\n\nRemoving the names made no difference in my attempts. Thank you for the suggestion however. keeping my fingers crossed.",
               "updateAuthor": "acyd69",
               "created": "2020-03-04T16:38:56.966+0200",
               "updated": "2020-03-04T16:38:56.966+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643160",
               "id": "643160",
               "author": "skwirl42",
               "body": "I commented out the entire server and level name lines from the file, not just my changes to those settings. I've attached my server.properties file, if you want to give it a try.",
               "updateAuthor": "skwirl42",
               "created": "2020-03-05T02:45:42.118+0200",
               "updated": "2020-03-05T02:46:26.340+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643173",
               "id": "643173",
               "author": "skwirl42",
               "body": "Did a bit more experimenting and it seems in 1.14.30.2 when I had double quotes in the level name setting it wouldn't start up. Seems it's not a fan of quoted strings, although I can't imagine why that would affect the network connection.\n\nWith 1.14.32.1 I got the following output when I tried to put double quotes in the level name, so maybe this is happening in 1.14.30.2 and just isn't showing all the errors:\n\nNO LOG FILE! - setting up server logging...\n[2020-03-04 21:35:41 INFO] Starting Server\n[2020-03-04 21:35:41 INFO] Version 1.14.32.1\n[2020-03-04 21:35:41 INFO] Session ID 3ed5e3a9-f4ec-4a56-b63f-79a463349d98\n[2020-03-04 21:35:41 INFO] Level Name: \"Bedrock level\"\n[2020-03-04 21:35:41 INFO] Game mode: 0 Survival\n[2020-03-04 21:35:41 INFO] Difficulty: 1 EASY\n[2020-03-04 21:35:41 INFO] opening worlds/\"Bedrock level\"/db\n[2020-03-04 21:35:41 WARN] LevelDB worlds/\"Bedrock level\"/db status NOT OK(IO error: _wfopen_s failed to open file for: WriteTruncateCreateBinary(wb). ErrorCode: 22 - 'Invalid argument'). Trying repair.\n[2020-03-04 21:35:41 ERROR] Failed to open LevelDB!\n[2020-03-04 21:35:41 ERROR] IO error: _wfopen_s failed to open file for: WriteTruncateCreateBinary(wb). ErrorCode: 22 - 'Invalid argument'\n[2020-03-04 21:35:41 ERROR] Network port occupied, can't start server.",
               "updateAuthor": "skwirl42",
               "created": "2020-03-05T03:37:25.835+0200",
               "updated": "2020-03-05T03:37:25.835+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643177",
               "id": "643177",
               "author": "ionicecko",
               "body": "@Phillip - I noticed you're running the server from C:\\Program Files (x86)\\, have you confirmed that the user running the software has permission to create and modify files in that location without the need to elevate? The error in your screenshot appears to be a write error.\n\nCan you try right clicking bedrock_server.exe and clicking \"Run as Administrator\"\n\nIonic",
               "updateAuthor": "ionicecko",
               "created": "2020-03-05T03:46:44.884+0200",
               "updated": "2020-03-05T03:47:01.918+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643178",
               "id": "643178",
               "author": "ionicecko",
               "body": "[~skwirl42] you shouldn't be encasing your level name with inverted commas, does it work if you remove those?",
               "updateAuthor": "ionicecko",
               "created": "2020-03-05T03:51:31.025+0200",
               "updated": "2020-03-05T03:51:31.025+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643187",
               "id": "643187",
               "author": "acyd69",
               "body": "Holy smokes! Yes, it just needed to be run as admin. I don't have any specific accounts on the computer, so I rarely think about this. Thank you for the help. I bet it would have worked fine some time ago if I had just put the folder somewhere else. That's what I get for trying to be organized.",
               "updateAuthor": "acyd69",
               "created": "2020-03-05T04:24:02.161+0200",
               "updated": "2020-03-05T04:24:02.161+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643190",
               "id": "643190",
               "author": "ionicecko",
               "body": "Always good when its the simple stuff (but also not because you want to kick yourself).\n\nHappy Minecrafting!\n\nIonic",
               "updateAuthor": "ionicecko",
               "created": "2020-03-05T04:26:57.979+0200",
               "updated": "2020-03-05T04:26:57.979+0200"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/284710/comment/643719",
               "id": "643719",
               "author": "skwirl42",
               "body": "@IonicEcko\u00a0Removing the quotation marks does allow it to work. Thanks!",
               "updateAuthor": "skwirl42",
               "created": "2020-03-06T04:18:55.105+0200",
               "updated": "2020-03-06T04:18:55.105+0200"
            }
         ],
         "maxResults": 17,
         "total": 17,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-2823/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 4,
      "total": 4,
      "histories": [
         {
            "id": "1456025",
            "author": "ionicecko",
            "created": "2020-03-04T15:11:58.864+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "awaiting-response"
               }
            ]
         },
         {
            "id": "1457348",
            "author": "skwirl42",
            "created": "2020-03-05T02:45:16.971+0200",
            "items": [
               {
                  "field": "Attachment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "272090",
                  "toString": "server.properties"
               }
            ]
         },
         {
            "id": "1457470",
            "author": "ionicecko",
            "created": "2020-03-05T08:48:30.521+0200",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "awaiting-response",
                  "to": null,
                  "toString": ""
               }
            ]
         },
         {
            "id": "1457689",
            "author": "ocelotonesie",
            "created": "2020-03-05T14:27:29.819+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "5",
                  "toString": "Cannot Reproduce"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         }
      ]
   }
}