Client crashes when loading assets

The worst monsters in the Hearthlands warp the fabric of space and time...

Re: Client crashes when loading assets

Postby derkami » Mon Nov 04, 2024 12:27 am

You have a TTL on your domains of 5 minutes. That means cache is "forced" to check every 5 minutes for resolving the name to an IP.
Now there are ISPs with their own DNS which fails because of whatever reason.
Using a reliable DNS server is one solution, fixing domain and IP another. Setting a much higher TTL would also help.
Nothing you can do to prevent this, other than not using domain names and revert back to IP. The easiest fix would probably be a higher TTL, except you are planning to switch servers again soon.
Image
Image
Image
User avatar
derkami
 
Posts: 145
Joined: Thu Jun 02, 2016 11:28 pm

Re: Client crashes when loading assets

Postby loftar » Mon Nov 04, 2024 12:34 am

Not sure that explains it, though. Again, the weirdest part is that noone ever complains about the website and the launcher seems to work. It's just the client proper that fails to resolve the names.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Client crashes when loading assets

Postby derkami » Mon Nov 04, 2024 12:47 am

I never had this issue. But I have friends that had this issue. All of them were from overseas. None of them had this issue when they fixed the name and IP in host file or were using custom configured DNS.

I would not go so far and see any issue in java / the client.
Browsers are more resilient... Look at DNS prefetching.
Image
Image
Image
User avatar
derkami
 
Posts: 145
Joined: Thu Jun 02, 2016 11:28 pm

Re: Client crashes when loading assets

Postby loftar » Mon Nov 04, 2024 6:08 am

derkami wrote:I would not go so far and see any issue in java / the client.
Browsers are more resilient... Look at DNS prefetching.

I don't see DNS prefetching as a resiliency feature, but rather a performance optimization, but regardless of that, it still doesn't explain why the Launcher (which is also written in Java) works, while the client doesn't.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Client crashes when loading assets

Postby derkami » Mon Nov 04, 2024 9:58 am

The way I see it, if I implement any type of caching mechanism, that prevents random DNS Issues, gaining performance and resilience is both a valid outcome of that.

In any case, the Launcher is started ever so often while the game sends request over a longer timespan regularly. Statistically the chance of having a hiccup is way higher in the game than on the launcher.

If I remember correctly you send yourself errors anyway, why don't you just collect the info on that one until Friday and then just change the TTL to 1h or 6h for testing purpose and see if a week later the frequency is lower.
I bet you a 90 day gold sub it will. Would love to see the raw data on that one.
Image
Image
Image
User avatar
derkami
 
Posts: 145
Joined: Thu Jun 02, 2016 11:28 pm

Re: Client crashes when loading assets

Postby loftar » Mon Nov 04, 2024 6:55 pm

derkami wrote:In any case, the Launcher is started ever so often while the game sends request over a longer timespan regularly. Statistically the chance of having a hiccup is way higher in the game than on the launcher.

That was my previous thought as well, but in this thread people are claiming that it fails consistently and that they can't even properly log in.

derkami wrote:If I remember correctly you send yourself errors anyway, why don't you just collect the info on that one until Friday and then just change the TTL to 1h or 6h for testing purpose and see if a week later the frequency is lower.

It doesn't happen very often, so I kind of doubt I have enough reports on it to create reliable statistics, but I'll look over the data and consider it. If I can get reliable data, it can certainly be worth trying.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Previous

Return to Bugs

Who is online

Users browsing this forum: Claude [Bot], Yahoo [Bot] and 68 guests