Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Crashing #473

Closed
Suterusu1337 opened this issue Nov 22, 2014 · 13 comments
Closed

Server Crashing #473

Suterusu1337 opened this issue Nov 22, 2014 · 13 comments

Comments

@Suterusu1337
Copy link

@Suterusu1337 Suterusu1337 commented Nov 22, 2014

My server is crashing every time someone loads the chunks with an AE system

https://www.dropbox.com/s/tikwuc0c15xrpnx/crash-2014-11-21_18.33.45-server.txt?dl=0

Also note, my user UUID is referenced in EVERY crash report. I do not own the AE system nor is it in my base. Everytime the chunks are loaded for this AE system, the server crashes.

@TheJulianJES
Copy link
Contributor

@TheJulianJES TheJulianJES commented Nov 22, 2014

It's 1.7.10, right?
Is SuterusuKusanagi a member on your server or is that your username?
Is this server updated from 1.7.2 to 1.7.10?
Is/was the server in offline mode?

@yueh
Copy link
Member

@yueh yueh commented Nov 22, 2014

The switch from usernames to UUID by minecraft introduced a regression in AE2.
I suspect something between the transition from rv0 to rv1 or rv1 to rv2 and if it cannot map the username to a valid UUID (minecraft login server down or something like that)

If you are not using security terminals (or just for the wireless terminal), you can try the following.
Backup the AE2/settings.cfg file in your world folder (or even better the whole world) and then open the file.
At the end of the file is something like players {...} with one line containing I:SuterusuKusanagi=123, probably with a different number at the end.
Either delete this line or lookup the UUID for this specific username and replace it. Just the username. I: and =123 needs to stay.

This can potentially mess up any security station you are using. But it might be enough to just break and replace them again. Worst case is you need to restore the backup.

@Suterusu1337
Copy link
Author

@Suterusu1337 Suterusu1337 commented Nov 22, 2014

players {
I:08932a88-7fba-4c5c-b32f-92c0bbb46d0f=19
I:0a42a676-d809-45c7-a221-6a2218642dde=3
I:0eff9716-24f2-445a-91a9-b83352031717=18
I:11f3b8cf-cf02-4260-afe7-b210562979b9=6
I:29fc5f8f-9194-42cf-8dc1-87aef3e5de66=11
I:39ed391c-8c66-4cd8-b841-cd95b08ab56c=15
I:5ea03200-ddfc-4c5d-9d58-838aea15875e=1
I:7918d204-899d-4949-8f52-5e8d0c1a63b0=9
I:7d30e903-a932-428e-a637-2567d6cc1a4b=4
I:84b911c9-b6fd-44db-b54a-36e3fa1a4194=17
I:9011066e-fe58-4e23-958f-d90c474d8fec=8
I:SuterusuKusanagi=0
I:a7489704-aa8f-4772-b135-d64833da44a4=5
I:b2414f04-7255-4754-9bd4-24ee15c5b9ee=2
I:bc326a9b-5a4e-4e64-995d-9b5313672585=10
I:d25e78cf-174d-458a-96d5-1ed4e0c9902f=13
I:dadc1465-ec81-4ff2-a018-50b7bcfd759f=7
I:eafa19d0-388b-417a-8f05-d0ac84fab540=20
I:f133e648-bc8d-49b8-bc78-f2330157612b=12
I:f2930afe-6c0a-4375-bade-ae95013ecdef=21
I:f3e051ee-3023-4608-8775-4bcc1f354650=14
I:fd39adc6-97b4-4c57-a43c-5f0c258f5fd4=16
}

I replaced "SuterusuKusanagi" with the UUID 5ea03200-ddfc-4c5d-9d58-838aea15875e

@Suterusu1337
Copy link
Author

@Suterusu1337 Suterusu1337 commented Nov 22, 2014

That fixed it

@TheJulianJES
Copy link
Contributor

@TheJulianJES TheJulianJES commented Nov 22, 2014

Good! Please close this now.

@yueh
Copy link
Member

@yueh yueh commented Nov 22, 2014

Now I am a bit curious, as this is the first player.

With which version did you start (rv0/rv1?) on the server?
As this is the first player recognized by AE, is the player still active?

@TheJulianJES
Copy link
Contributor

@TheJulianJES TheJulianJES commented Nov 22, 2014

Maybe it was in offline mode or he started in 1.7.2?

@Suterusu1337
Copy link
Author

@Suterusu1337 Suterusu1337 commented Nov 22, 2014

Started in 1.7.2 on Beyond Reality. We are on 1.7.10 for a while now. The player "SuterusuKusanagi" was the only user of AE2 during 1.7.2 (pre public server).

Issue started when we upgraded to: appliedenergistics2-rv2-alpha-22.jar

Prior to that we were on: RV2 Alpha-14 (I think)

@TheJulianJES
Copy link
Contributor

@TheJulianJES TheJulianJES commented Nov 22, 2014

Okay, in 1.7.2 there were no UUIDs, thank's!

@yueh
Copy link
Member

@yueh yueh commented Nov 22, 2014

I do not think that 1.7.2 is the issue by itself and I am also not remembering any changes between rv2 b14 and b22, which might cause it.

It sounds as if some code for the backwards compatibility was removed and did not get a chance to convert it to UUID or something like that.

I would try to track it down, but there are probably very few 1.7.2 worlds left.
So without any additional report, I fear it might be a bit too much work.

@TheJulianJES
Copy link
Contributor

@TheJulianJES TheJulianJES commented Nov 22, 2014

Right, maybe you can ask @AlgorithmX2 for the old changelogs?

thatsIch pushed a commit that referenced this issue Nov 30, 2014
thatsIch
Fixes #473, catches outdated player names and checks if all entries are UUIDs before converted and thus prevents the server crashing.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.