Hello guys, currently experiencing some technical issues with the forum system that I'm trying to trace. If you notice anything weird, do let me know...
Thanks!
So, some of you may have seen the downtime we experienced today. I apologise for that. Server was throwing a 500 error, the most unhelpful error of them all, and I couldn't diagnose remotely.
Tried a couple of quick fixes; when these didn't work it was evident it would take a longer time than I'd like to fix the whole thing, so I did a clean install of sorts. You'll notice some functionality is gone, it'll be restored gradually in the next days.
Well, I get 2 email notifications about posts for some time now.
I don't care, just for you to know.
That's... interesting. If you could forward me such a pair it works be great.
Anyone else getting double emails?
Quote from: Gryzor on 16:30, 13 March 23So, some of you may have seen the downtime we experienced today. I apologise for that. Server was throwing a 500 error, the most unhelpful error of them all, and I couldn't diagnose remotely.
Tried a couple of quick fixed; when these didn't work it was evident it would take a longer time than I'd like to fix the whole thing, so I did a clean install of sorts. You'll notice some functionality is gone, it'll be restored gradually in the next days.
the fix was quick, thanks for being fast 8)
I also answered to another thread 10mins ago for the first time.
I received an email with the previous answer before my post :-X
@roudoudou this time I decided to drop the axe pretty quick instead of troubleshooting for days, during which the forum would work with some things broken!
@VincentGR ah ok that's a different thing. You mean you get notifications for each post. I know, it's a weird scheme. Either a bug or a setting I've yet to find...
Does the forum look different or am I just imagining things? :O
Quote from: Carnivius on 18:57, 13 March 23Does the forum look different or am I just imagining things? :O
You're not.
Both cases, double emails and the last one for the first time today.
Quote from: Carnivius on 18:57, 13 March 23Does the forum look different or am I just imagining things? :O
Some styles were indeed wiped. I think colors are lighter now?
Also, colors alternate between posts. I don't think that was there, at least on mobile.
Yeap, some colors, emojis and mentions are yellow now.
Mentions are yellow?
Emojis were always yellow?
Mentions when email redirects you.
Emojis are lighter, I think...
Ah, ok. It doesn't look bad to me at all. I just came here and thought "hmmmm... something seems changed" :)
This:
Quote from: VincentGR on 19:07, 13 March 23This:
Ah ok that's highlighting the post in question. Neat!!
Quote from: Carnivius on 19:06, 13 March 23Ah, ok. It doesn't look bad to me at all. I just came here and thought "hmmmm... something seems changed" :)
I think I can make it CPC magenta and blue😄
Magenta and grey, look here
<-----
"here"?
Quote from: Gryzor on 19:20, 13 March 23"here"?
I think VincentGR pointing to their avatar. :)
;D ;D ;D ;D ;D
Well yeah, I'm on mobile so he was pointing to the edge of my screen😄
Oh yes that combo is great, but it'd be too dark full screen.
Quote from: Gryzor on 19:25, 13 March 23Well yeah, I'm on mobile so he was pointing to the edge of my screen😄
Then you have to fix that too ;D
It looks like Tweets cannot be embedded any more. :-[
Quote from: Jean-Marie on 02:35, 14 March 23It looks like Tweets cannot be embedded any more. :-[
Nope. As I said, functionality will be restored gradually. Was focusing on getting the forum up.
Twitter test:
https://twitter.com/krakout/status/1635298026859409410
Youtube test:
https://www.youtube.com/watch?v=KFgJb8zMOBs
Ok, looking good. Please, as we move on, tell me what functionality you're missing from the forum!
It seems that the URLs of threads have changed, so links made to threads under the previous regime now take you to the forum root. For example, https://www.cpcwiki.eu/forum/amstrad-cpc-hardware/gotek-(flashfloppy)-wiring-for-a-pcw9512/ no longer works, replaced by https://www.cpcwiki.eu/forum/index.php?topic=15638.msg172093#msg172093
Quote from: JohnElliott on 11:07, 14 March 23It seems that the URLs of threads have changed, so links made to threads under the previous regime now take you to the forum root. For example, https://www.cpcwiki.eu/forum/amstrad-cpc-hardware/gotek-(flashfloppy)-wiring-for-a-pcw9512/ no longer works, replaced by https://www.cpcwiki.eu/forum/index.php?topic=15638.msg172093#msg172093
Yup, working on it right now, actually.
I quite like the posts alternating colours...
:D :D :D
I think the human-readable URLs are back successffully.
I like a lot the new visual. :-*
Quote from: TotO on 11:36, 15 March 23I like a lot the new visual. :-*
Oh good. Also changed the font, too, supposedly Inter is very readable.
"Topics per page to 5" not fit on a same line.
May be "5 Topics per page" can be better.
About the font, it was already nice previously when displayed on a Mac. ;D
Not sure what you meant with your first point?
Yeah Mac has better typography always, now I think it looks more neat on my Windows and Android.
I mean, the first ratio button entry into the contextual menu have the text "Topics per page to 5" too long to fit one line.
But I understand the wish was to have all the text starting with "Topic ...".
Ah ok, will take a look when back home.
Hmm for me on my phone (both mobile and desktop view) it appears in one line. Are your fonts too big by any chance?
Quote from: Gryzor on 12:32, 15 March 23Hmm for me on my phone (both mobile and desktop view) it appears in one line. Are your fonts too big by any chance?
I have expected you will ask that because the big screenshot (retina resolution), but it is the default font.
Sure, I can decrease it from one step to see the result.
EDIT: Now the text is smaller, but the problem is worst. ;D
Before you ask, I have tried to increase the size and that not fix the problem. (I investigate)
If it's not an Amstrad font, it's just acceptable.
No more icon to go to the last post of a topic? (may be I missed something)
OK, I have to click on the date. No problem. :)
I would say move the category bar over to the left instead of the right. It just looks strange on the right hand side to me and would be better suited to the left.
I'm guessing a lot of things are still in progress so I'm not seeing what we have here as final unless otherwise stated. :)
Ok so, those who want mode0.otf as the forum font, put your hands up😁
@TotO more details?
Mode 0? That would be difficult to read. Mode 1 and you get me on board :D
Quote from: Shaun M. Neary on 13:17, 15 March 23I would say move the category bar over to the left instead of the right. It just looks strange on the right hand side to me and would be better suited to the left.
I'm guessing a lot of things are still in progress so I'm not seeing what we have here as final unless otherwise stated. :)
You don't see the icons at the top of the category section?
I think the forum is pretty stable, fast and functional right now. There's a couple of things not yet incorporated, but if people don't ask for them out means it's not really worth it, so it's up to you to tell me if it's done 🙂
Quote from: robcfg on 13:19, 15 March 23Mode 0? That would be difficult to read. Mode 1 and you get me on board :D
Shall I constrict it to 40 columns?
That would be a tad too much... ;D
Quote from: Gryzor on 13:21, 15 March 23Quote from: robcfg on 13:19, 15 March 23Mode 0? That would be difficult to read. Mode 1 and you get me on board :D
Shall I constrict it to 40 columns?
80 if you are professional ;D
Sir, this is a hobbyist site.
Quote from: Gryzor on 13:21, 15 March 23Quote from: Shaun M. Neary on 13:17, 15 March 23I would say move the category bar over to the left instead of the right. It just looks strange on the right hand side to me and would be better suited to the left.
I'm guessing a lot of things are still in progress so I'm not seeing what we have here as final unless otherwise stated. :)
You don't see the icons at the top of the category section?
I think the forum is pretty stable, fast and functional right now. There's a couple of things not yet incorporated, but if people don't ask for them out means it's not really worth it, so it's up to you to tell me if it's done 🙂
Ah didn't see that it could be user customisable. Good idea, it can be personalised to suit whoevers taste. :)
Quote from: Gryzor on 13:41, 15 March 23Sir, this is a hobbyist site.
With quotes like this one, people were convinced that our beloved machine wasn't professional.
woah, and I thought it looked different yesterday. I just logged in now and saw the main forum page and was like :o
I'm play with it a lil bit and see what's what. :)
Also avatars got shrunk? Aw, mine doesn't fit properly now and the forum's attempt to shrink it screws it up cos pixel art doesn't scale well.
Hmmm I think I see what you mean about the avatar; to be hones I like yours as it shows, but then again you're the artist :) I'll see what I can do...
Yeah, can see I created it for the old avatar size which was 110x110 but now appears to be 64x64 (which on modern resolutions is smaller than a stamp).
Is no trouble. Just let us know what size you're using going forward and have settled on and I'll have to make a new one. :P
Yeah, let me first figure out why and how that happened :D
Quote from: Carnivius on 16:17, 15 March 23Yeah, can see I created it for the old avatar size which was 110x110 but now appears to be 64x64 (which on modern resolutions is smaller than a stamp).
Is no trouble. Just let us know what size you're using going forward and have settled on and I'll have to make a new one. :P
Just to test something, could you try reuploading your avatar in your profile?
Ah ok, nevermnind, found it in the css.
To be honest, I prefer the smaller avatars, what do people think? I've now set it to a round 80px to match the underlying icon column.
Visually, I prefer the little version. But I don't care.
I can understand that is an issue for some people.
Smaller ones look better in my opinion. :)
That's what I think, too. It always bothered me a bit how big they were but not enough to do anything about it😀
I do have a question / request.
Is there a dark theme available to install and choose from? It's not 2001 anymore, a lot of people have moved on to the choice of dark themes. It's easier on the eyes in some cases and in the case of mobile devices, it's a gift for saving battery life.
Quote from: Shaun M. Neary on 20:04, 15 March 23I do have a question / request.
Is there a dark theme available to install and choose from? It's not 2001 anymore, a lot of people have moved on to the choice of dark themes. It's easier on the eyes in some cases and in the case of mobile devices, it's a gift for saving battery life.
Yes!!!
That grey we talked about recently :-D
Quote from: VincentGR on 20:13, 15 March 23Quote from: Shaun M. Neary on 20:04, 15 March 23I do have a question / request.
Is there a dark theme available to install and choose from? It's not 2001 anymore, a lot of people have moved on to the choice of dark themes. It's easier on the eyes in some cases and in the case of mobile devices, it's a gift for saving battery life.
Yes!!!
That grey we talked about recently :-D
Better be gun metal grey! :D
Darker the better for me :D
Well. Yes there are dark themes, but not part of the default theme which I'm working on. Which means I would have to support another theme and another set of files with modifications etc.
So, two options:
-i can find a dark theme that people can use but it will NOT be updated with some modifications, or
-since it's not 2001, you can use a browser that applies a dark mode 😁. I'm attaching a screenshot of what this page looks like in Vivaldi with dark mode turned on.
Screenshot_20230315-214448.png
Quote from: Shaun M. Neary on 19:04, 15 March 23Smaller ones look better in my opinion. :)
But your avatar is getting a bit messed up too. Not quite as noticable as mine but yeah the CPC pixels are getting all badly scaled and uneven.
I personally like the bigger ones mainly because of as said before the higher resolutions these days make 64x64 just seem kinda microscopic compared to how it used to be.
But is cool either way I suppose. :)
That's because resizing is done in the browser, you could always do a proper file and upload to avoid this. A chore, I know.
Quote from: Gryzor on 20:45, 15 March 23Well. Yes there are dark themes, but not part of the default theme which I'm working on. Which means I would have to support another theme and another set of files with modifications etc.
So, two options:
-i can find a dark theme that people can use but it will NOT be updated with some modifications, or
-since it's not 2001, you can use a browser that applies a dark mode 😁. I'm attaching a screenshot of what this page looks like in Vivaldi with dark mode turned on.
[url="https://www.cpcwiki.eu/forum/index.php?action=dlattach;attach=38999;type=preview;file"]Screenshot_20230315-214448.png[/url]
My MacOS and Chrome are in dark mode but the forum still looks as usual.
I can live with it though.
Pffft Mac. 😁
I don't think this should happen though, Vivaldi is based on Chrome and it's always worked great in dark mode. A setting?
Why is the front (forum) page showing a recent posts list, instead of the usual forum list? Also, can't view more than one page of posts on said page, gives "Sorry, that section doesn't exist"
No dark mode, either. Firefox is set specifically to use dark mode (automatic doesn't work either), forume is still in light mode.
Firefox 110.0.1, Arch Linux.
No dark mode here either. Older version of MacOS (Mojave 10.14 but still supports dark theme) and latest firefox 111.0
Quote from: Carnivius on 21:45, 15 March 23Quote from: Shaun M. Neary on 19:04, 15 March 23Smaller ones look better in my opinion. :)
But your avatar is getting a bit messed up too. Not quite as noticable as mine but yeah the CPC pixels are getting all badly scaled and uneven.
I personally like the bigger ones mainly because of as said before the higher resolutions these days make 64x64 just seem kinda microscopic compared to how it used to be.
But is cool either way I suppose. :)
Maybe my eyesight is going, but my Avatar looks fine on my machine? Although the res on this laptop isn't the highest either which could explain it.
Gotta say, I'm LOVING the Recent Forum Topics feature.
It's something I've been wishing for, for years.
:)
Great 😊
The bug with the pages being unavailable will be fixed later today, I know what's wrong with it.
Also, if I have some time I'll try to find a dark theme for anyone who wants it.
:O Now it's BLUE!
Place is different everytime I come back to it. It's kinda neat. :D
Damn, I let the test pass to the users? Argh. Will revert a bit later, was just testing stuff in what I thought was admin mode 😁
Quote from: Gryzor on 22:03, 15 March 23That's because resizing is done in the browser, you could always do a proper file and upload to avoid this. A chore, I know.
No, Shaun's avatar is already using the minimum amount of pixels to render that image of CPC Wonderboy as it was on the CPC Mode 0 screen (2x1 pixels). It being shrunken by the forum means it's now a mixture of wide-pixels and square pixels and it's losing some of the details altogether.
I'll scale up that example to show what I mean. Can you see the messy mixture of pixel sizes? There's no way to resize that image and keep all the detail and the clean pixels. Shaun would have to crop that image completely to just use a 64x64 space focused more around the face.
How to disable the default Dark Theme. ;D
Quote from: TotO on 09:16, 16 March 23How to disable the default Dark Theme. ;D
You can't, I'll revert. Was just testing.
Quote from: mahlemiut on 22:35, 15 March 23Why is the front (forum) page showing a recent posts list, instead of the usual forum list? Also, can't view more than one page of posts on said page, gives "Sorry, that section doesn't exist"
No dark mode, either. Firefox is set specifically to use dark mode (automatic doesn't work either), forume is still in light mode.
Firefox 110.0.1, Arch Linux.
Bug fixed. Forum boards are on the side (depending on what you choose via the icons).
By the way, I don't know if anyone's found it yet, but you can actually
ENABLE TWO-FACTOR AUTHENTICATION (2FA) NOW!
Just go into your account settings to try it. I haven't :)
Ok, for those goth guys among us, go into your profile and try switching to the BlueWave theme. Let me know what you think. I can tweak the colors (if you wanna play with the color values in Developers tools I'll be happy to try your colors!).
Oh, also, I looked into Firefox (what better thing to do at 5:30 in the morning :D ). Looks like FF doesn't actually have a dark mode, it just requests dark stylesheets from the sites, if available. But our theme doesn't have one. Whereas Vivaldi (at least on mobile) actively switches the colors of the site you're visiting.
Quote from: Gryzor on 10:28, 16 March 23By the way, I don't know if anyone's found it yet, but you can actually
ENABLE TWO-FACTOR AUTHENTICATION (2FA) NOW!
Just go into your account settings to try it. I haven't :)
That's been there a while I think. I enabled it several months ago and it works pretty well to be fair.
Quote from: Maniac on 11:01, 16 March 23Quote from: Gryzor on 10:28, 16 March 23By the way, I don't know if anyone's found it yet, but you can actually
ENABLE TWO-FACTOR AUTHENTICATION (2FA) NOW!
Just go into your account settings to try it. I haven't :)
That's been there a while I think. I enabled it several months ago and it works pretty well to be fair.
Yeah, but it's not been discussed before. I just saw it again and thought I'd mention it. Thanks for the feedback!
I enabled it and it worked as expected.
Great!
Quote from: Gryzor on 10:51, 16 March 23Ok, for those goth guys among us, go into your profile and try switching to the BlueWave theme. Let me know what you think. I can tweak the colors (if you wanna play with the color values in Developers tools I'll be happy to try your colors!).
Oh, is there a "Discology" kinda option that we can do it personally?
Just play with the css values in the dev tools, then send a 3" diskette to the CPCwiki Towers. Our back office tool will forward it accordingly.
Best css wins ten pounds sterling and a random game on tape from our inventory. Also your name will be printed in the next issue.
trying blue wave but it's not very dark at all and all the posts are still black text on white backgrounds. Is that what it's supposed to look like? I thought dark theme was light text on dark background (which is way easier on my eyes). :P
Yeah, I know it's not a dark theme, it's a 'darker' theme. Unfortunately there are no good dark themes out there, though maybe I'll look for paid ones.
In the meantime, as I said, feel free to toy around with the colors and suggest: it's just a good start.
Ok, I'm proud (ok, not so much) to present you a half-finished, but completely functional (I think?) dark theme!
Go into your profile settings (Look and Layout) and choose Default_Dark. Couple of notes:
-not finished yet. Some elements may have not been adjusted
-Not too dark. Can pick darker colors.
-especially for textboxes, still looking for those
-yes, it's ugly. Will finetune. Was just focusing on getting it to work. But, feel free to offer color suggestions!
-fewer colors used than on the original theme because frankly, you can't do too much with a dark palette that will look good on larger surfaces.
-this should retain all functionality of the main theme!
That's it, gave it a good five hours or so of my life, so I hope it'll make some people happy :)
The "Unread Topics" display, do not follow the "Recent Forum Topics" settings.
Huh?
In example, if I remove the topic icon or the user avatar on the left into the "Recent Forum Topics", it is still displayed when I select the "Unread Topics".
Yes, that's because that's a different section, not governed by the settings you choose on that table.
Quote from: Gryzor on 13:07, 17 March 23Yes, that's because that's a different section, not governed by the settings you choose on that table.
Is it possible to have the settings icons for all the sections?
Sadly, I don't think so without a lot of code. Why though?
Because it is obvious the settings have to be applied everywhere. Else, why using them. ;D
I will restore them by default to have the same display for all the forum sections.
Not really, homepage is more crammed so the need is more obvious there.
Dark theme drastically tweaked. Palette is much better now, though by no means perfect.
The problems with the Dark Theme, are:
- The cpcwiki logo is not really visible
- The forum no more looks cpcwiki
I just hope that will be user select, to not use it. :)
@Gryzor I LIKE the Default Dark theme!
Quote from: TotO on 16:09, 17 March 23The problems with the Dark Theme, are:
- The cpcwiki logo is not really visible
- The forum no more looks cpcwiki
I just hope that will be user select, to not use it. :)
What theme have you chosen in your profile?
I'm rather liking all the blues. :)
Quote from: Gryzor on 05:36, 19 March 23What theme have you chosen in your profile?
Nothing, as you have said it was automatic. Nice to know the user has to chose the theme into the profile as previously. :)
Quote from: TotO on 10:09, 19 March 23Quote from: Gryzor on 05:36, 19 March 23What theme have you chosen in your profile?
Nothing, as you have said it was automatic. Nice to know the user has to chose the theme into the profile as previously. :)
Go into your profile, Look and Layout, and check which skin you're using. It should be the default one, which is light. The Dark one (Default_Dark) is an optional one...
Sure, I have the default theme and it is perfect like that. (the Dark Theme was not optional two days ago)
Yeah, the Dark Theme was implemented on Friday I think.
But wait, does this mean that with the default theme you see the dark one?
As for the notifications, see here:
https://www.cpcwiki.eu/forum/cpcwiki-discussion/fix-no-email-notifications-after-the-update/msg213100/#msg213100
It happened again.
Quote from: VincentGR on 11:45, 19 March 23As for the notifications, see here:
https://www.cpcwiki.eu/forum/cpcwiki-discussion/fix-no-email-notifications-after-the-update/msg213100/#msg213100
It happened again.
Thanks for the link to the previous discussion. I took a look and there's no setting to revert - seems like quite a bug!
For some reason some of my threads are still set to receive emails, while most don't. Go figure.
Yesterday I did the same procedure as when I posted the link.
It was indeed mixed settings.
Today was fine, it kept the settings I did yesterday,
Yeah, I think it happens with the update...
Quote from: Gryzor on 10:46, 19 March 23But wait, does this mean that with the default theme you see the dark one?
Previously I saw the Dark Theme by default (when you have tested it). Since, I see the standard theme by default.
I really dislike when some website set the theme acordly to the OS setting. It is not because an user prefer to have black windows an menu that he want to see everything dark. ;D
Same here. I like my Windows black, but not my sites.
would it be possible to deactivate the embedded Avatars when @mentioning someone?
Not sure how others see it, but I think it's quite irritating and makes it harder to read.
It's either on or off for everyone, if anyone else want to chime in I'll gladly deactivate it.
Quote from: eto on 11:56, 20 March 23would it be possible to deactivate the embedded Avatars when @mentioning someone?
Not sure how others see it, but I think it's quite irritating and makes it harder to read.
What he says :D
Love the dark theme. Much more modern. :)
How to choose dark theme?
Edit:
Ok, I found. NICE. :D
There is again no more link to visit the wiki page from the forum. ;D
The CPC Wiki icon should obviously return to CPC Wiki portal.
The Home button and the "CPC Wiki forum" link already goto the forum root.
I think the logo should return to the forum page because people, I think, consider the two a little separate. But I'll add a button for the wiki itself!
If the user click on the Wiki icon to return to the forum, it is because the link doesn't return to the Wiki.
Probably, the reason is that previously no visible buttons have this function. Today, there are two ways. ;)
Whatever people decide, I'm fine with it🙂
Hey! The icon is over the forum and show the Wiki logo... A design issue?
That is not what people decide but what you are imposing to them. :)
Fair point. But every link can be changed one way or the other...
Not sure it's reported yet, but when I go to the forum home page I don't see the forums, just a couple of lists of recent threads. Is it a setting I wonder (in my profile)?
Quote from: JonB on 13:44, 02 April 23Not sure it's reported yet, but when I go to the forum home page I don't see the forums, just a couple of lists of recent threads. Is it a setting I wonder (in my profile)?
You mean the boards list. It's on the left!
Quote from: TotO on 10:11, 02 April 23There is again no more link to visit the wiki page from the forum. ;D
The CPC Wiki icon should obviously return to CPC Wiki portal.
The Home button and the "CPC Wiki forum" link already goto the forum root.
I tend to agreed with
@TotO to be fair. That's what I'd expect to happen.
Quote from: JonB on 13:44, 02 April 23Not sure it's reported yet, but when I go to the forum home page I don't see the forums, just a couple of lists of recent threads. Is it a setting I wonder (in my profile)?
You can define where the list of boards appears with these icons:
Screenshot 2023-04-02 at 4.02.28 PM.png
It's not obvious and in my case the list appeared all of a sudden on the right.
(and the same icon is there twice)
Ok, changed the logo to go to the Wiki instead. Code has changed since the last time I did it, so if we establish I didn't break anything I'll apply the change to the dark theme as well.
Pleasantly surprised by testing "to see" two minutes ago. So here I am to thank you! 8)
Quote from: TotO on 11:11, 03 April 23Pleasantly surprised by testing "to see" two minutes ago. So here I am to thank you! 8)
Wow, I don't know whether to feel appreciated by your thanks or worthless by your surprise😁
I love when things are logical and well achieved. :-*
Then you must be surprised often😜
Hehe. May be that will increase the visits or the usage of the wiki. ;D
Then perhaps I'll add another button when posting they goes to the wiki and have it randomly switch places with the Post button😁
Knowing some of the past quirks of the forum, you might not even have to do anything to make that happen! :D
Quirks? What quirks!
I have found that the front page of the forum won't load randomly (I think I have only experienced it at the front page, at least).
Well, it loads an empty page. If I reload, it eventually works. Sometimes first time, sometimes it needs more attempts.
Just FYI.
Quote from: reidrac on 08:55, 27 May 23I have found that the front page of the forum won't load randomly (I think I have only experienced it at the front page, at least).
Well, it loads an empty page. If I reload, it eventually works. Sometimes first time, sometimes it needs more attempts.
Just FYI.
I can confirm that this happens since 2 days or so. After a (few) reload(s) it always works.
Just right now: after 3 reloads, it worked again
Damn error 500...
Anyhow, I haven't seen it myself. I'll restart services tomorrow morning when people are asleep...
Same problem since yesterday, can't connect to CPCWiki.
Now it's ok. 👌
Again yesterday evening (Saturday) and late in the night : the site was down.
At some point it took a long time to reboot -indeed the site was down for several minutes. Other than that, only the forum throws 500 errors randomly which I'm trying to debug...
Yes to be more precise, I was talking about the forum :)
Quote from: Gryzor on 08:00, 28 May 23At some point it took a long time to reboot -indeed the site was down for several minutes. Other than that, only the forum throws 500 errors randomly which I'm trying to debug...
we need an AI to fix the forum... but beware, later the AI may become an administrator and kick us all out, who knows. :P :P
Quote from: reidrac on 08:55, 27 May 23I have found that the front page of the forum won't load randomly (I think I have only experienced it at the front page, at least).
Well, it loads an empty page. If I reload, it eventually works. Sometimes first time, sometimes it needs more attempts.
Just FYI.
Still happening here :(
Yup, haven't had the time to troubleshoot unfortunately... :(
@Gryzor I am having problems logging in.
Also Some pages come up as blank
To login, I enter name- Password and it just sits there doing nothing, BUT if I choose an other category then the page MAY come up and it indicates that I am a registered user ??
Please help
Keep Safe
Ray
I've had that a couple of times too. It looks like the login process hasn't worked or got stuck. But if you go to a forum page you are actually logged in.
Bryce.
Yeah that has been bugging me (heh) for some time now. Server logs don't help, I think I need to start removing mods and see if it works :(
"mark all messages as read" always ends with a broken page (but still marks all messages as read).
Reload on desktop brings me back to the forum, reload on mobile is stuck forever. I need to type in the URL again.
I'm still getting this every day when I try to load the forum.
This page isn't working at the moment
www.cpcwiki.eu can't currently handle this request.
HTTP ERROR 500
It doesn't seem to matter which browser I use, or where I log in from (home or work).
It takes anywhere from 4 to 8 refreshes before the page finally loads.
:(
Quote from: ervin on 06:04, 04 July 23I'm still getting this every day when I try to load the forum.
This page isn't working at the moment
www.cpcwiki.eu can't currently handle this request.
HTTP ERROR 500
It doesn't seem to matter which browser I use, or where I log in from (home or work).
It takes anywhere from 4 to 8 refreshes before the page finally loads.
:(
Unfortunately, using Chrome, same here.
it's surprising that it's only the first page and "mark all messages as read".
Quote from: eto on 08:07, 04 July 23it's surprising that it's only the first page and "mark all messages as read".
Yup, and it's been driving me crazy. Admittedly I haven't had enough time to properly dive into it, but somehow when I try to reproduce it to catch the error it always works😂
Logs haven't been helpful, either. I disabled the one mod that runs on the homepage, but the problem persists... Maybe I'll have to do another clean install if I don't catch it in the server logs 😟
Quote from: Gryzor on 08:29, 04 July 23Yup, and it's been driving me crazy.
I can imagine... I'm dealing with mysterious bugs on a daily basis in my job. Those are the most frustrating bugs, when it's hard to reproduce and impossible to log.
3 observations:
- It only happens when navigating to https://www.cpcwiki.eu/forum or https://www.cpcwiki.eu/forum/index.php. No other URLs have been affected in my case at least.
- instead of reloading several times it also seems to be possible to just wait a couple of seconds (however, could not reproduce with 100% certainty)
- "mark all messages as read" also always has that effect. (but maybe because it redirects to the above mentioned URL)
Quote from: eto on 09:08, 04 July 23Quote from: Gryzor on 08:29, 04 July 23Yup, and it's been driving me crazy.
I can imagine... I'm dealing with mysterious bugs on a daily basis in my job. Those are the most frustrating bugs, when it's hard to reproduce and impossible to log.
3 observations:
- It only happens when navigating to https://www.cpcwiki.eu/forum or https://www.cpcwiki.eu/forum/index.php. No other URLs have been affected in my case at least.
- instead of reloading several times it also seems to be possible to just wait a couple of seconds (however, could not reproduce with 100% certainty)
- "mark all messages as read" also always has that effect. (but maybe because it redirects to the above mentioned URL)
-Yup, /forum/ loads /forum/index.php indeed. I haven't seen the issue on any other URLs either...
-Hm will try that.
-I don't use that functionality because I want to read everything when I can for moderation issues, but your assumption sounds correct. After all that button is an action on the main template.
I think I must make logging more verbose on the server. No idea how an error 500 will not be logged in error.log!!!
Speaking of debugging obscure errors: we have a Realme robotic vacuum cleaner which has a known fault - many units stop charging. After trying for weeks to reset it, coax it, force it etc to charge, today I took it to the service center, only to get a call from the technician to ask me what precisely the error is because it's charging perfectly
Took me 8 attempts to load the forum homepage today. Other forum pages that I had open in different tabs were fine.
Hmmm... something must have changed. The last 3 times I've visited the forum, it has loaded instantly!
Quote from: ervin on 12:06, 06 July 23Hmmm... something must have changed. The last 3 times I've visited the forum, it has loaded instantly!
same here
Well, you know what? Remember what I wrote the other day about my robot vacuum? I discussed the server issue with a very knowledgeable friend of mine, tried to show him and it was running fine. So I guess the fix is to just report the problem to a technical person. If it happens again I'll ask my friend again.
Quote from: Gryzor on 13:47, 06 July 23Well, you know what? Remember what I wrote the other day about my robot vacuum? I discussed the server issue with a very knowledgeable friend of mine, tried to show him and it was running fine. So I guess the fix is to just report the problem to a technical person. If it happens again I'll ask my friend again.
happens with my family all the time: they have an issue for hours/days/weeks, I enter the room - and it disappears before I even do anything.
That's talent, my friend.
Fine here too :)
Don't jinx it, guys... I think it's running on good will alone.
Take a photo of your learned friend, print it out and stick it up facing a browser running the forum. You'll fool it into thinking it's being watched and it'll work perfectly from then on.
Quote from: pelrun on 02:32, 07 July 23Take a photo of your learned friend, print it out and stick it up facing a browser running the forum. You'll fool it into thinking it's being watched and it'll work perfectly from then on.
Now we're in advanced debugging territory...
I also confirm the proper functioning of the forum. Previously I had to refresh the page 5 or 6 times at each visit.
Since yesterday, the HTTP 500 problem has completely disappeared and the forum is working perfectly fine. 👌
Thanks Gryzor ! (and his friend 😁 )
I can firm no issues for me either. :D
The juju holds...
I had the same problems but now its ok. Just to mention that, when the problem existed, when I loaded a specific thread that was on my bookmarks, the problem never happened. In case it helps.
Hello,
Since today, I have messages "Database error" when connected to main page of the forum : https://www.cpcwiki.eu/forum/index.php
If I reload, same error.
If I choose another link (Unread posts , for example), it works.
[EDIT] And now, 15 minutes later, I have a blank page with the following text :
Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.
Yeah that was a simple fix, no video required. Thanks.
Avatars look to be a bit broken currently.
Yup, was told last night, will fix this morning. Thanks!
Hi
@Gryzor .
Default dark theme seems to be broken as well: homepage is now standard theme, some existing tabs are dark theme and new ones open in standard. ( Sorry ).
Quote from: Animalgril987 on 16:56, 25 July 23Hi @Gryzor .
Default dark theme seems to be broken as well: homepage is now standard theme, some existing tabs are dark theme and new ones open in standard. ( Sorry ).
Awwww crap,that's a bigger one I'm afraid...
I have a pretty good idea of where to start but it'll have to wait, as my vacation starts very soon. Sorry 😐
Quote from: Gryzor on 17:46, 25 July 23Quote from: Animalgril987 on 16:56, 25 July 23Hi @Gryzor .
Default dark theme seems to be broken as well: homepage is now standard theme, some existing tabs are dark theme and new ones open in standard. ( Sorry ).
Awwww crap,that's a bigger one I'm afraid...
I have a pretty good idea of where to start but it'll have to wait, as my vacation starts very soon. Sorry 😐
The Forum works, pretty much everything else is cosmetic.
Enjoy your vacation and try to avoid logging in when you should be relaxing!
Quote from: ComSoft6128 on 17:53, 25 July 23Quote from: Gryzor on 17:46, 25 July 23Quote from: Animalgril987 on 16:56, 25 July 23Hi @Gryzor .
Default dark theme seems to be broken as well: homepage is now standard theme, some existing tabs are dark theme and new ones open in standard. ( Sorry ).
Awwww crap,that's a bigger one I'm afraid...
I have a pretty good idea of where to start but it'll have to wait, as my vacation starts very soon. Sorry 😐
The Forum works, pretty much everything else is cosmetic.
Enjoy your vacation and try to avoid logging in when you should be relaxing!
Thanks, mate! The problem is I know it'll be eating me, but it's very very hard to work on the server by remote console on my phone 😟
Sorry
@Gryzor 😟. If I'd known you were on holibobs, I wouldn't have mentioned it.
It's not like it's a major issue. Have a great time!
Quote from: Animalgril987 on 20:55, 25 July 23Sorry @Gryzor 😟. If I'd known you were on holibobs, I wouldn't have mentioned it.
It's not like it's a major issue. Have a great time!
No no, thanks for bringing it up, wouldn't have found out because I don't use it myself!
my avatar has been lost in outer space!! :o :o
Quote from: XeNoMoRPH on 09:52, 04 August 23my avatar has been lost in outer space!! :o :o
Read up😁
Phew, avatars seem to be fixed. Apologies to everyone, had to dig much much deeper than I thought till I found the culprit...
There's also a chance I fixed the themes issue, could you check and let me know?
Avatars are back! :)
👍🏻👍🏻👍🏻
Yo
@Gryzor Everything is SUPER SLOW for me to reach the wiki website. Sometimes, I even receive TIMEOUT response in my browser. It started this weekend, and now I feel it has become worse.
Am I the only one?
Same here (UK).
Better now?
Yeah, I think in some functions it is, but not completely, right?
Reaching https://www.cpcwiki.eu/forum/recent/ took 2-3 seconds (tested 5 minutes ago. From Canada).
This morning I replied to a post, wrote the complete message, clicked SAVE. Save took like 10 seconds, then I got the Timed Out message, got finally back to the page, and my message was cleared :(
Yeah that sucks when it happens :( There's the Save Draft option, though!
just had a timeout when trying to access this thread ;-)
Me too.
Same here, God damnit, can't understand why... resources are fine on the server and nothing was changed...
The forum is SUPER slow for me here in the UK. It took ages just to log in that I actually thought it had frozen.
Still, sometimes it's very slow, sometimes it's fast as normal. Really can't find what's wrong, everything seems to be running fine server side.
At this moment I'm looking into upgrading the server and starting from scratch with an up-to-date OS...
For me currently, on top of being slow, it times out often. I retry and ends loading, but again... very slow.
(happens when posting too, which is even worse)
Quote from: reidrac on 09:04, 04 October 23For me currently, on top of being slow, it times out often. I retry and ends loading, but again... very slow.
(happens when posting too, which is even worse)
I have the same issue on and off. Seems very random and sporadic.
Quote from: reidrac on 09:04, 04 October 23For me currently, on top of being slow, it times out often. I retry and ends loading, but again... very slow.
(happens when posting too, which is even worse)
Indeed. At the moment it is crucial to copy the whole comment before posting in case there is a timeout.
I'm bouncing back on the (randomly) slow access of the forum website.. ... this is really, really annoying.
I know
@Gryzor you investigated and you weren't able to find an immediate culprit, please let us know how we can help.
Well yes, you can help, please look after my kid and go to the doctors for me :D
Yeah, I apologise. I know it's been a long time, but it's been a really rough patch in my life unfortunately...
On the other hand, the new server has been set up. Probably won't dockerize for the time being to save some time, but we need to copy the data over and test if things work without much tuning.
Seems that the old server just can't handle things any more...
Apologies, again.
Cool, there is a plan on-going, wonderful. No stress
@Gryzor . We will be waiting (literally, loll)
Hehe😄
No, there's definitely a plan, just going slowly.
Hoho, I'm wondering
@Gryzor if you finally fixed the issue? First day in months it's running 100% fine for me. ;)
Quote from: norecess464 on 20:07, 24 October 23Hoho, I'm wondering @Gryzor if you finally fixed the issue? First day in months it's running 100% fine for me. ;)
Yeah, I fixed it right after I finished Sonic on my GX! 😂
No such luck I'm afraid. I did tinker a bit this morning (apologies to those I kicked out when I accidentally rebooted), but I think any change is coincidental...
OK, weird... at least, I'm letting you know about the "good" behavior I'm experiencing right now.
Yeah, appreciated 😊
Just try not to breathe too heavily when using the forum, you know, kind like a ZX mem pack precaution
@Gryzor the forum is running quite fast thank you. BTW are you planning to make the forum TAPATALK compatible again? I'm sure it would boost the mobile user activity significantly.
Hm, yeah, maybe I'll try it. No idea what it'll cause though, so prepare for a bumpy ride :D
So yeah, tried to install Tapatalk and it's a no-go. The Tapatalk installation script has a bug that prevents it from being installed and Tapatalk doesn't look like it's doing much about it despite it having been reported quite some time ago... :picard:
For about 2 days, in my case, the forum has been working perfectly every time I log in. ;)
All pages are displayed instantly, sending PM messages, previewing a message, etc.
Thanks
@Gryzor !! 👍
Thanks for the confirmation. I still see some hiccups here and there but it's much better indeed.
Sorry to say that things are back to being slow with timeouts.
Although sometimes it works OK for my whole visit to the site, it is more miss than hit!
same here (no complaint, just fyi that it's not just one person)
Same here. It worked super well for the last ~1.5/2 months I would say and then, it restarted to be problematic few days ago.
Quote from: norecess464 on 16:04, 16 December 23Same here. It worked super well for the last ~1.5/2 months I would say and then, it restarted to be problematic few days ago.
Here too ... and it's also not device related, got the same "slowness" on various machines (macbook, smartphone, PC, etc.) :(
Just for curiosity, I deactivated all my browser extensions and it made the same result. The issue seems to be really server-side.
Tried different browsers and even tablet - all the same very unstable performance. Sometimes very fast, sometimes not responding and running into an not responding error.
This is everywhere - in uploading pictures, or in clicking on the "Alert" icon on top. Sometime it loads fast - next second it stalls.
Hey guys, sorry for the late reply - my little one was sick for a few days and then it was his birthday, so I didn't have much time...
Though I *was* monitoring the server and it does this even on a very light load. If it's the same as last time then they may have changed something again with the way the certificates work; though it seems to be running fine now for me.
Quote from: Gryzor on 10:36, 18 December 23though it seems to be running fine now for me.
"Worked" fine until today morning, now back on endless loading times :-\
Can confirm, it's a bit erratic...
Quote from: Gryzor on 10:36, 18 December 23Hey guys, sorry for the late reply - my little one was sick for a few days and then it was his birthday, so I didn't have much time...
Though I *was* monitoring the server and it does this even on a very light load. If it's the same as last time then they may have changed something again with the way the certificates work; though it seems to be running fine now for me.
No worries, take your time.
It is hit and miss. At times it is very fast and at others it seems to not work at all. If it is sluggish it is sluggish on all computers/iPads/Phones whatever I throw at it. Even different network (mobile) with different IP etc.
Also to add to this, it is very intermittent (but seems to be more frequent in the last few weeks). Not limited to just the forum. For example https://www.cpcwiki.eu/index.php/M4_Board page came up with an error the first time, but then refresh the page and it was okay (just now)
Any update regarding this? I have the impression it gets worse. It sometimes takes minutes to get into the forum and check for updates. Just today uploading a 75KB attachment failed due to time-outs.
Btw: If this at any point crashes finally, is there a backup of all the content?
I've found the forum to be quite unusable in recent weeks which has caused me to engage less with it than I normally would do.
@Gryzor is there anything that we can help with to improve this please? There was talk of migrating to a different platform a while ago.
Sorry to add to this, but just confirming that the forum is running at the speed of an arthritic slug on valium for whatever reason.
Bogey plugin?
Ironically today since I posted my message this morning, it's been a very speedy speedy thing for me! :laugh:
Quote from: Maniac on 18:15, 29 January 24Ironically today since I posted my message this morning, it's been a very speedy speedy thing for me! :laugh:
sometimes during the day speed is acceptable.
I just checked the network activity during a request. What is outstanding here is: all requests are sequential. Nothing was received in parallel. When I look at other sites, e.g. cpcwiki.de, there are 8 threads in parallel which are all loading resources at the same time. That's the expected behavior for a website.
with my limited understanding of servers, I would assume, there is some issue with the number of parallel requests to the Wiki.
Apologies for the radio silence, been ill for a few weeks now with infection after infection, leading to a nice little bronchitis which has torn me to shreds. I may have some news tonight if I manage to croak something that sounds like speech, after a call with the backend provider.
@eto I don't think it's that, because it's the first/initial request that times out - if that gets through, everything is pretty fast; but just in case, which tool did you use?
Quote from: Gryzor on 19:42, 29 January 24Apologies for the radio silence, been ill for a few weeks now with infection after infection, leading to a nice little bronchitis which has torn me to shreds. I may have some news tonight if I manage to croak something that sounds like speech, after a call with the backend provider.
@eto I don't think it's that, because it's the first/initial request that times out - if that gets through, everything is pretty fast; but just in case, which tool did you use?
That's not my experience. If the first request times out I need to reload. Then, sometimes the request is answered and then the side is loaded - but not always fast. At the moment e.g. it's quite slow, taking over 10 seconds to load and render.
This would (imho) match to a scenario, where the server does not have enough threads available to answer requests in parallel.
1) I will see sequential downloads as the other threads are blocked by other users.
2) in case there are not enough threads available, my request times out. Once another user has downloaded his page, the thread is free to answer my request.
Actually - I just tried again and find attached the timeline of requesting the same page. In one case I saw 2 threads in parallel. The page load time was 8 seconds after the first request started downloading. With only a single thread (the same page requested just a few seconds later) it takes 13 seconds until the page is finished loading.
In both cases it took quite some time until it started. The second try took over 30 seconds until download started - so all in all almost a minute until the page has fully rendered.
Tool used: Chrome developer tools
PS: Uploading a 31KB attachment to this post failed several times.
just to throw it in: did you consider a DOS attack? Depending on the size of your server, an attacker that just requests (even little stuff) very often and in parallel could consume too many threads. Could also be a crawler.
Quote from: Gryzor on 19:42, 29 January 24Apologies for the radio silence, been ill for a few weeks now with infection after infection, leading to a nice little bronchitis which has torn me to shreds. I may have some news tonight if I manage to croak something that sounds like speech, after a call with the backend provider.
Sorry to hear you haven't been feeling well. I hope you feel better soon.
btw: this is no complaint, I'm just curious what happens and wanted to share what I experience, with the hope that i helps.
Get well soon - that's much more important than a slow forum.
btw: right now it is perfectly fast. I checked in DevTools again and currently it loads resources in parallel threads.
And now slow again - and again just a single thread.
And now fast again...
fyi: I always measured the exact same page
So...
The thing with the first request is that it does the SSL handshake. From my understanding, there's no parallel anything here - if this doesn't happen, then nothing can continue. Once connection is established the rest flow easily.
There have been times that indeed the site might be slow - it is, after all, a pretty old server by now so at times it may handle things a little slow. But for me, once connection is established (and it doesn't time out), the rest always loads pretty quickly. (not sure - can you see the last line at the footer describing how long it took to create the page? Or is it only available to admins?). But I'll take your word for it, I can see how some times it can be slow.
The idea about an attack is not a bad one. I must research how to detect one - unless you got any ideas?
For the time being I have updated the blocklist for Asian IPs to try and prevent Chinese and other bad-behaving crawlers. I also threw some Latin America IP ranges in for good measure.
Ok, as for the server: yes, backups are kept continuously. Last night I managed to have a talk with our server co-admin. Looks like the new server which has been standing ready for quite some time now is already ripe for some updating :D But what we will do is create a subdomain, copy all data to it and try how things go with our current platforms (SMF/mediawiki) and the new environment. If all goes well (the forum should be ok mostly, but the wiki requires two migration steps to reach current version) we may complete the transfer. Anyone willing to test the new environment?
PS
@eto , thanks for the tip about the Dev Tools but my view is different - can you list the steps you took to produce these screenshots?
Quote from: Gryzor on 09:07, 30 January 24Anyone willing to test the new environment?
PS @eto , thanks for the tip about the Dev Tools but my view is different - can you list the steps you took to produce these screenshots?
1) open an example page. I always used this page for consistency:
2) open DevTools and click the network tab. Clear tab if any data is there
3) hit reload on the page and see what's happening
I also totally agree that the SSL handshake can only have a single thread. Afaik a server has a maximum of threads it can handle. If all of those are blocked already, the initial request cannot happen and we get the timeout. The tests I made always had the same pattern: if page load times are good then the requests after the handshake are always parallel. If the handshake was already slow then always subsequent requests are serial or max. two parallel threads. This is of course not a clear proof that threads are an issue but to me it sounds logical that it could be related to the issue or lead to the underlying reason.
btw: at the moment it's perfectly fast - and again parallel threads.
Quote from: eto on 09:22, 30 January 24Quote from: Gryzor on 09:07, 30 January 24Anyone willing to test the new environment?
PS @eto , thanks for the tip about the Dev Tools but my view is different - can you list the steps you took to produce these screenshots?
1) open an example page. I always used this page for consitency:
2) open DevTools and click the network tab. Clear tab if any data is there
3) hit reload on the page and see what's happening
btw: at the moment it's perfectly fast
Damnit I hat hit Performance instead of Network :D
Yes, it's faster now, let's see if it holds. I also discovered a number of connections from Singapore, will try to block those IPs too.
Quote from: eto on 09:22, 30 January 24Quote from: Gryzor on 09:07, 30 January 24Anyone willing to test the new environment?
PS @eto , thanks for the tip about the Dev Tools but my view is different - can you list the steps you took to produce these screenshots?
1) open an example page. I always used this page for consistency:
2) open DevTools and click the network tab. Clear tab if any data is there
3) hit reload on the page and see what's happening
I also totally agree that the SSL handshake can only have a single thread. Afaik a server has a maximum of threads it can handle. If all of those are blocked already, the initial request cannot happen and we get the timeout. The tests I made always had the same pattern: if page load times are good then the requests after the handshake are always parallel. If the handshake was already slow then always subsequent requests are serial or max. two parallel threads. This is of course not a clear proof that threads are an issue but to me it looks like something that sounds logical.
btw: at the moment it's perfectly fast - and again parallel threads.
Those are client side threads, not server side. If data is being served up slowly a single browser thread can easily keep up, if data is coming down at a more normal rate then the browser will spin up more threads to process it all.
So, question for those who are familiar with htaccess files:
I have added the following:
Require not ip 47.128.0.0/16
because we have tons of connections from those IPs (Singapore). Yet, the connections are still there... Am I missing something? (Yes of course I restarted Apache).
Zipping along now! More of this please :D
Quote from: Gryzor on 13:36, 30 January 24So, question for those who are familiar with htaccess files:
I have added the following:
Require not ip 47.128.0.0/16
because we have tons of connections from those IPs (Singapore). Yet, the connections are still there... Am I missing something? (Yes of course I restarted Apache).
I just checked my IP ( https://www.myip.com/ ) and it wasn't me!
Seriously, this could be some kind of attack. Sometimes they use other computers, so this is why I checked. Someone in my family inadvertedly added the computer to a bot network of China to launch cyberattacks or something just because SOPcast or a similar program was installed to watch football.
I also googled the IP you pasted and indeed, it seems some kind of bot attack called Bytespider: https://www.reddit.com/r/flask/comments/161fqml/what_to_do_about_bytespider/
Quote from: Gryzor on 13:36, 30 January 24So, question for those who are familiar with htaccess files:
I have added the following:
Require not ip 47.128.0.0/16
because we have tons of connections from those IPs (Singapore). Yet, the connections are still there... Am I missing something? (Yes of course I restarted Apache).
I'm guessing; if you are filtering at app level (Apache), the operating system still accepts the request.
You may need to use iptables instead to drop those connections.
Quote from: andycadley on 09:43, 30 January 24Those are client side threads, not server side. If data is being served up slowly a single browser thread can easily keep up, if data is coming down at a more normal rate then the browser will spin up more threads to process it all.
ah okay. I just remembered that many years ago, when I worked for a newspaper, they had a lot of trouble with their website, until they recognized they had a too low limit of max. threads - which resulted in timeouts. I wasn't aware that the browser falls back to single threaded downloading, when the website is generally slow. Is that documented somewhere? I couldn't find it with a quick search.
Quote from: cwpab on 15:10, 30 January 24Quote from: Gryzor on 13:36, 30 January 24So, question for those who are familiar with htaccess files:
I have added the following:
Require not ip 47.128.0.0/16
because we have tons of connections from those IPs (Singapore). Yet, the connections are still there... Am I missing something? (Yes of course I restarted Apache).
I just checked my IP ( https://www.myip.com/ ) and it wasn't me!
Seriously, this could be some kind of attack. Sometimes they use other computers, so this is why I checked. Someone in my family inadvertedly added the computer to a bot network of China to launch cyberattacks or something just because SOPcast or a similar program was installed to watch football.
I also googled the IP you pasted and indeed, it seems some kind of bot attack called Bytespider: https://www.reddit.com/r/flask/comments/161fqml/what_to_do_about_bytespider/
Yeah, that's a bad crawler alright. I did search for that range but didn't find the thread you mentioned on Reddit-thanks!
Quote from: reidrac on 16:05, 30 January 24Quote from: Gryzor on 13:36, 30 January 24So, question for those who are familiar with htaccess files:
I have added the following:
Require not ip 47.128.0.0/16
because we have tons of connections from those IPs (Singapore). Yet, the connections are still there... Am I missing something? (Yes of course I restarted Apache).
I'm guessing; if you are filtering at app level (Apache), the operating system still accepts the request.
You may need to use iptables instead to drop those connections.
True and true. But, blocking it at the app level is easier to do and maintain, and it seems that the last update I did was enough to mitigate the problem, so it's ok to serve them cake at the Apache level.
And indeed, the next step is to add the netmask to iptables, but I'm trying to figure out why .htaccess is failing -very weird!
Quote from: eto on 19:12, 30 January 24Quote from: andycadley on 09:43, 30 January 24Those are client side threads, not server side. If data is being served up slowly a single browser thread can easily keep up, if data is coming down at a more normal rate then the browser will spin up more threads to process it all.
ah okay. I just remembered that many years ago, when I worked for a newspaper, they had a lot of trouble with their website, until they recognized they had a too low limit of max. threads - which resulted in timeouts. I wasn't aware that the browser falls back to single threaded downloading, when the website is generally slow. Is that documented somewhere? I couldn't find it with a quick search.
Well probably in the Chromium source code somewhere. But it'll almost certainly be using a thread pool and the typical behaviour of a thread pool is to only spin up new threads under sufficient load (you don't want new threads for every task).
A problem with a max threads setting is more likely to be a server side issue, where it's artificially capping the number of threads. It's the kind of thing common when the server configuration has been left at something that defaults to a sensible value for a shared user system rather than what's sensible for a box dedicated to a single job (Linux's max open files is one I see come up a lot).
Much improved and consistent performance for me now. Fingers crossed 🤞🏻 it stays this way. Thanks
@Gryzor!
Well, seems like things are fast and stable now, at least for me. Anyone else?
Thanks to
@eto for prompting me to research connections :)
indeed, since those changes yesterday, I haven't seen any further issues. Thanks for looking into it
Fine here :)
Just had a time out, but then it loaded as fast as ever.
yesterday it took me a lot checking messages. Today all good here, very responsive
So far, so good.
3rd day in a row without problems. The time before made it nearly unusable. Hope it will last as well as it is now. :)
Quote from: GUNHED on 16:16, 01 February 243rd day in a row without problems. The time before made it nearly unusable. Hope it will last as well as it is now. :)
Same here😁
Thanks
@Gryzor for fixing all my brazillian problems!!! :)
... in case that you need to block this region again, because all those stupid banana hackers, then I will try to use a proxy/vpn. But let me say again, Efcharistó Polí! :)
Quote from: SyX on 12:23, 05 March 24Thanks @Gryzor for fixing all my brazillian problems!!! :)
... in case that you need to block this region again, because all those stupid banana hackers, then I will try to use a proxy/vpn. But let me say again, Efcharistó Polí! :)
Not a problem, thanks for your patience and apologies for the blanket block! Won't be doing it at such scale again unless something really serious happens, I just had to act fast because I couldn't wait to pinpoint the issue :)