This shit ain't workin', or this forum's unusable on mobile (iOS)
-
Ever since yesterday I can't navigate the forum on mobile (iOS 10.1.1). This shit ain't working.
When I click a link, it freezes at 3/4ths of the loading bar and it doesn't progress. I have to click reload for it to show anything. Images don't load. Notifications don't load. I probably have quite a few replies that I've never learned about, because I went to the topic, they got erased and then the thread wouldn't load so I'd give up altogether.
A few days before yesterday I have started seeing the "you lost connection" toasters much more frequently, so maybe there were some stuff in the updates that were rolled out that killed it.
However the fact remains: I can't fucking browse the forum on mobile so it became almost entirely useless to me :/
-
I think that happens on every platform.
-
Yeah, I don't think that's mobile, it's just cooties. Either that or someone installed iOS on my desktop without me noticing.
-
@blek said in This shit ain't workin', or this forum's unusable on mobile (iOS):
it's just cooties
it's a new breed of cooties that servercooties.io isn't detecting as yet....
i have no idea why.
-
In all fairness, this shitty forum software doesn't work properly on any platform.
Filed under: Cross Platform Shittiness
-
I was having that problem yesterday but not today.
-
@kt_ said in This shit ain't workin', or this forum's unusable on mobile (iOS):
so it became almost entirely useless to me :/
Because it was useful before ?
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
it's a new breed of cooties that servercooties.io isn't detecting as yet....
Oh, I kept thinking it was something weird on my end because servercooties kept showing everything as fine. Glad to know it's not just me these past several days.
-
@LB_ said in This shit ain't workin', or this forum's unusable on mobile (iOS):
Oh, I kept thinking it was something weird on my end because servercooties kept showing everything as fine. Glad to know it's not just me these past several days.
That doesn't mean there is nothing wrong with you !!!
-
@LB_ said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
it's a new breed of cooties that servercooties.io isn't detecting as yet....
Oh, I kept thinking it was something weird on my end because servercooties kept showing everything as fine. Glad to know it's not just me these past several days.
yeah. it's pretty weird.
-
@LB_ said in This shit ain't workin', or this forum's unusable on mobile (iOS):
Oh, I kept thinking it was something weird on my end because servercooties kept showing everything as fine. Glad to know it's not just me these past several days.
Yes, so much better that the weirdness affects the entire forum than a single user.
-
@accalia Considering there are multiple NodeBB instances running, isn't it possible that some people are being handled by an instance that has checked out, but servercooties is on one that's still running fine?
-
@ChaosTheEternal said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia Considering there are multiple NodeBB instances running, isn't it possible that some people are being handled by an instance that has checked out, but servercooties is on one that's still running fine?
honestly that's probably it.
it would be nice if servercooties could set some headers or something to pin to instances so it can check all instances but..... -shrug- if that's possible it hasn't been communicated to me.
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ChaosTheEternal said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia Considering there are multiple NodeBB instances running, isn't it possible that some people are being handled by an instance that has checked out, but servercooties is on one that's still running fine?
honestly that's probably it.
it would be nice if servercooties could set some headers or something to pin to instances so it can check all instances but..... -shrug- if that's possible it hasn't been communicated to me.
I don't think there is, but you could use the
x-upstream
header to keep making connections to the server until you get all of them
-
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
I don't think there is, but you could use the x-upstream header to keep making connections to the server until you get all of them
you have my attention
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
I don't think there is, but you could use the x-upstream header to keep making connections to the server until you get all of them
you have my attention
Well it sends an
x-upstream
header to indicate which (virtual) server you connected to.So theoretically, you could probably keep retrying until you got all of them, assuming you have a list of valid upstreams.
Not that I think that's a good idea or anything :P
-
@sloosecannon cc @ben_lubar to make sure I'm not just totally crazy.
There might be a way to force an upstream too
-
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
I don't think there is, but you could use the x-upstream header to keep making connections to the server until you get all of them
you have my attention
Well it sends an
x-upstream
header to indicate which (virtual) server you connected to.So theoretically, you could probably keep retrying until you got all of them, assuming you have a list of valid upstreams.
Not that I think that's a good idea or anything :P
oh.
yeah that's a bad idea.
unless i want to cause cooties with servercooties.io........ again
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
unless i want to cause cooties with servercooties.io........ again
Toby Faire, NodeBB seems to be much better at responding to things like that without falling over, unlike a certain other forum software
But yeah, still not really a good idea
-
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
So theoretically, you could probably keep retrying until you got all of them
Go here for an upstream calculator: https://benlubar.github.io/useless-crap/nodebb-upstream.html
It will only send you to the next upstream if the previous one is dead.
-
@ben_lubar so controlling which upstream instance you get from a single IP is.......?
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ben_lubar so controlling which upstream instance you get from a single IP is.......?
A hash function defined deep inside nginx.
-
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ben_lubar so controlling which upstream instance you get from a single IP is.......?
A hash function defined deep inside nginx.
So without allowing it access into the deep internals of the server running NodeBB, there's no way for ServerCooties to request a specific upstream?
-
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
A hash function
definedforged deep insidenginxMount Doom.
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ChaosTheEternal said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia Considering there are multiple NodeBB instances running, isn't it possible that some people are being handled by an instance that has checked out, but servercooties is on one that's still running fine?
honestly that's probably it.
it would be nice if servercooties could set some headers or something to pin to instances so it can check all instances but..... -shrug- if that's possible it hasn't been communicated to me.
Ooh, multi-instance graphs? It would look like nascar I think!
So the question is... can you set the
x-upstream:172.18.0.254:4569
header and request multiple times per check (for all the different endpoints)?Edit: of course. ugh...
-
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ben_lubar so controlling which upstream instance you get from a single IP is.......?
A hash function defined deep inside nginx.
So without allowing it access into the deep internals of the server running NodeBB, there's no way for ServerCooties to request a specific upstream?
If you can find a way to call a specific upstream with nginx's ip_hash, do tell.
-
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@ben_lubar so controlling which upstream instance you get from a single IP is.......?
A hash function defined deep inside nginx.
So without allowing it access into the deep internals of the server running NodeBB, there's no way for ServerCooties to request a specific upstream?
If you can find a way to call a specific upstream with nginx's ip_hash, do tell.
I'd make them accessible somehow, maybe via subdomains or just opening the ports?
Assuming there's not some kind of security risk from it...
-
0.what.thedailywtf.com
1.what.thedailywtf.com
2.what.thedailywtf.com
3.what.thedailywtf.com
4.what.thedailywtf.com
5.what.thedailywtf.com
6.what.thedailywtf.com
7.what.thedailywtf.com
???
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
0.what.thedailywtf.com
1.what.thedailywtf.com
2.what.thedailywtf.com
3.what.thedailywtf.com
4.what.thedailywtf.com
5.what.thedailywtf.com
6.what.thedailywtf.com
7.what.thedailywtf.com
???
I mean, basically. Ports are probably easier, but they're also easier for someone to find with a random port-scan so...
-
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
Ports are probably easier,
meh. depending on the nginx setup not thaaaaaat much easier.
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
if that's possible it hasn't been communicated to me.
Or it has in the form of a seemingly unrelated picture
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
it's a new breed of cooties that servercooties.io isn't detecting as yet....
It's because it's one instance out of eight going down. Each user, including the virtual servercooties.io user, is farmed to an instance, and if the instance is working fine, it detects no problem. If the instance is overloaded, you get cooties, and you're trapped on that instance until it's rebooted.
-
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
If you can find a way to call a specific upstream with nginx's ip_hash, do tell.
Does it do the calculation once and send some token to the client to keep them on that instance, or does it do the calculation on every request?
-
ALSO. If we're having instances overloaded, shouldn't we change the load balancer to
least-connected
mode? Apparentlyip-hash
uses the first three octets of the IPv4 address, which explains why all the chinese spiders get sent to the same server and overload it. You can instead useleast-connected
with sticky module to keep people on the instance they started with -- and allow servercooties.io to spoof the sticky cookie and get all the instances.
-
This shit ain't workin', or this forum's unusable on mobile (iOS)
-
@Yamikuronue said in This shit ain't workin', or this forum's unusable on mobile (iOS):
ALSO. If we're having instances overloaded, shouldn't we change the load balancer to
least-connected
mode? Apparentlyip-hash
uses the first three octets of the IPv4 address, which explains why all the chinese spiders get sent to the same server and overload it. You can instead useleast-connected
with sticky module to keep people on the instance they started with -- and allow servercooties.io to spoof the sticky cookie and get all the instances.Good Idea!
-
@kt_ Sounds very much like the problem Ive been having. Is your language set to Pirate by chance?
-
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@Yamikuronue said in This shit ain't workin', or this forum's unusable on mobile (iOS):
ALSO. If we're having instances overloaded, shouldn't we change the load balancer to
least-connected
mode? Apparentlyip-hash
uses the first three octets of the IPv4 address, which explains why all the chinese spiders get sent to the same server and overload it. You can instead useleast-connected
with sticky module to keep people on the instance they started with -- and allow servercooties.io to spoof the sticky cookie and get all the instances.Good Idea!
hmm...... @benlubar, you got an up to date copy of the nginx setup we've got on new server? cause i'm sure we could get things sorted out no problem and just hand you the updated config (and a list of packages you may need to install)
i nominate @sloosecannon to do the config editing, but failing that i suppose i could take a crack at it.
-
@accalia said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@sloosecannon said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@Yamikuronue said in This shit ain't workin', or this forum's unusable on mobile (iOS):
ALSO. If we're having instances overloaded, shouldn't we change the load balancer to
least-connected
mode? Apparentlyip-hash
uses the first three octets of the IPv4 address, which explains why all the chinese spiders get sent to the same server and overload it. You can instead useleast-connected
with sticky module to keep people on the instance they started with -- and allow servercooties.io to spoof the sticky cookie and get all the instances.Good Idea!
hmm...... @benlubar, you got an up to date copy of the nginx setup we've got on new server? cause i'm sure we could get things sorted out no problem and just hand you the updated config (and a list of packages you may need to install)
i nominate @sloosecannon to do the config editing, but failing that i suppose i could take a crack at it.
I can do that.
-
@Erufael said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@kt_ Sounds very much like the problem Ive been having. Is your language set to Pirate by chance?
+1000000!
I can post again. You, sir, have fixed the forums for me!
I couldn't even fucking post before!
BTW, what a fucking moronic bug it is, that breaks the forum for you if you use a specific language for the app? @ben_lubar ?
-
@kt_ said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@Erufael said in This shit ain't workin', or this forum's unusable on mobile (iOS):
@kt_ Sounds very much like the problem Ive been having. Is your language set to Pirate by chance?
+1000000!
I can post again. You, sir, have fixed the forums for me!
I couldn't even fucking post before!
BTW, what a fucking moronic bug it is, that breaks the forum for you if you use a specific language for the app? @ben_lubar ?
I'm not sure which is stupider: this bug, or the fact that it's caused by a standardized function that takes an arbitrary string that isn't guaranteed to have the same result between implementations not liking the input string.
-
@ben_lubar said in This shit ain't workin', or this forum's unusable on mobile (iOS):
I'm not sure which is stupider: this bug, or the fact that it's caused by a standardized function that takes an arbitrary string that isn't guaranteed to have the same result between implementations not liking the input string.
NodeBB - Node.js based forum software built for the modern web
If this is the modern web, then call me and hand me an onion belt because I'd rather stick with the old one
-
@bb36e this isn't singling you out, Ben, but I just want to vent
Q: why is shit so fucked?
A: don't worry, I've made a pull requestQ: why are there bullet holes in my car?
A: don't worry, I'm taping over themQ: I was only here to get stitches -- what happened to my arm?
A: don't worry, we've installed a very nice prosthetic
-
@bb36e said in This shit ain't workin', or this forum's unusable on mobile (iOS):
Q: why is shit so fucked?
A: don't worry, I've made a pull requestIt's more like
Q: what is so fucked about this shit?
A: the thing that this pull request fixes