EEVblog Electronics Community Forum

General => General Chat => Topic started by: gnif on July 30, 2017, 11:53:21 pm

Title: Server Error Reports
Post by: gnif on July 30, 2017, 11:53:21 pm
Hi All,

This thread is to create a central place for reporting server errors instead of having a multitude of threads for such things.

Please do NOT reply to this thread unless you have been instructed to by an error message.

This is NOT for general forum usage issues, this thread is for server outages, configuration problems, etc.

Please Note: I provide gratuitous server support to Dave as a way to support this great community, as such my support is best effort. Please be patient, I am subscribed to this thread and will be notified of your posts.

If any of the below hold true DO NOT post a report.
If none of the above hold true, please post a detailed error report, the more information the better. Things that help are:

As is the same with EE, the more detail about what led up to the issue, the higher the odds are of finding the cause and correcting it.
Title: Current Server Status
Post by: gnif on July 30, 2017, 11:54:14 pm
Current Status: OK

29/08/2017: We are performing some changes to how backups are handled which is causing some slowness, please be patient while we get this sorted out.
30/08/2017: The new backup system is in place, but will be running concurrently with the old backup system while it's performance is evaluated.
03/10/2017: The server was restarted to lift some network restrictions that HostGator had in place that were causing issues with the new backup system. Not sure why a restart was required but this is what we were advised.
11/11/2017: We are now on a new backup scheme but are still experiencing the 502 issues, but much less frequently now. There are core dumps from PHP appearing that need to be debugged when I get some time to do so.
Title: Re: Server Error Reports
Post by: MK14 on August 03, 2017, 04:13:49 pm
EDIT: already my second attempt at making this report. The first just hanged forever, then said error. (Sorry, I should have noted what the error said).

I've just got and seen the new 502 error message. Which instructed me to write a message here.

Over the last day or so, the EEVblog website, although it works fine about 90% of page loads. Seems to take ages to load, perhaps 10% of the time. Especially when making posts or editing.

I have also had problems with other websites, so the problem could be at my end. About 10% of websites are problematic and take ages to load, then just fail or hang forever.

EDIT: More detailed report:

Time was about 5:13 PM 3/8/17 UK time.

The page I was accessing was:
https://www.eevblog.com/forum/unreadreplies/ (https://www.eevblog.com/forum/unreadreplies/)

The web browser I was using: Google Chrome with Adblock Plus.

It said:

Quote
502 - Bad Gateway
We are having server side difficulties and are working to resolve these issues as fast as we can.

If you are able please report this error to this thread. But before posting please read the instructions carefully!

Thank you for your patience,
Dave & gnif

EDIT3:
When a page has an intermediate error message, BEFORE getting to the page. It looks like this:
Quote
This site can’t be reached

www.eevblog.com (http://www.eevblog.com)’s server DNS address could not be found.
Search Google for eevblog forum chat public transport hell people
ERR_NAME_NOT_RESOLVED

Which MAY be an occasional problem at MY end. Sorry. I have had to change (or consider changing) the default DNS server, previously. Because my ISP one, can be problematic.
Title: Re: Server Error Reports
Post by: gnif on August 04, 2017, 05:21:38 am
The 502 is certainly server side and not caused by your client. I have noted a few pages with slow load issues I am still looking into, one of which is loading a profile page. In future please post the time in GMT so I don't have to guess at your timezone and try to figure this out (not one of my strong points).
Title: Re: Server Error Reports
Post by: tautech on August 09, 2017, 12:16:34 am
Blinking forum just apparently ate a post that took me 30 minutes to put together.  :rant:
The display came up with a Cloudfare-EEVblog server page with a red cross on the EEVblog server.
~10am Sydney time.
Chrome

BUT it did post.  :-//
https://www.eevblog.com/forum/testgear/owon-xds3202e-vs-siglent-sds1202x-e/msg1276504/#msg1276504 (https://www.eevblog.com/forum/testgear/owon-xds3202e-vs-siglent-sds1202x-e/msg1276504/#msg1276504)

So false alarm but it did give me a sick feeling.
Back to normal now.
Title: Re: Server Error Reports
Post by: Ian.M on August 28, 2017, 04:17:54 pm
Its the first time I've seen your new Bad Gateway page (since you fixed the session data problem.)
Quote
502 - Bad Gateway

We are having server side difficulties and are working to resolve these issues as fast as we can.

If you are able please report this error to this thread. But before posting please read the instructions carefully!

Thank you for your patience,
Dave & gnif
It was at 28/08/2017 16:09:13 UTC while refreshing https://www.eevblog.com/forum/unread/ (https://www.eevblog.com/forum/unread/)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.17pre) Gecko K-Meleon/1.6.0

The page reloaded correctly a couple of minutes later.

HTH. ;)
Title: Re: Server Error Reports
Post by: Richard Crowley on August 29, 2017, 05:00:27 am
Same here in Oregon, USA 2017-08-29 @ 4:56 UTC
New error message, and then loaded OK a couple minutes later.
Title: Re: Server Error Reports
Post by: gnif on August 29, 2017, 11:11:38 am
Hi All,

Sorry for the delay in this update, I have setup a new backup system on the server to resolve these issues but it's initial sync has been problematic. Once the intial backup has been completed the old backup will be turned off resolving the recent errors.

For the technical minded:
Title: Re: Server Error Reports
Post by: Ian.M on August 30, 2017, 08:48:38 am
It dit it again, and reload didn't help.  Same browser as before. Time 30/08/2017 08:43:47 UTC.   I *ASSUME* you haven't been able to turn the old backup off yet.

Edit after seeing reply by Gnif:   Sorry!  In my defence 08:43:47 UTC is 09:43:47 GMT which is clearly before 10:00 GMT.   If you want us to ignore errors from 09:30 GMT to 10:30 GMT please say so explicitly.
Edit2: Correction after seeing reply by Salbayeng.  Sorry about the brain-fart re: GMT/BST  *NOT* adding a new post because I don't have another error to report.
Title: Re: Server Error Reports
Post by: gnif on August 30, 2017, 08:49:52 am
It dit it again, and reload didn't help.  Same browser as before. Time 30/08/2017 08:43:47 UTC.   I *ASSUME* you haven't been able to turn the old backup off yet.

  • Check the next post under this one to see if we have announced an expected outage, or that we are working on the current outage.
Title: Re: Server Error Reports
Post by: salbayeng on August 30, 2017, 08:38:48 pm
@Ian.M ?que? 
Quote
08:43:47 UTC is 09:43:47 GMT
Both UTC and GMT are the same for most purposes (GMT does not have summer time adjustments, so local time in the UK will be different by an hour in summer).
One adjusts for leap seconds as they occur, the other adjusts for leap seconds at the end of the year.
The UTC time standard is physically located at a naval observatory in the USA.

GPS time is nearly the same, but doesn't correct for leapseconds, it is currently about 20secs away from UTC (however all GPS receivers know the difference and will tell you UTC if asked).
Title: Re: Server Error Reports
Post by: edavid on August 30, 2017, 10:30:06 pm
502 error at 2017-08-30 22:21:34 UTC

Firefox

https://www.eevblog.com/forum/unread/ (https://www.eevblog.com/forum/unread/)

(but it was affecting all pages)
Title: Re: Server Error Reports
Post by: gnif on August 30, 2017, 11:42:23 pm
502 error at 2017-08-30 22:21:34 UTC

Firefox

https://www.eevblog.com/forum/unread/ (https://www.eevblog.com/forum/unread/)

(but it was affecting all pages)

Again, check the status post, you can clearly see it is 'WiP" and there is additional information stating the details of the work in progress.
Title: Re: Server Error Reports
Post by: edavid on August 31, 2017, 12:26:25 am
Again, check the status post, you can clearly see it is 'WiP" and there is additional information stating the details of the work in progress.

I don't understand, are you saying we should not report errors if the status says "OK - WiP"?
Title: Re: Server Error Reports
Post by: gnif on August 31, 2017, 12:51:32 am
Again, check the status post, you can clearly see it is 'WiP" and there is additional information stating the details of the work in progress.

I don't understand, are you saying we should not report errors if the status says "OK - WiP"?

Quote from: gnif
If any of the below hold true DO NOT post a report.
  • Check the next post under this one to see if we have announced an expected outage, or that we are working on the current outage.

You experienced an outage, but the status states we are working on it and there are dated status updates below it.
Title: Re: Server Error Reports
Post by: edavid on August 31, 2017, 12:55:52 am
You experienced an outage, but the status states we are working on it and there are dated status updates below it.

Maybe I'm dense, but that was not at all clear to me.  Why would I think that the fact that you are working on the backup system means I shouldn't report a 502 error?

(Or maybe you could change the 502 error message when you don't want reports.)
Title: Re: Server Error Reports
Post by: gnif on August 31, 2017, 01:11:28 am
You experienced an outage, but the status states we are working on it and there are dated status updates below it.

Maybe I'm dense, but that was not at all clear to me.  Why would I think that the fact that you are working on the backup system means I shouldn't report a 502 error?

(Or maybe you could change the 502 error message when you don't want reports.)

Sorry, I will try to be clearer in the status updates from here on in :)
Title: Re: Server Error Reports
Post by: RGB255_0_0 on August 31, 2017, 04:11:27 pm
You know about the 10AM issues...

FYI, I just had a 502 at 5:08PM BST.
Title: Re: Server Error Reports
Post by: gnif on August 31, 2017, 04:12:39 pm
You know about the 10AM issues...

FYI, I just had a 502 at 5:08PM BST.

Quote from: gnif
Report Status: Outages are to be expected, reports are not needed at this time.
Title: Re: Server Error Reports
Post by: McBryce on September 04, 2017, 11:28:31 am
502 error at 13:00 German time.

McBryce.
Title: Re: Server Error Reports
Post by: Cerebus on September 28, 2017, 04:16:13 pm
502 for "https://www.eevblog.com/forum/blog/?action=post2;start=100" at 17:15:30 GMT.

Also got a "the last post from your IP address" rate limiting message 2+ minutes after posting this message.
Title: Re: Server Error Reports
Post by: ChrisLX200 on September 29, 2017, 09:59:20 pm
502 - Bad Gateway  10:55pm GMT
Title: Re: Server Error Reports
Post by: gnif on October 02, 2017, 09:04:17 am
Just a little update, we are still working on fixing a known issue (actually, the same issue). I have been away and have not had the opportunity to perform some changes that are required to proceed with the fix. I should be able to free up time in the next few days and work with Dave to schedule some downtime required to put the new system into effect.
Title: Re: Server Error Reports
Post by: guenthert on October 09, 2017, 09:48:44 am
502 just happened here (Berlin/Germany) around 9:40 zulu.
Title: Re: Server Error Reports
Post by: nugglix on October 09, 2017, 09:57:55 am
Same for Hamburg/Germany.
Title: Re: Server Error Reports
Post by: Cerebus on October 12, 2017, 09:47:21 pm
502, 22:47 BST
Title: Re: Server Error Reports
Post by: T3sl4co1l on October 14, 2017, 11:00:17 pm
Just now.

Tim
Title: Re: Server Error Reports
Post by: electricForce on October 21, 2017, 11:33:34 pm
Just now. Austin, TX
Title: Re: Server Error Reports
Post by: suicidaleggroll on October 23, 2017, 10:45:22 pm
Couple of hours ago from Boulder, CO.  Couldn't get in for 5+ minutes (not sure how long exactly as I stepped away from the computer and just got back).
Title: Re: Server Error Reports
Post by: ChrisLX200 on November 01, 2017, 10:21:32 pm
Dammit - again just now (10:20pm), and it lost my carefully worded post :(
Title: Re: Server Error Reports
Post by: sokoloff on November 02, 2017, 09:54:17 pm
~55 seconds ago, from Cambridge, MA. Multiple 50x errors attempting to access https://www.eevblog.com/forum/unreadreplies/ (https://www.eevblog.com/forum/unreadreplies/) from both a cookied browser window and a new Incognito browser window.

Probably 15-20 seconds of outages/repeated failures, then it worked.
Was directed here, followed directions (or tried to), so posting.

Chrome Version 61.0.3163.100 (Official Build) (64-bit) on MacOS.
Title: Re: Server Error Reports
Post by: kalel on November 02, 2017, 10:05:14 pm
Just a few min ago, Chrome.
Title: Re: Server Error Reports
Post by: EEVblog on November 02, 2017, 10:07:17 pm
Dammit - again just now (10:20pm), and it lost my carefully worded post :(

Don't think I've ever lost a post. I just hit the back button and the text is still there in the edit window.
Title: Re: Server Error Reports
Post by: ChrisLX200 on November 02, 2017, 10:14:50 pm
Quote from: EEVblog on Today at 09:07:17 AM (https://www.eevblog.com/forum/index.php?topic=92714.msg1339637#msg1339637)>Quote from: ChrisLX200 on Yesterday at 09:21:32 AM (https://www.eevblog.com/forum/index.php?topic=92714.msg1338714#msg1338714)
Dammit - again just now (10:20pm), and it lost my carefully worded post :(

Don't think I've ever lost a post. I just hit the back button and the text is still there in the edit window.



Nope, it wasn't. The back button took me to an empty editing window (well, actually a quote but my added text was missing).
Title: Re: Server Error Reports
Post by: Richard Crowley on November 02, 2017, 11:41:02 pm
Don't think I've ever lost a post. I just hit the back button and the text is still there in the edit window.
Yeah, that works sometimes.  It depends on when/where the error happens.
I have seen it happen both ways.  Although much more often on GearSlutz than here in EEVblog.
Their server (s?)are chronically slow. Sometimes so slow you wonder whether they are even "up".
Title: Re: Server Error Reports
Post by: bitseeker on November 04, 2017, 05:24:15 pm
The link element for the forum's RSS feed (in the <head>) points to a URL that returns 403 Forbidden.

<link rel="alternate" type="application/rss+xml" title="EEVblog Electronics Community Forum - RSS" href="https://www.eevblog.com/forum/.xml/?type=rss" />
Title: Re: Server Error Reports
Post by: Muttley Snickers on November 06, 2017, 03:43:26 am
502 - Bad Gateway

At 14:25 AEDT or 03:25 GMT on 06/11/17 the forum main page dropped out and then returned to normal operation after about a minute or so with the assistance of the refresh button, as this interruption did not correspond with the scheduled regular backup time I thought it was worth a mention.   
Title: Re: Server Error Reports
Post by: hermit on November 07, 2017, 10:03:07 pm
I just got back in after a brief interruption.  Seems to happen once a day for the past few.  4:45 Eastern.
Title: Re: Server Error Reports
Post by: gnif on November 10, 2017, 11:09:56 pm
502 - Bad Gateway

At 14:25 AEDT or 03:25 GMT on 06/11/17 the forum main page dropped out and then returned to normal operation after about a minute or so with the assistance of the refresh button, as this interruption did not correspond with the scheduled regular backup time I thought it was worth a mention.

I thought it wasn't even supposed to happen with a regular scheduled backup anymore.

Correct, there is still a very intermittent fault, each problem we fix exposes another one. I am seeing core dumps from PHP now, I just have not had the time to attach a debugger to one yet and see what is going on.
Title: Re: Server Error Reports
Post by: kulla on November 11, 2017, 02:53:56 pm
You might as well try to enable slow log for php-fpm for requests that take lot of time and time out in the end, requests that need more than 10s and see what you get and why
Title: Re: Server Error Reports
Post by: gnif on November 11, 2017, 03:27:05 pm
You might as well try to enable slow log for php-fpm for requests that take lot of time and time out in the end, requests that need more than 10s and see what you get and why

It is enabled, we are not seeing slow requests anymore, its a backend crash.
Title: Re: Server Error Reports
Post by: SkrillBill on November 20, 2017, 09:56:30 pm
Error 502 just happened to me. Error instructed me to post in this thread. See attached.


Title: Re: Server Error Reports
Post by: Mr. Scram on November 20, 2017, 10:10:31 pm
I've experienced intermittent 502 server errors for the past few weeks, after they've been absent for a while. The most recent ones were just now, about 10-20 minutes ago. They tend to be on all pages, and typically last for about 1-3 minutes.
Title: Re: Server Error Reports
Post by: gnif on November 20, 2017, 10:17:01 pm
Thanks guys, I will see if I can trace down the cause. It's great there are getting fewer, it makes it easier to find the trigger in the logs :)
Title: Re: Server Error Reports
Post by: Mr. Scram on November 20, 2017, 10:28:56 pm
Thanks guys, I will see if I can trace down the cause. It's great there are getting fewer, it makes it easier to find the trigger in the logs :)
Yes, I though you had the problem solved for a while. It's progress nonetheless :)
Title: Re: Server Error Reports
Post by: SkrillBill on November 21, 2017, 10:10:14 pm
Recieved error 502 while browsing the open source hardware section of the forum. Stayed that way for 3-5 minutes. I tried going to the main website (eevblog.ocm) and was greeted by "Error establishing database connection".

Happened around 5:04pm Eastern

Title: Re: Server Error Reports
Post by: gnif on November 21, 2017, 11:00:37 pm
Recieved error 502 while browsing the open source hardware section of the forum. Stayed that way for 3-5 minutes. I tried going to the main website (eevblog.ocm) and was greeted by "Error establishing database connection".

Happened around 5:04pm Eastern

Thanks, that a new one.
Title: Re: Server Error Reports
Post by: SkrillBill on November 22, 2017, 10:05:17 pm
Recieved error 502 while browsing the open source hardware section of the forum. Stayed that way for 3-5 minutes. I tried going to the main website (eevblog.ocm) and was greeted by "Error establishing database connection".

Happened around 5:04pm Eastern

Same thing happened again, 5:01pm eastern.
502 Error follows by "error establishing a database connection" on the main site.
Title: Re: Server Error Reports
Post by: MK14 on November 22, 2017, 10:08:42 pm
Recieved error 502 while browsing the open source hardware section of the forum. Stayed that way for 3-5 minutes. I tried going to the main website (eevblog.ocm) and was greeted by "Error establishing database connection".

Happened around 5:04pm Eastern

Same thing happened again, 5:01pm eastern.
502 Error follows by "error establishing a database connection" on the main site.

I also had error 502 (lasting for a few minutes) and "error establishing a database connection" on the main site.".

A few minutes ago. It is now 10:07 PM UK time.

At the start of the difficulties, the forum was failing to supply me with pictures. Then a minute or so later, I got the 502 errors. (Probably because I tried to reload the page, because of the missing pictures).
Title: Re: Server Error Reports
Post by: Gyro on November 22, 2017, 10:09:29 pm
Error 524 Ray ID: 3c1f2717f9e435a8 • 2017-11-22 22:00:34 UTC
A timeout occurred

Followed by repeated 502 errors.

I seem to run into a block of 502 errors every day at some arbitrary time between 21.40 and 22.30 BST.
Title: Re: Server Error Reports
Post by: bitseeker on November 22, 2017, 10:10:36 pm
I got hit by the 502s on the forum at about the same time as well.
Title: Re: Server Error Reports
Post by: Muttley Snickers on November 22, 2017, 10:33:43 pm
502 - Bad Gateway

At 09:00 AEDT or 22:00 GMT on 23/11/17 the forum main page dropped out and then returned to normal operation after about two minutes or so with the assistance of the refresh button, this interruption appeared to correspond with the scheduled regular backup time but it was mentioned in a recent post that these events should no longer be occurring, I do not know whether events around this time window are to be ignored or informed.
Title: Re: Server Error Reports
Post by: tautech on November 26, 2017, 12:35:58 am
For a few minutes ~1.23PM NZ (11.23AM Sydney) time all attempted contact was 502's.
Came right on its own.
Title: Re: Server Error Reports
Post by: ez24 on November 26, 2017, 12:38:13 am
Maybe caused by a power overload, 121 gigawatts ?
Title: Re: Server Error Reports
Post by: gnif on November 26, 2017, 01:20:11 am
Maybe caused by a power overload, 121 gigawatts ?

It certainly was, this time it wasn't a server issue as such, it was simply an inrush of hits to the shop to buy meters.
Title: Re: Server Error Reports
Post by: bitseeker on November 26, 2017, 03:29:10 am
Woah, EEVblog suffered from the EEVblog effect.
Title: Re: Server Error Reports
Post by: kulla on November 27, 2017, 10:13:28 pm
Had 502 past few minutes  :-\
Title: Re: Server Error Reports
Post by: ChrisLX200 on November 27, 2017, 10:17:43 pm
  Error 502 Ray ID: 3c4867e87c146ab5 • 2017-11-27 22:08:34 UTC  Bad gateway
Title: Re: Server Error Reports
Post by: MK14 on November 28, 2017, 09:52:55 pm
I got error 502, for around 4 to 4.5+ minutes.
It is now 9:52 PM UK time.

(yesterday, at around this time, maybe 10:18 PM ?, I also had error 502 for a couple of minutes or so)

Then a few seconds before it restarted ok, I got this:

Quote
Connection Problems

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.
Title: Re: Server Error Reports
Post by: kalel on December 04, 2017, 07:11:17 am
Quote
Error establishing a database connection

Just a few minutes ago
Title: Re: Server Error Reports
Post by: tautech on December 04, 2017, 10:02:02 pm
For few minutes 10.55am till ~10.59am (8.55 am Sydney time) 502's
Title: Re: Server Error Reports
Post by: jgalak on December 04, 2017, 10:02:55 pm
Just got an error message saying:

Code: [Select]
502 - Bad Gateway

We are having server side difficulties and are working to resolve these issues as fast as we can.

If you are able please report this error to this thread. But before posting please read the instructions carefully!

Thank you for your patience,
Dave & gnif

Seemed to last about 5 minutes.

Occurred on these URLs:

https://www.eevblog.com/forum/testgear/siglent-they-filed-a-'wrongful-trademark-claim'/325/ (https://www.eevblog.com/forum/testgear/siglent-they-filed-a-'wrongful-trademark-claim'/325/)
https://www.eevblog.com/forum/chat/website-error-reports/ (https://www.eevblog.com/forum/chat/website-error-reports/)

Connection from the US, Optimum ISP, Windows 7 64bit, Firefox 52.4.0 (32-bit).

Time: about 21:58 UTC, lasted less than 5 minutes before started working again.
Title: Re: Server Error Reports
Post by: xrunner on December 06, 2017, 11:19:50 pm
Several times today -

Quote
502 - Bad Gateway

We are having server side difficulties and are working to resolve these issues as fast as we can.

If you are able please report this error to this thread. But before posting please read the instructions carefully!

Thank you for your patience,
Dave & gnif
Title: Re: Server Error Reports
Post by: beanflying on December 07, 2017, 02:14:11 am
I have been getting persistent errors since joining up. I am assuming you have cleaned out the error logs on SMF? It doesn't like being large. So rather than been strictly a server issue it may also be a backend SMF issue contributing to the server load? There is also a few ways to then use the server log to debug any SMF issues.

Also I haven't found a thread related to forum setup ideas and while I understand this forum is bare bones SMF this Mod giving some simple up down navigation buttons is worth adding. I have used it in a couple of forum builds/rebuilds in the past. The Mod author is also good at keeping it updated to current versions too. https://custom.simplemachines.org/mods/index.php?mod=3433
Title: Re: Server Error Reports
Post by: kulla on December 07, 2017, 07:26:51 am
Got 502 from cloudflare right now.

Error 502 Ray ID: 3c95c0dc2b518613 • 2017-12-07 07:25:51 UTC
Bad gateway
Title: Re: Server Error Reports
Post by: PA0PBZ on December 08, 2017, 09:51:47 pm
Still occasionally running into the (I think) backup problem, but it's early today. Happened about 4 minutes ago (21:45 UTC), normally it happens around 10 minutes from now (22:00 UTC).

502 - Bad Gateway
We are having server side difficulties and are working to resolve these issues as fast as we can.

If you are able please report this error to this thread. But before posting please read the instructions carefully!

Title: Re: Server Error Reports
Post by: Yansi on December 28, 2017, 09:56:48 pm
Err 502  again on Dec 28, 2017,  around 21:45 UTC. Was in error for quite some minutes.
Accessing: https://www.eevblog.com/forum/unreadreplies/ (https://www.eevblog.com/forum/unreadreplies/)

(but from the quite often seen errors 502 I get here, I observed it is irrelevant of what browser, device or page. The server just spews E502 from time to time - or maybe quite often.)



Title: Re: Server Error Reports
Post by: ChrisLX200 on December 28, 2017, 10:03:24 pm
Same here - 502. Do you still want these reports?
Title: Re: Server Error Reports
Post by: Yansi on December 29, 2017, 09:51:27 pm
Err 502  yet again on Dec 29, 2017,  around 21:45 UTC. Was in error for quite some minutes.
Accessing: https://www.eevblog.com/forum/unreadreplies/ (https://www.eevblog.com/forum/unreadreplies/)

(but from the quite often seen errors 502 I get here, I observed it is irrelevant of what browser, device or page. The server just spews E502 from time to time - or maybe quite often.)

//It seems like I am repeating myself, but so is the error.
Title: Re: Server Error Reports
Post by: Mr. Scram on December 29, 2017, 09:53:23 pm
I just had a bunch of 502s, about 5-10 minutes ago, on all pages tried.
Title: Re: Server Error Reports
Post by: ez24 on December 29, 2017, 09:59:02 pm
What I just learned is to copy before Posting.   I worked 1/2 hour on a reply and lost it.  This is the second time in the last few days.  Seems this is becoming a regular thing.
Title: Re: Server Error Reports
Post by: Yansi on December 29, 2017, 10:00:23 pm
Yeah, I've already noticed, the E502 is repeated every day at least at 21:45 UTC.
Title: Re: Server Error Reports
Post by: tautech on December 30, 2017, 11:47:16 pm
~10.42am Sydney time. Any pages tried. Lasted less than 5 mins.

Sort of every other day there are 502's.
Title: Re: Server Error Reports
Post by: Mr. Scram on December 31, 2017, 12:11:06 am
~10.42am Sydney time. Any pages tried. Lasted less than 5 mins.

Sort of every other day there are 502's.
Same here.
Title: Re: Server Error Reports
Post by: Yansi on January 02, 2018, 09:50:15 pm
Today the same again. As regularly 21:45 UTC, the server goes bust for about 3-5 mins.
Title: Re: Server Error Reports
Post by: PA0PBZ on January 02, 2018, 10:34:42 pm
Today the same again. As regularly 21:45 UTC, the server goes bust for about 3-5 mins.

Yes, same here.
Title: Re: Server Error Reports
Post by: diynoise on January 13, 2018, 11:54:59 am
Bad gateway errors on the whole forum for 5-10 minutes (not sure how many exactly).

The time the error occurred as close to the second as possible: 11:40 UTC (~15 mins ago)
The browser you use: chrome
The URL of the page you were accessing: various threads including this one
please let us know what exactly you were doing that triggered the error: just browsing, no action
Title: Re: Server Error Reports
Post by: Yansi on January 13, 2018, 01:03:53 pm
Bad gateway errors on the whole forum for 5-10 minutes (not sure how many exactly).

The time the error occurred as close to the second as possible: 11:40 UTC (~15 mins ago)
The browser you use: chrome
The URL of the page you were accessing: various threads including this one
please let us know what exactly you were doing that triggered the error: just browsing, no action

11:43 UTC here.
Browser and URL doesn't matter.
Title: Re: Server Error Reports
Post by: Yansi on January 15, 2018, 09:42:36 pm
21:27 UTC again, short duration of 502 for a couple of minutes.
Title: Re: Server Error Reports
Post by: ez24 on January 15, 2018, 10:09:04 pm
I wish the admin would change the error message to something like:

"Routine Outage - Back within a couple of minutes"

The current error message throws me every time.
Title: Re: Server Error Reports
Post by: Yansi on January 17, 2018, 09:53:47 pm
Our favorite regular 21:45 UTC outage is here again.  ^-^
Title: Re: Server Error Reports
Post by: PA0PBZ on January 24, 2018, 09:41:20 pm
Our favorite regular 21:45 UTC outage is here again.  ^-^

21:35 UTC today, to make It a bit more exiting I guess....
Title: Re: Server Error Reports
Post by: ez24 on January 24, 2018, 09:55:22 pm
Our favorite regular 21:45 UTC outage is here again.  ^-^
This should be the error message  :-DD

I forgot (to copy) and lost a long post  |O
Title: Re: Server Error Reports
Post by: rhb on January 25, 2018, 02:42:32 pm
I just got the message.  Though this time I was able to get in.
Title: Re: Server Error Reports
Post by: Yansi on January 25, 2018, 03:22:08 pm
<< ez24: Just hit "back" in the browser to retrieve the text of the message.

Got the error right now, 15:20 UTC. Server becoming slow responding in the last hour.

Just got the error when tried to send this message too.
Title: Re: Server Error Reports
Post by: Magnificent Bastard on January 25, 2018, 05:07:08 pm
Got a 503 Bad Gateway when trying to go to this thread/message:

https://www.eevblog.com/forum/projects/has-anybody-built-their-own-mass-spectrometer-before/msg1409645/?topicseen#msg1409645 (https://www.eevblog.com/forum/projects/has-anybody-built-their-own-mass-spectrometer-before/msg1409645/?topicseen#msg1409645)

Other threads appear to be OK.

-MB
Title: Re: Server Error Reports
Post by: gnif on January 25, 2018, 05:12:57 pm
There was an incident of server overload, a script was hammering MySQL. I don't have time to look into it right now unfortunately, my office took a lightning strike that fed into an Ethernet cable... lots of dead Ethernet gear and NICs.

Correction The server was under a DDoS attack by a cluster of servers trying to overload the website by flooding posts to the search input. The attack has been blocked.
Title: Re: Server Error Reports
Post by: Yansi on January 31, 2018, 09:48:39 pm
Server seems to be overloaded and under ddos attack quite regularly. Every day. Just got the famous 21:45UTC gateway error again.
Title: Re: Server Error Reports
Post by: Muttley Snickers on February 24, 2018, 11:43:37 pm
Whilst returning to the main page today at 10:29 AEDT or 23:29 GMT I received a 502 bad gateway message, it only lasted for a minute or so then after a refresh returned to normal, it might have just been a backup or restart.
Title: Re: Server Error Reports
Post by: beanflying on February 25, 2018, 12:47:59 am
Been a bit flakey for the last couple of days. Maybe Batteroo's YouTube dislike campaign extends to ddos  :--
Title: Re: Server Error Reports
Post by: PA0PBZ on February 26, 2018, 09:41:51 pm
21:38 GMT: 502 bad gateway.
Title: Re: Server Error Reports
Post by: paulca on March 09, 2018, 09:46:20 pm
It seems to go dead for about 5 minutes almost every evening around 21:30 GMT.  Is it a windows server on a daily reboot or is the a backup that runs which takes the site off line?  Not complaining, just curious.
Title: Re: Server Error Reports
Post by: gnif on March 19, 2018, 02:46:23 am
I apologize for the outage that occurred during Dave's Live Stream just now. This server came under heavy DDoS attack from a range of addresses just as Dave started to attempt to perform the draw. This was not an inrush of viewers, I had to block 50 IP addresses, most running at over 100 requests/sec, a few of them over 200/sec, and one at over 1000/sec.

173.167.206.137 was the heavy hitter at 1000/sec.

We are behind CloudFlare which is supposed to block this kind of thing, but it just proxied it all through... what a Joke.
Title: Re: Server Error Reports
Post by: hermit on March 19, 2018, 03:12:10 am
A subset of Comcast.  Probably one of the business accounts.  I'm sure a complaint to Comcast will bring swift results.  ::)
Title: Re: Server Error Reports
Post by: bitseeker on March 19, 2018, 03:13:19 am
Yep, a static Comcast Business IP address.
Title: Re: Server Error Reports
Post by: gnif on March 19, 2018, 03:14:23 am
Comcast has been contacted. There is clearly a remote viewer sitting on that IP, looks very old and unmaintained, likely compromised.
Title: Re: Server Error Reports
Post by: gnif on April 01, 2018, 06:59:47 pm
Just a notice to everyone

There will be a short database outage in a few minutes so I can change a few settings in preparation of the server move.

This does not mean the new server's are ready, I simply need to make a change so I can keep them in sync during the testing phase.

Edit: Done
Title: Re: Server Error Reports
Post by: David Chamberlain on April 13, 2018, 09:37:32 pm
Around Friday, 13 April 2018 21:25:00 UTC
502 - Bad Gateway
https://www.eevblog.com/forum/projects/ (https://www.eevblog.com/forum/projects/)
https://www.eevblog.com/forum/ (https://www.eevblog.com/forum/)
Browser : Chrome 65 on Android.

Was like that when i checked for about that time and then came right after a few minutes.
Title: Re: Server Error Reports
Post by: JS on April 19, 2018, 09:30:09 pm
502

Trying to post a reply 2 minutes ago to this post

https://www.eevblog.com/forum/projects/help-with-usb-sound-card-oscilloscope-108256/ (https://www.eevblog.com/forum/projects/help-with-usb-sound-card-oscilloscope-108256/)

then again trying to get to this topic, from the error link.

I'm using saffari 11.0.2

JS
Title: Re: Server Error Reports
Post by: geekGee on April 28, 2018, 07:57:01 pm
At the time of this reply, I am getting a blank page with /forum/index.php containing URLs.  I've tried a few web browsers and wget is downloading a zero sized file.

I had to navigate to this topic using a link to another then used search.
Title: Re: Server Error Reports
Post by: PA0PBZ on April 28, 2018, 08:02:08 pm
Yes, something is seriously broken, most links just return a blank page  :--
Title: Re: Server Error Reports
Post by: ez24 on April 28, 2018, 08:33:41 pm
Yes, something is seriously broken, most links just return a blank page  :--

whew - I thought it was me  :-DD
Title: Re: Server Error Reports
Post by: StillTrying on April 28, 2018, 09:35:30 pm
I'm having to navigate using the small 'Jump to' drop down box.
Title: Re: Server Error Reports
Post by: ez24 on April 28, 2018, 10:26:15 pm
Here is the link that does not work for me, "Show unread posts since last visit." -->

https://www.eevblog.com/forum/unread/ (https://www.eevblog.com/forum/unread/)

Just returns a blank screen  ie no error messages
Title: Re: Server Error Reports
Post by: Mr. Scram on April 28, 2018, 10:39:28 pm
Here is the link that does not work for me, "Show unread posts since last visit." -->

https://www.eevblog.com/forum/unread/ (https://www.eevblog.com/forum/unread/)

Just returns a blank screen  ie no error messages
Funny, that's one of the ones that does work for me.
Title: Re: Server Error Reports
Post by: tautech on April 28, 2018, 10:43:47 pm
Here is the link that does not work for me, "Show unread posts since last visit." -->

https://www.eevblog.com/forum/unread/ (https://www.eevblog.com/forum/unread/)

Just returns a blank screen  ie no error messages
All working fine now here with Chrome.
ez, do a hard page refresh with F5.
Title: Re: Server Error Reports
Post by: richnormand on April 28, 2018, 10:48:22 pm
All I got hitting "forum" is a blank page. A hard reset page F5 did not do anything.
No timeout either it looked like the white blank page was the content...

Rebooted the computer and tried again: same thing.

Fine now.



Title: Re: Server Error Reports
Post by: tautech on April 28, 2018, 10:53:39 pm
All I got hitting "forum" is a blank page. A hard reset page F5 did not do anything.
No timeout either it looked like the white blank page was the content...

Rebooted the computer and tried again: same thing.

Fine now.
Crazy.  :-//

It was shite a couple of hours back here but seems to have come right for me.
Shut my PC down for a change last night but it was all problems here first thing. Anything with .php as mentioned before gave a blank white screen
Came right all by itself ~30 mins ago.
Title: Re: Server Error Reports
Post by: hermit on April 28, 2018, 11:22:42 pm
@gnif  I thought I'd wait it out.  Unread threads finally worked but only on the first page.  Hit next and got a blank screen.
Title: Re: Server Error Reports
Post by: edpalmer42 on April 28, 2018, 11:39:14 pm
Somebody's got to say it.....

Should we change servers???  >:D >:D >:D :-DD :horse:

Ed
Title: Re: Server Error Reports
Post by: AlfBaz on April 28, 2018, 11:40:12 pm
firefox here on windows, unread posts since last visit usually returns many pages, lately Im getting only 1 or two posts. At the same time on my phone however, I get the usual number of unread posts
Title: Re: Server Error Reports
Post by: AlfBaz on April 29, 2018, 01:48:32 am
Just fired up ff and the unread posts is full again :-//
Title: Re: Server Error Reports
Post by: Brumby on April 29, 2018, 03:12:53 am
I've been checking out a few things and found one that serves me a blank page...
https://www.eevblog.com/forum/dodgy-technology/ (https://www.eevblog.com/forum/dodgy-technology/)
I can get to the latest updated thread in that board, but not to the thread list.

I've checked this 3 or 4 times while browsing the forum - and it has not changed over all that time (about 2 hours, on and off).   https or http makes no difference.
Title: Re: Server Error Reports
Post by: amyk on April 29, 2018, 04:33:48 am
I've been checking out a few things and found one that serves me a blank page...
https://www.eevblog.com/forum/dodgy-technology/ (https://www.eevblog.com/forum/dodgy-technology/)
I can get to the latest updated thread in that board, but not to the thread list.

I've checked this 3 or 4 times while browsing the forum - and it has not changed over all that time (about 2 hours, on and off).   https or http makes no difference.
Same here, blank page but no indication of error from server (response is 200 OK, but there's no content.)
Title: Re: Server Error Reports
Post by: Cyberdragon on April 29, 2018, 06:12:02 am
The link to dodgy technology doesn't work for me.

Not that I really want it fixed. I'd never have noticed normally. But in the interests in getting everything sorted asap I can confirm I also get a blank page.

This appears to be the only thing still down, though I haven't tried absolutely everything.

I'll just have to post my rant in General. >:D
Title: Re: Server Error Reports
Post by: ModemHead on April 29, 2018, 01:36:18 pm
When I "show unread posts since last visit" I get 4 pages.  Pages 1-3 are fine but 4 (or hitting "Next" on page 3) serves me an empty page (status 200, 0 bytes) just like the rest of you are describing.  :-//
Title: Re: Server Error Reports
Post by: ModemHead on April 29, 2018, 02:02:24 pm
When I "show unread posts since last visit" I get 4 pages.  Pages 1-3 are fine but 4 (or hitting "Next" on page 3) serves me an empty page (status 200, 0 bytes) just like the rest of you are describing.  :-//

I haven't noticed that although I tend to click on the numbers in preference to clicking "next". So it appears to be working correctly to me. I'll check tomorrow when the unreads posts have had a chance to accumulate to 4 pages.
I thought I would fool it by going to page 3 of 4 and selecting and marking all the topics read so that the older stuff would move up.  Nope, last page is blank.  And now that I've gone through the 3 pages that I could see and marked them all as read, clicking "show unread posts since last visit" serves me a blank page.  Weird.
Title: Re: Server Error Reports
Post by: hermit on April 29, 2018, 04:26:51 pm
When I "show unread posts since last visit" I get 4 pages.  Pages 1-3 are fine but 4 (or hitting "Next" on page 3) serves me an empty page (status 200, 0 bytes) just like the rest of you are describing.  :-//
Same here.  I've felt that this 'feature' most of the time served up way too much in terms of how far back it went anyhow.  In this case page 5 would take me back past stuff that are easily outside the range of my last visit time.
Title: Re: Server Error Reports
Post by: 2N3055 on April 29, 2018, 05:39:53 pm
Last page is always blank.. So if you have only few items on first page it is also your last and you don't see it either.....
That is very recent, I noticed it today..

Title: Re: Server Error Reports
Post by: richnormand on April 29, 2018, 07:39:00 pm
As of this morning and later in the afternoon today. Two different computers.
This page shows as blank for me:
https://www.eevblog.com/forum/dodgy-technology/ (https://www.eevblog.com/forum/dodgy-technology/)

How ironic....
Rest of forum worked as expected....





Title: Re: Server Error Reports
Post by: jmelson on April 30, 2018, 02:28:02 am
The dodgy-technology main-level forum has been giving a blank page for about 24 hours.

Jon
Title: Re: Server Error Reports
Post by: hermit on April 30, 2018, 04:49:53 am
Unread posts has been working for me for the past few hours it seems.  Worked before I went for my run and worked when I got back.  No more blank page.
Title: Re: Server Error Reports
Post by: nugglix on April 30, 2018, 05:12:41 am
Same here in Europe.

Would really like to know what caused that weird behavior.
Title: Re: Server Error Reports
Post by: bitwelder on April 30, 2018, 01:39:02 pm
As of this morning and later in the afternoon today. Two different computers.
This page shows as blank for me:
https://www.eevblog.com/forum/dodgy-technology/ (https://www.eevblog.com/forum/dodgy-technology/)

How ironic....
Rest of forum worked as expected....
Same here.
Interesting that although I get a blank page if I try to access the dodgy-technology forum area,
I can correctly read the thread pointed by the 'Last post' for the same area, as indexed by the main EEVblog forum page

EDIT: and also access the other 'dodgy' threads via the 'previous' and 'next' buttons on the top and bottom right side
Title: Re: Server Error Reports
Post by: tautech on May 01, 2018, 07:55:03 am
Hi gnif
Search tab result problems (didn't try the text box)

Normal search, not Advanced search.
Search for : transformer winding

Scroll through P1
Hit Next or P2 and the page defaults to a Revise Search page, not the next page as one expects.
Similar results with the page menu at either top or bottom of page. Got the 2nd page once only but never a further page.

Chrome browser.
SMF bug or server bug ?
TIA.
Title: Re: Server Error Reports
Post by: xrunner on May 02, 2018, 12:16:21 pm
Hi gnif
Search tab result problems (didn't try the text box)

Normal search, not Advanced search.
Search for : transformer winding

Scroll through P1
Hit Next or P2 and the page defaults to a Revise Search page, not the next page as one expects.
Similar results with the page menu at either top or bottom of page. Got the 2nd page once only but never a further page.

FYI, tried it - Doesn't happen with FF.
Title: Re: Server Error Reports
Post by: clucas on May 03, 2018, 12:08:11 am
my apologies if this is in the wrong thread but when I click on the 'Dodgy Technology' thread, the page is blank. This has been happening for about a week or so. Is the thread still active?
Title: Re: Server Error Reports
Post by: basinstreetdesign on May 03, 2018, 12:32:27 am
The dodgy-technology main-level forum has been giving a blank page for about 24 hours.

Jon

Me too, still.
Title: Re: Server Error Reports
Post by: Brumby on May 03, 2018, 01:56:28 am
my apologies if this is in the wrong thread but when I click on the 'Dodgy Technology' thread, the page is blank. This has been happening for about a week or so. Is the thread still active?
The dodgy-technology main-level forum has been giving a blank page for about 24 hours.

Jon

Me too, still.

Yes.  It's a known problem.

The threads can still be accessed directly by going through a search, but we can't get the topic list up.
Title: Re: Server Error Reports
Post by: bitseeker on May 04, 2018, 05:44:48 am
Oh, the irony.
Title: Re: Server Error Reports
Post by: BravoV on May 04, 2018, 06:00:13 am
I access this forum through various places PCs, tablet,smartphone and notebook, before the upgrade, the forum remembered and maintain the exact list of unread posts or my subscribed threads at every devices I used.

Now, it lost it, I get different list on different devices.
Title: Re: Server Error Reports
Post by: Brumby on May 05, 2018, 08:44:25 am
my apologies if this is in the wrong thread but when I click on the 'Dodgy Technology' thread, the page is blank. This has been happening for about a week or so. Is the thread still active?

It's back.


I don't know if that's a good thing or not.....
Title: Re: Server Error Reports
Post by: gnif on May 05, 2018, 08:52:18 am
I fixed it, took a few hours of debugging. The seo friendly plugin doesn't support UTF-8 properly and was trying to insert a duplicated record into a table inside an output buffer callback, as such a white page was generated with no errors, nor debug logging of the fault.

The solution was to strip all non ASCII 7-bit character from SEO urls.
Title: Re: Server Error Reports
Post by: Towger on May 05, 2018, 09:16:03 am
On Tapatalk the form names are no longer displayed, only the descriptions.

(https://uploads.tapatalk-cdn.com/20180505/019f017e88385c0da225fa99177b2bcf.jpg)
Title: Re: Server Error Reports
Post by: gnif on May 05, 2018, 09:26:17 am
On Tapatalk the form names are no longer displayed, only the descriptions.

(https://uploads.tapatalk-cdn.com/20180505/019f017e88385c0da225fa99177b2bcf.jpg)

When did this start?
Title: Re: Server Error Reports
Post by: Towger on May 05, 2018, 09:28:29 am
Not sure, only noticed it today.
Title: Re: Server Error Reports
Post by: jmelson on May 07, 2018, 01:59:51 am
I fixed it, took a few hours of debugging. The seo friendly plugin doesn't support UTF-8 properly and was trying to insert a duplicated record into a table inside an output buffer callback, as such a white page was generated with no errors, nor debug logging of the fault.

The solution was to strip all non ASCII 7-bit character from SEO urls.
Wow, glad somebody understands all this php and SQL stuff.  I run a web store, and have a very rudimentary understanding of it, but just enough to be dangerous.

Thanks for fixing that forum/thread!

Jon
Title: Re: Server Error Reports
Post by: bitseeker on May 07, 2018, 07:02:36 am
I fixed it, took a few hours of debugging. The seo friendly plugin doesn't support UTF-8 properly and was trying to insert a duplicated record into a table inside an output buffer callback, as such a white page was generated with no errors, nor debug logging of the fault.

The solution was to strip all non ASCII 7-bit character from SEO urls.

Wow, not a sysadmin friendly plugin. Thanks for tracking that down and sorting it out, gnif.
Title: Re: Server Error Reports
Post by: richnormand on June 18, 2018, 10:41:19 pm
For some reason the main site and the forum are extremely slow with waits to close to half a minute to timeouts today. Test with other sites are all OK.
I go through the Toronto hub I think. Will try VPN to US site and see.
Title: Re: Server Error Reports
Post by: tautech on June 18, 2018, 10:41:38 pm
Not so much errors gnif but at times the forum is very slow to refresh, accept a post or just general viewing.
Might need a  :-/O somewhere.
Title: Re: Server Error Reports
Post by: gnif on June 18, 2018, 10:55:42 pm
There is currently an outage with one of the two servers, looks like a bad route which I am investigating.
Title: Re: Server Error Reports
Post by: gnif on June 18, 2018, 11:13:25 pm
There is currently an outage with one of the two servers, looks like a bad route which I am investigating.

Fixed, we are now back at full capacity. One of the servers had been null routed as a bug in SMF4M was being abused to proxy redirects to external websites.
The site became slow because both servers could still see and talk to each other, as such they had no way to determine that one had lost connectivity. Traffic had to timeout before it would be sent to the other server, so no outage, just slow.
Title: Re: Server Error Reports
Post by: EEVblog on June 19, 2018, 02:05:10 am
There is currently an outage with one of the two servers, looks like a bad route which I am investigating.

Fixed, we are now back at full capacity. One of the servers had been null routed as a bug in SMF4M was being abused to proxy redirects to external websites.
The site became slow because both servers could still see and talk to each other, as such they had no way to determine that one had lost connectivity. Traffic had to timeout before it would be sent to the other server, so no outage, just slow.

Thanks gnif
So that's a win already for the dual server redundancy. Albeit in the weird way made it slower than it otherwise wouldn't have been. But better slow than offline.
Title: Re: Server Error Reports
Post by: gnif on June 19, 2018, 02:10:16 am
There is currently an outage with one of the two servers, looks like a bad route which I am investigating.

Fixed, we are now back at full capacity. One of the servers had been null routed as a bug in SMF4M was being abused to proxy redirects to external websites.
The site became slow because both servers could still see and talk to each other, as such they had no way to determine that one had lost connectivity. Traffic had to timeout before it would be sent to the other server, so no outage, just slow.

Thanks gnif
So that's a win already for the dual server redundancy. Albeit in the weird way made it slower than it otherwise wouldn't have been. But better slow than offline.

Normally with a server outage the up server will see the other server is no longer responding and will take over it's duties, but because the data center had null routed the external traffic, the two servers could not see there was a fault condition. In what would be considered a normal outage there would be no visible performance impact on the hosting.
Title: Re: Server Error Reports
Post by: hermit on June 19, 2018, 02:17:07 am
I couldn't get through at all but when I went to an external site it showed some places getting through and others not.  Seemed to be no rhyme or reason to physical locations worldwide that connected and didn't so I just waited it out.
Title: Re: Server Error Reports
Post by: EEVblog on June 19, 2018, 02:38:49 am
Normally with a server outage the up server will see the other server is no longer responding and will take over it's duties, but because the data center had null routed the external traffic, the two servers could not see there was a fault condition. In what would be considered a normal outage there would be no visible performance impact on the hosting.

So in this case, out of curiosity what would have made it act "slower"?
Title: Re: Server Error Reports
Post by: gnif on June 19, 2018, 02:49:06 am
Normally with a server outage the up server will see the other server is no longer responding and will take over it's duties, but because the data center had null routed the external traffic, the two servers could not see there was a fault condition. In what would be considered a normal outage there would be no visible performance impact on the hosting.

So in this case, out of curiosity what would have made it act "slower"?

We have two IPv4 addresses listed in DNS for this website, both for load balancing and in the event something like what happened here occurs. In normal operation both IP addresses go to a single load balancer which then routes them to one of the two servers. During a fault the faulted server's IP address will be taken over by the still working server, allowing normal operation, but as stated above, this did not occur due to internal communication between servers still being fully functional.

The delay was because of this design, one IP address to the world was offline. Your browser is designed to try to contact each IP address listed in DNS, failure to contact one after a timeout (normally 30 seconds), it will try the next, it was this timeout that was causing the slow behavior. Just like when you try to go to a domain that is offline, there might be 30-60 seconds before the browser gives up.
Title: Re: Server Error Reports
Post by: tautech on June 25, 2018, 12:28:16 pm
Something's not right.  :-//
502's off and on for a couple of days and mainly in the evenings AU time, then this just a mo ago when trying to refresh the main forum page:

Connection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

Generally works fine after a couple of minutes and loads just as fast as normal.  :-//
Something needs your magic touch gnif.
Title: Re: Server Error Reports
Post by: gnif on June 25, 2018, 12:29:36 pm
It is already getting my magic touch :)

https://www.eevblog.com/forum/news/planned-server-maintenance-and-testing-2018-06-25/ (https://www.eevblog.com/forum/news/planned-server-maintenance-and-testing-2018-06-25/)
Title: Re: Server Error Reports
Post by: tautech on July 11, 2018, 03:19:07 am
gnif, a page that just won't load or any of the posts in it.  :-//
https://www.eevblog.com/forum/testgear/siglent-technical-support-join-in-eevblog/msg1663322/#new (https://www.eevblog.com/forum/testgear/siglent-technical-support-join-in-eevblog/msg1663322/#new)

That's page 43. The first page in the thread and others load just fine. I can see who's posted in the Test Equipment board and then check their posts to view it and then Reply from within that member posts page.
Seen this problem for a couple of hours at least now so ~midday Sydney time onwards.
TIA
Title: Re: Server Error Reports
Post by: gnif on July 11, 2018, 03:30:35 am
Thanks, I will look into it shortly, likely someone posted an image again that is dimensionally crazy large.
Title: Re: Server Error Reports
Post by: gnif on July 11, 2018, 04:33:09 am
gnif, a page that just won't load or any of the posts in it.  :-//
https://www.eevblog.com/forum/testgear/siglent-technical-support-join-in-eevblog/msg1663322/#new (https://www.eevblog.com/forum/testgear/siglent-technical-support-join-in-eevblog/msg1663322/#new)

That's page 43. The first page in the thread and others load just fine. I can see who's posted in the Test Equipment board and then check their posts to view it and then Reply from within that member posts page.
Seen this problem for a couple of hours at least now so ~midday Sydney time onwards.
TIA

This has been fixed (image removed), a Microsoft Bitmap was uploaded to the forum with a .png extension. SMF yet again crashed out due to it's inability to check mime types...  |O
Title: Re: Server Error Reports
Post by: tautech on July 16, 2018, 04:46:22 am
Hi gnif
Dunno if you can see it but the forum and EEVblog main page have been painfully slow to load and work with for the last few hours......like  :=\

All the other sites I'm using, no problem, quick as a flash !
Title: Re: Server Error Reports
Post by: Neilm on July 16, 2018, 06:55:59 pm
It is loading fine for me at the moment (7:55 BST)
Title: Re: Server Error Reports
Post by: gnif on July 18, 2018, 02:27:00 am
Logs over the last week show now issues with the hosting or slow load times, and my manual spot checks have not turned up any problems.

I find it amusing though, people now really notice if it's slow... when I started helping dave out, it was normal to be slow, and people only complained if it was down.
Title: Re: Server Error Reports
Post by: gnif on August 10, 2018, 01:26:43 pm
The short outage that just occurred was due to a connectivity failure at the data center.  EEVBlog and several other clients that host at the same data center were offline for this period. Nothing to be concerned about :)
Title: Re: Server Error Reports
Post by: billrabinowitz on January 06, 2019, 04:40:44 pm
keep getting an error message when I try to post a question
Title: Re: Server Error Reports
Post by: gnif on January 06, 2019, 05:15:34 pm
keep getting an error message when I try to post a question


Not much I can do if you don't report what the error message is.
Title: Re: Server Error Reports
Post by: Towger on January 12, 2019, 09:38:00 am
Hi gnif,

When using Tapatalk, for the last few weeks links to photos hosted on the form are appearing as broken links.
It appears to correspond to this Tapatalk issue: https://www.tapatalk.com/groups/tapatalksupport/photos-problem-t40891.html (https://www.tapatalk.com/groups/tapatalksupport/photos-problem-t40891.html)
Which they eventually think is caused by "We find the domain of your forum registered in Tapatalk is HTTP protocol. But the attachments were uploaded to the HTTPS domain."
We have been https for some time now, so this may be a red herring or has the hosting of attached files been recently changed on the server?

Thanks,
Towger.
Title: Re: Server Error Reports
Post by: Brumby on March 05, 2019, 03:06:02 am
500 Internal Server Error on Youtube videos.

Seems something has gone wrong around the SMF Youtube processor.  All Youtube videos I've checked (new and old) no longer work, despite the code being correct.
Title: Re: Server Error Reports
Post by: beanflying on March 05, 2019, 03:16:25 am
500 Internal Server Error on Youtube videos.

Seems something has gone wrong around the SMF Youtube processor.  All Youtube videos I've checked (new and old) no longer work, despite the code being correct.

Just checked the short Drone one I posted in the TEA thread earlier and it is fine. So  :-//
Title: Re: Server Error Reports
Post by: tautech on March 05, 2019, 03:52:19 am
500 Internal Server Error on Youtube videos.

Seems something has gone wrong around the SMF Youtube processor.  All Youtube videos I've checked (new and old) no longer work, despite the code being correct.

Just checked the short Drone one I posted in the TEA thread earlier and it is fine. So  :-//
Now they are fine but YT links were down when Brumby posted.
Title: Re: Server Error Reports
Post by: Brumby on March 05, 2019, 04:35:58 am
Yes, confirming all OK now.
Title: Re: Server Error Reports
Post by: technix on June 03, 2019, 08:43:00 pm
Bug report: login never works in the mobile site.

Symptom: when trying to log in in the mobile site, it always fails if the login period is set to forever.

Expected behavior: after putting in the correct login credentials, selecting “keep logged in” on the mobile login page and hitting the login button, the user should be logged in.

Observed behavior: Instead of logging the user in, the error message “The login session has timed out” appears and the user is not logged in.

Platform: iOS 12, iPhone 7 and iPad mini 5th generation.

Note: logging on the desktop site, then switch to the mobile site is a viable workaround, but it doesn’t work very well on small-screen devices like iPhone due to the font size.
Title: Re: Server Error Reports
Post by: gnif on August 10, 2019, 02:25:05 pm
Servers were just upgraded to PHP 7.2, please excuse the short outage that occurred during this.
Title: Re: Server Error Reports
Post by: PA0PBZ on August 10, 2019, 02:31:15 pm
It did also reset the "Show unread posts since last visit" pointer.
Title: Re: Server Error Reports
Post by: gnif on August 10, 2019, 02:32:21 pm
Yup, sorry about that, the session information was lost during the upgrade, which was unavoidable.
Title: Re: Server Error Reports
Post by: Mr. Scram on August 10, 2019, 02:44:42 pm
Servers were just upgraded to PHP 7.2, please excuse the short outage that occurred during this.
https://www.youtube.com/watch?v=T2DTsS7cmMw (https://www.youtube.com/watch?v=T2DTsS7cmMw)
Title: Re: Server Error Reports
Post by: gnif on September 18, 2019, 02:53:23 am
Sorry for the outage people, Dave installed a mod that broke things. Up and running again :)
Title: Re: Server Error Reports
Post by: Halcyon on September 18, 2019, 02:55:00 am
Sorry for the outage people, Dave installed a mod that broke things. Up and running again :)

Bloody Murphy Dave ;-)
Title: Re: Server Error Reports
Post by: EEVblog on September 18, 2019, 02:58:37 am
Sorry for the outage people, Dave installed a mod that broke things. Up and running again :)

Bloody Murphy Dave ;-)

I'll cop it!
Never had a mod take down the forum before, SMF has always played nice in that regard.
Title: Re: Server Error Reports
Post by: tautech on September 18, 2019, 04:55:07 am
Sorry for the outage people, Dave installed a mod that broke things. Up and running again :)

Bloody Murphy Dave ;-)

I'll cop it!
Never had a mod take down the forum before, SMF has always played nice in that regard.
Nice, you fixed the double flags !  :clap:
Title: Re: Server Error Reports
Post by: beanflying on September 18, 2019, 05:01:38 am
Sorry for the outage people, Dave installed a mod that broke things. Up and running again :)

Bloody Murphy Dave ;-)

I'll cop it!
Never had a mod take down the forum before, SMF has always played nice in that regard.

Generally not an issue but I was maintaining a hidden dummy forum to try mods and play with layouts before unleashing them on public forums. Might be worth it especially when SMF 2.1 'finally' gets released to try out any current mods and tweaks you have installed prior to upgrading the Forum proper.
Title: Re: Server Error Reports
Post by: gnif on September 18, 2019, 06:34:14 am
Running 'testing' forum of this size and complex configuration is a feat in itself. To accurately test how things will behave the configuration has to be near-identical, cluster configuration and all. That said when the next version is out of RC I plan to perform an install and test how the migration to it goes, I am dreading it however as I know that most (all?) mods/plugins will break.
Title: Re: Server Error Reports
Post by: beanflying on September 18, 2019, 06:54:12 am
Running 'testing' forum of this size and complex configuration is a feat in itself. To accurately test how things will behave the configuration has to be near-identical, cluster configuration and all. That said when the next version is out of RC I plan to perform an install and test how the migration to it goes, I am dreading it however as I know that most (all?) mods/plugins will break.

I am not right up to speed on where 2.1 is heading but the early on MODS not working from 2.0 to 2.1 is still the same by the sounds of it then. I do know a few of the mod devs had already made versions that were running on the Beta but still suspect. Even when it comes out might be worth hanging back to see if there is carnage on other forums first. Testing forum will never be perfect but it did save me when MOD's conflicted occasionally.
Title: Re: Server Error Reports
Post by: wilfred on September 18, 2019, 07:22:32 am
Running 'testing' forum of this size and complex configuration is a feat in itself. To accurately test how things will behave the configuration has to be near-identical, cluster configuration and all. That said when the next version is out of RC I plan to perform an install and test how the migration to it goes, I am dreading it however as I know that most (all?) mods/plugins will break.

A good reason to be sure you need a plugin before adding it.
Title: Re: Server Error Reports
Post by: BillB on October 15, 2019, 11:23:35 am
It seems there might be something wrong with this post.  Clicking on it returns a 504.  I wonder if someone posted an improper image or something? (It wasn't me this time)   

https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/ (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/)

Title: Re: Server Error Reports
Post by: tautech on October 15, 2019, 11:27:18 am
It seems there might be something wrong with this post.  Clicking on it returns a 504.  I wonder if someone posted an improper image or something? (It wasn't me this time)   

https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/ (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/)
Yep reported and also mentioned here:
https://www.eevblog.com/forum/blog/504-gateway-time-out-214220/ (https://www.eevblog.com/forum/blog/504-gateway-time-out-214220/)
Title: Re: Server Error Reports
Post by: gnif on October 15, 2019, 11:33:56 am
And as stated in the other thread, there is nothing I can do at current sorry as I am out of the country in an area with very poor internet connectivity. I will attend to it as soon as possible but no promises on when at this time.
Title: Re: Server Error Reports
Post by: BillB on October 15, 2019, 03:50:26 pm
And as stated in the other thread, there is nothing I can do at current sorry as I am out of the country in an area with very poor internet connectivity. I will attend to it as soon as possible but no promises on when at this time.

Sorry, I didn't see the other post.  I wasn't sure where to post a problem report.  Anyway, the thread in question opens just fine in IE or private Window Firefox, so it just has something to do with my FireFox plug-ins.
Title: Re: Server Error Reports
Post by: PA0PBZ on October 15, 2019, 04:25:18 pm
And as stated in the other thread, there is nothing I can do at current sorry as I am out of the country in an area with very poor internet connectivity. I will attend to it as soon as possible but no promises on when at this time.

Sorry, I didn't see the other post.  I wasn't sure where to post a problem report.  Anyway, the thread in question opens just fine in IE or private Window Firefox, so it just has something to do with my FireFox plug-ins.

It is about page 60: https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/1475/ (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/1475/)

It doesn't open Chrome, Edge, IE or Firefox.
Title: Re: Server Error Reports
Post by: StillTrying on October 15, 2019, 09:43:32 pm
I think it should be possible to delete the post on P60, or its 3 attachments without getting to P60.

Post: https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/msg2736522/#msg2736522 (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/msg2736522/#msg2736522)

Attachments:
https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/?action=dlattach;attach=854182 (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/?action=dlattach;attach=854182)
https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/?action=dlattach;attach=854184 (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/?action=dlattach;attach=854184)
https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/?action=dlattach;attach=854186 (https://www.eevblog.com/forum/testgear/siglent-sds1204x-e-released-for-domestic-markets-in-china/?action=dlattach;attach=854186)
Title: Re: Server Error Reports
Post by: McBryce on October 16, 2019, 07:46:56 am
I think the problem could be that the attachments are named *.PNG but are in fact BMP files?

McBryce.
Title: Re: Server Error Reports
Post by: BrianHG on November 07, 2019, 09:38:11 am
I found a bug with the 'Insert Code' feature.  Example:

Click just below the link 'select'.
Code: [Select]
module vid_pattern_generator(
input wire pclk,
input wire reset,
input wire pc_ena,      // Pixel clock enable
input wire hde_in, // Horizontal Display Enable - high when in display area (valid drawing area)
input wire vde_in, // Vertical Display Enable - high when in display area (valid drawing area)
input wire hs_in, // horizontal sync
input wire vs_in, // vertical sync


output reg hde_out,
output reg vde_out,
output reg hs_out,
output reg vs_out,

output reg [RGB_hbit:0] r_out,
output reg [RGB_hbit:0] g_out,
output reg [RGB_hbit:0] b_out,

);

parameter RGB_hbit    = 1;  // 1 will make the RGB ports go from 1 to 0, eg [1:0].  I know others prefer a '2' here for 2 bits


always @(posedge clk)
begin
if (reset) // global reset
begin



end
else
begin
if (pc_ena) // once per pixel
begin

// ***************  insert generator code here
// ***************  also remember to pass through the hde,vde,hs_out,vs_out
// ***************  in the future, numerous delay sizes may be needed if you are performing functions which take multiple clocks before a true pixel becomes valid

end
end
end // always @clk
endmodule

Just above, where I said 'Click on this code [select], the text in the code box should have been highlighted, or copied into my windows text clipboard where I should have been able to paste the ASCII text into my own text editor.  However, clicking on the '[select]' does nothing at all.

I'm using Firefox.
Title: Re: Server Error Reports
Post by: PA0PBZ on November 07, 2019, 10:27:17 am
I'm using Firefox.

I can confirm it doesn't work in Firefox but it works fine in Chrome, Edge and IE. Not sure if this is a server problem or a Firefox one.
Title: Re: Server Error Reports
Post by: BrianHG on November 07, 2019, 10:40:32 am
I'm using Firefox.

I can confirm it doesn't work in Firefox but it works fine in Chrome, Edge and IE. Not sure if this is a server problem or a Firefox one.

I just tried another community software engineering forum who has the same feature, using Firefox, and it works fine.  This forum must be using some special coding which isn't compatible with Firefox.

In Firefox on this forum, going over the code 'select' with my mouse shows a 'javascript:void(0)' at the bottom left of my browser.
On the third party forum, moving my mouse over their code 'select all' shows a valid https link.
Title: Re: Server Error Reports
Post by: Cerebus on November 07, 2019, 10:45:18 am
I'm using Firefox.

I can confirm it doesn't work in Firefox but it works fine in Chrome, Edge and IE. Not sure if this is a server problem or a Firefox one.

Tested in Firefox 70.0.1 (the very latest production version) and it fails. Doesn't in other browsers, as previously noted.

If you fire up the Firefox web console you see the following messages:

Quote
WARNING: cdn.mathjax.org has been retired. Check https://www.mathjax.org/cdn-shutting-down/ (https://www.mathjax.org/cdn-shutting-down/) for migration tips. MathJax.js:32:13
Loading failed for the <script> with source “https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js”. new:1:1
IndexSizeError: Index or size is negative or greater than the allowed amount 4 new:47
    smfSelectText https://www.eevblog.com/forum/chat/website-error-reports/new/?topicseen#new (https://www.eevblog.com/forum/chat/website-error-reports/new/?topicseen#new) line 5 > eval:47
    onclick https://www.eevblog.com/forum/chat/website-error-reports/new/?topicseen#new:1 (https://www.eevblog.com/forum/chat/website-error-reports/new/?topicseen#new:1)


So it looks like it's both Firefox and SMF in combination. Obviously it's the index error that's causing the problem and it's probably related to the failure to load ajax.googleapis.<snip>. Note that I can quite happily load the ajax.googleapis... javascript in a different Firefox window so something about SMF is causing it to fail to load.

That mathjax deprecation warning looks like it needs attending to as well.
Title: Re: Server Error Reports
Post by: gnif on December 25, 2019, 01:10:53 am
We are back, it seems somebody decided to attack the site on xmas day as we were the target of a distributed DDoS attack.

For those reporting bugs/problems with the forum, I am sorry but this thread is for server errors only, not forum bugs.
Title: Re: Server Error Reports
Post by: Koen on December 25, 2019, 06:07:52 pm
I now receive this popup from Chrome when I login :

"Change your password."
"A data breach on a site or app exposed your password. Chrome recommends changing your password on www.eevblog.com (http://www.eevblog.com) now."
Title: Re: Server Error Reports
Post by: Black Phoenix on December 26, 2019, 05:22:57 am
I now receive this popup from Chrome when I login :

"Change your password."
"A data breach on a site or app exposed your password. Chrome recommends changing your password on www.eevblog.com (http://www.eevblog.com) now."

Not on Firefox mind you, that also have the same functionality working.
Title: Re: Server Error Reports
Post by: bitseeker on March 27, 2020, 01:19:54 am
We're getting database errors when posting. Nothing happens when I get the error, but I saw one case where a post went through despite showing the error page.
Title: Re: Server Error Reports
Post by: bitseeker on April 04, 2020, 07:02:43 pm
Still getting a DB error, e.g., when modifying and then trying to save the original post of the TEA thread: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg1114480/ (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg1114480/)
Title: Re: Server Error Reports
Post by: Monkeh on April 20, 2020, 04:59:05 am
Starting around 04:50 UTC this morning, load times in the tens of seconds to minutes with sporadic 502s. Maybe it's just one of the small children playing with a toy ion cannon again.
Title: Re: Server Error Reports
Post by: orbanp on May 24, 2020, 01:37:56 pm
Post formatting error
Whenever I post new lines are randomly left out from my posting.Makes the posting all jumbled up.This is the only forum I am encountering this problem.I am using Firefox 76.0.1 (64-bit) on Ubuntu 18.04 with KDE front end.Just look at this posting!
Peter
Title: Re: Server Error Reports
Post by: beanflying on June 24, 2020, 09:12:43 pm
Apart from last nights outage and Server issues there is another problem that reared it's head yesterday.

Broken thumbnails not linking correctly to the picture that was uploaded. I 'fixed' one post by removing and replacing the files in the TEA thread but I have left this one https://www.eevblog.com/forum/chat/3d-printer-yet/msg3103687/#msg3103687 (https://www.eevblog.com/forum/chat/3d-printer-yet/msg3103687/#msg3103687) broken for a look.

The thing in common with the breakage is there is a space in the file name.

The edit and new post screen appears different in the attachment area as of yesterday so was there a new MOD installed yesterday or a different version of one installed? I suspect there is now a conflict with one of the file upload ones installed.
Title: Re: Server Error Reports
Post by: gnif on June 25, 2020, 01:24:41 am
Apart from last nights outage and Server issues there is another problem that reared it's head yesterday.

Broken thumbnails not linking correctly to the picture that was uploaded. I 'fixed' one post by removing and replacing the files in the TEA thread but I have left this one https://www.eevblog.com/forum/chat/3d-printer-yet/msg3103687/#msg3103687 (https://www.eevblog.com/forum/chat/3d-printer-yet/msg3103687/#msg3103687) broken for a look.

The thing in common with the breakage is there is a space in the file name.

The edit and new post screen appears different in the attachment area as of yesterday so was there a new MOD installed yesterday or a different version of one installed? I suspect there is now a conflict with one of the file upload ones installed.

This should be resolved as it was part of last nights efforts and I have regenerated the thumbnail in question.
Title: Re: Server Error Reports
Post by: gnif on June 25, 2020, 01:48:32 am
I have forced the server to re-generate all thumbnails going as far back as the initial report of the issue (15th June). Please report if this happens again.
Title: Re: Server Error Reports
Post by: mnementh on June 25, 2020, 04:14:07 am
It has happened here just a little while ago - https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3104394/#msg3104394 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3104394/#msg3104394)

The pic of a small speaker titled 1-Taming the Speaker.jpg now has the thumb from and seems to point to a pic from a later post; mnem-mask.jpg.


And here as well, recently; last time I was on thread this post was correct as well: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3103998/#msg3103998 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3103998/#msg3103998)

The image bean's Post.png SHOULD be a screencap of a TEA thread post by beanflying; that image now has the thumb from and seems to point to the battery image from the above post.

I usually use Firefox on my PCs; I brought up the thread on my iPad/Firefox and still FUBAR the same way, so not a local cache issue. Same behavior in Edge.
 

This may be related to another bug that has been happening for months; when posting multiple images, IF the posting process is interrupted for a new post warning, the damned thing just forgets the first pic. It attaches the rest of the pics normally, but that first one you ALWAYS have to go back and attach again.

As you can see, most of my pics in that post have spaces in the title; however the only one it barfed up was the first one, which I had re-uploaded because of the other bug. :-//

Let me know when you're done reviewing those posts and if you need I'll go back and re-attach the correct images.

Thanks,

mnem
Déjà vu: Best enjoyed as a garnish with wine, cheese and baguettes.

Title: Re: Server Error Reports
Post by: gnif on June 25, 2020, 04:34:14 am
SMF doesn't care about the filename, it stores all attachments as a hash of the file contents and references them via a table. There are two possible reasons why this happened:

1) The bug you mentioned
2) The maintenance last night was intended to correct some sync issues between the web servers as the database cluster had lost sync. Normally this would be fine, but there were other factors at play at the same time that prevented them from determining who was the "latest" and both were accepting update/insert queries at the same time (split-brain).

I should have been clearer I am sorry, if this is seen on new posts as of today, please let me know. Feel free to fix any that are messed up from prior.
Title: Re: Server Error Reports
Post by: Muttley Snickers on June 25, 2020, 06:09:28 am
Did something change today with the forum compatibility settings ? All the other sites are fine but I can no longer access the forum from my TV in the bedroom which runs an old crappy version of Chrome 22. I have reset everything my end but still get an Error 113 as shown in the image below. This message was posted from my main PC in the study.
Title: Re: Server Error Reports
Post by: gnif on June 25, 2020, 06:09:43 am
System updates were applied which may have removed deprecated & insecure SSL cryptos.
Title: Re: Server Error Reports
Post by: Muttley Snickers on June 25, 2020, 06:11:31 am
System updates were applied which may have removed deprecated & insecure SSL cryptos.
Bugger.   :palm:
Title: Re: Server Error Reports
Post by: gnif on June 25, 2020, 06:14:21 am
The people demanded SSL, they got it, people then demanded SSL enforcement, and in the end, they got it...
Welcome to the "modern" world :P

And I am sure you understand that there is no way I am going to maintain a custom version of OpenSSL/Nginx, etc... just to re-enable old crypto algs. Sorry.
Title: Re: Server Error Reports
Post by: Muttley Snickers on June 25, 2020, 06:21:56 am
No need to apologise, I am well overdue to update the TV as some other sites are not working anymore either. A friend gave me a Stick PC to resolve these issues but that gadget has been more trouble than it's worth.   :( 

https://www.eevblog.com/forum/chat/youtube-videos-no-longer-work-in-my-browser/ (https://www.eevblog.com/forum/chat/youtube-videos-no-longer-work-in-my-browser/)
Title: Re: Server Error Reports
Post by: gnif on June 25, 2020, 06:27:04 am
I recommend a RPi2 or better with LibreELEC on it.

https://libreelec.tv/

There is a Youtube addon, and even a EEVBlog one IIRC.
Title: Re: Server Error Reports
Post by: mnementh on June 25, 2020, 04:04:40 pm
An alternative is FF on a FireTV. I picked up one of the older brick-style ones cheap; it's powerful enough (Quad-core, 2GB RAM, MIMO) even today, and it still supports up to 2K native streaming with all the PrimeVideo (of course) and Netflix-certified HD content working correctly (Widevine DRM, etc) and Amazon still keeps them updated.  :-+

But the big plus is that even if you DON'T root & flash (you would NEVER do that, right...?  >:D), they have the ExpressVPN client available in the Amazon App store. For me, this makes it possible to keep watching my Hulu, etc while "visiting" in the Great White North... your reasons for wanting a VPN would be none of my business.  ;)

mnem
 :-/O
Title: Re: Server Error Reports
Post by: mnementh on June 26, 2020, 06:16:17 am
Happened again this afternoon. Had a post fail for new post warning; reposted seemed OK. Came back in the evening and it had gone blooey. I fixed it; not sure if you can follow the event history, but this is the post: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3105850/#msg3105850 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3105850/#msg3105850)

Cheers,

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: SilverSolder on June 26, 2020, 12:32:01 pm
The people demanded SSL, they got it, people then demanded SSL enforcement, and in the end, they got it...
Welcome to the "modern" world :P

And I am sure you understand that there is no way I am going to maintain a custom version of OpenSSL/Nginx, etc... just to re-enable old crypto algs. Sorry.

I swear I spend half the day on complying with various security features on the systems I work with.   Overall, the cost is probably higher than the inconvenience of just disconnecting those systems from the Internet altogether...
Title: Re: Server Error Reports
Post by: mnementh on June 26, 2020, 03:48:42 pm
Oklay... now it seems to be getting personal. Same post: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3105850/#msg3105850 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3105850/#msg3105850,); was fine last night after I fixed it, only now it's borked with a pic I just put up this AM in another thread.  |O

Should have this pic, not the screencap of a spacer that's there now:   (https://www.eevblog.com/forum/chat/website-error-reports/?action=dlattach;attach=1010726;image)

Lets see if this one goes blooey next time I post something with a pic...  :-\

Title: Re: Server Error Reports
Post by: gnif on June 26, 2020, 03:51:56 pm
Thanks yeah, don't fix this one if it breaks again. Each time you "fix" them I have zero information to go on.
Title: Re: Server Error Reports
Post by: mnementh on June 26, 2020, 04:06:17 pm
Okay... no prob. Here's the post I just put up with the pic that seems to be going wherever it feels like: https://www.eevblog.com/forum/chat/3d-printer-yet/msg3106712/#msg3106712 (https://www.eevblog.com/forum/chat/3d-printer-yet/msg3106712/#msg3106712)

So far, these are the borked posts:

https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3105850/#msg3105850 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3105850/#msg3105850) <-- repeat borkee

https://www.eevblog.com/forum/chat/3d-printer-yet/msg3106050/#msg3106050 (https://www.eevblog.com/forum/chat/3d-printer-yet/msg3106050/#msg3106050) <-- newly borked

I went back a few pages before the repeat borkee post and everything there seems to be okay; but there were several posts I fixed before as well so no idea if they'll decide to get in on the fun next time I post a pic. :-//

mnem
Sorry to be so much hassle...  :palm:
Title: Re: Server Error Reports
Post by: mnementh on June 26, 2020, 04:26:01 pm
Oh, duh... should I wait until you have a chance to investigate the above borked posts to post more pics, or just go on about my business now so you can see any new trail of breadcrumbs?

mnem
(https://filedn.com/lEDSGUXnO7mp9lWR3BbARrR/Emoticons/coffee_L.gif)
Title: Re: Server Error Reports
Post by: mnementh on June 27, 2020, 02:42:48 am
Oklay... just happened again. Seems to be like... every time I post a pic, it borks one or more of my previous pics.  :wtf:

Lets see...

(http://)

mnem
 |O
Title: Re: Server Error Reports
Post by: mnementh on June 27, 2020, 02:44:20 am
Huh...?

(https://www.eevblog.com/forum/chat/website-error-reports/?action=dlattach;attach=1011142;image)

mnem
 |O
Title: Re: Server Error Reports
Post by: gnif on June 27, 2020, 02:49:16 am
I have managed to replicate this, it seems to be caused when you try to post the message before the attachment has finished uploading, or you cancel an attachment and then upload another. Still trying to nut down the exact sequence of events that cause it.
Title: Re: Server Error Reports
Post by: mnementh on June 27, 2020, 02:56:58 am
That last one was a .heic that I forgot to convert to .jpg . Of course... like we needed to add more confusion.

No, usually the progress bar completes like in half a sec; I may or may not see a thumb right then. Usually if I don't, it's because HEIC or some similar invalid filetype. I HAVE occasionally had it error out with something to the effect of "File too large or took too long to upload", even when I was only uploading a single pic like 1-1.5MB...?

Not in the last couple days, tho.  :-//

mnem
 :o
Title: Re: Server Error Reports
Post by: mnementh on June 27, 2020, 03:04:29 am
It seems to be behaving in here... for the moment.  ::)

However, this post: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3107484/#msg3107484 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3107484/#msg3107484)

I added a 3rd pic after posting; 14-Manufacturer Info.jpg. It IMMEDIATELY showed up in place of the first pic in that post.

Then, just to see if it would happen again, I made another post. Then cyborg.jpg replaced both instances of that pic.  :-//

mnem
 :-[
Title: Re: Server Error Reports
Post by: mnementh on June 27, 2020, 05:06:11 pm
(https://www.eevblog.com/forum/chat/website-error-reports/?action=dlattach;attach=1011596;image)

Seriously...? STILL behaving in here...? I've had to fix this damned pic like 6 times now in the TEA thread...  |O

mnem
Title: Re: Server Error Reports
Post by: gnif on June 28, 2020, 05:52:03 am
I am sorry, I have had limited time of late and have not yet had an opportunity to dig any deeper into this.

There have been other higher priority issues to resolve before looking at this issue, I have spent the last few days working to get backups working after server updates, finally succeeded. Doing a remote incremental backup of the SMF attachment directory consisting of over half a million files (around 60GB) internationally is a nightmare. We are using GlusterFS which limits options with how to do this backup, otherwise, I would just mount an image over the attachment directory and snapshot its backing storage each time. (tar/gz of the directory is not an acceptable option due to server load concerns)
Title: Re: Server Error Reports
Post by: mnementh on June 28, 2020, 04:01:43 pm
Oh, man... I'm so sorry.  :-[

I didn't mean to make it sound like I was unhappy with your work; I wouldn't have your job for all the money in the world. ;) I would literally rather work HellDesk in a borg cubicle ship again.  :-DD

No, I was grousing about Murphy being a little skank; REFUSING to propagate the fault in here, where it would be easy for you to see.  :P

Carry on, sir. We all know (at least everyone I hang out with) that you're doing the best you can with limited resources.

Oh, and thanks for all the hard work. Don't think we haven't noticed you monitoring the TEA thread at 2am; we grok the dedication therein.  :-+

mnem
 :clap:
Title: Re: Server Error Reports
Post by: StillTrying on July 01, 2020, 12:04:10 pm
I've seen users posted images or attachments change after few hours to a different one from the same poster.

For me what should be  rigoltime.png
https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/?action=dlattach;attach=1006307 (https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/?action=dlattach;attach=1006307)
https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/msg3103617/#msg3103617 (https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/msg3103617/#msg3103617)

loads as xy.png  which is here
www.eevblog.com/forum/beginners/what-an-oscilloscope-recommended-for-a-woman-passionate-about-electronics/?action=dlattach;attach=1013970 (https://www.eevblog.com/forum/beginners/what-an-oscilloscope-recommended-for-a-woman-passionate-about-electronics/?action=dlattach;attach=1013970)
https://www.eevblog.com/forum/beginners/what-an-oscilloscope-recommended-for-a-woman-passionate-about-electronics/msg3113248/#msg3113248 (https://www.eevblog.com/forum/beginners/what-an-oscilloscope-recommended-for-a-woman-passionate-about-electronics/msg3113248/#msg3113248)

 :scared:
Title: Re: Server Error Reports
Post by: rhb on July 01, 2020, 01:53:41 pm
I tried to post 3 photos, some quoted text and a comment a little while ago.   When I hit "post" I got an "upload files" dialog and when I clicked OK it simply hung.  An attempt to post from another browser tab led to it getting posted missing my comments and 2 of 3 photos.  I had a similar experience about a week ago shortly after which the forum became inaccessible for several hours.

Reg
Title: Re: Server Error Reports
Post by: DrG on July 01, 2020, 02:04:43 pm
Regarding the mysterious picture adds/replacements. I caught this problem in mid post that might give some clues to what is going on....

I am entering in a new post. I add a picture. In this case it is a picture of a mushroom in a photography focus stacking thread. I do the usual and add the pic, the post has not been sent.

In another window, I then scrolled through my old posts to find one that I intended to link into the post that is still open.

My eye caught that the pic of the mushroom had been substituted for a post of a graph in a corona virus thread - literally added to the post and when viewing the post, I can see that it was added and I could also see a notice:

There are attachments found, which you have attached before but not posted. These attachments are now attached to this post. If you do not want to include them in this post, you can remove them here.

So leaving an unattached photo (as when you are writing but have not submitted a post) is fair game to be inserted into any of ones posts that you view (not modify). Sounds nutty, but it looks like that is what just happened. I will complete the post and edit this message to see if it changes.

EDIT: as you can see, the pic in "limbo" got attached to this post. I did not add it to this post as per normal. Now that I know, I will be sure to have all my pics for a post lined up before opening any other windows or doing any other actions.

EDIT: I also see that the mushroom pic remained added to the corona virus post and bumped the original pic. I had to 'hand' correct that.

EDIT: and further, while the thumbnail pic attached to this post is the mushroom, the pic after the thumbnail is clicked, is the graph from the corona virus thread that I had to replace. I will log off hopefully clear the cache du jour and see if there is persistence....logging off/on makes no difference.

Pics in limbo are evil and get put in places that you don't want. Orphaning pics is the devils work  :)
Title: Re: Server Error Reports
Post by: rhb on July 01, 2020, 11:43:30 pm
Why is the quoting in this wrong?

https://www.eevblog.com/forum/testgear/scope-wars/msg3115270/#msg3115270 (https://www.eevblog.com/forum/testgear/scope-wars/msg3115270/#msg3115270)

My response is not nested correctly.

Reg
Title: Re: Server Error Reports
Post by: nuclearcat on July 02, 2020, 12:01:52 am
I am sorry, I have had limited time of late and have not yet had an opportunity to dig any deeper into this.

There have been other higher priority issues to resolve before looking at this issue, I have spent the last few days working to get backups working after server updates, finally succeeded. Doing a remote incremental backup of the SMF attachment directory consisting of over half a million files (around 60GB) internationally is a nightmare. We are using GlusterFS which limits options with how to do this backup, otherwise, I would just mount an image over the attachment directory and snapshot its backing storage each time. (tar/gz of the directory is not an acceptable option due to server load concerns)
Maybe restic + minio duo?
Also you can try "nice -n 19 ionice -c 3" before tar.
Title: Re: Server Error Reports
Post by: xrunner on July 02, 2020, 12:05:50 am
Why is the quoting in this wrong?

https://www.eevblog.com/forum/testgear/scope-wars/msg3115270/#msg3115270 (https://www.eevblog.com/forum/testgear/scope-wars/msg3115270/#msg3115270)

My response is not nested correctly.

Reg

Because some of the quote tags were in the wrong place, I edited it, is this what you wanted?

Code: [Select]

[quote author=gf link=topic=244895.msg3115242#msg3115242 date=1593644906]
[quote author=rhb link=topic=244895.msg3115206#msg3115206 date=1593643321]
Why do you have the 20 MHz BW filter turned on for this? 
[/quote]

Sorry, the [b]AWG[/b] isn't faster :(

[quote]
A 1024 point FFT with a 1 ns sample interval has a 500 MHz Nyquist and 977 kHz RBW.  With a 1024 pixel wide screen *every* sample can be shown. There is no interpolation needed.
[/quote]

Timebase is 20ns/div => ~1000 pixel = 200 ns, plus some headroom for zoom-in after stopping the capture. In the time domain display of the first image (-> step interpolation) you can see that the 1ns samples from the ADC are more than one pixel wide.

I'm pretty confident that the reported 12.5Gs/s FFT sampling rate is indeed the (upsampled) display buffer sampling rate for the selected timebase. Particularly in the first image, the spectrum beyond 1GHz matches the expected spectrum of the step-interpolation as shown in the time-domain trace.
[/quote]
Please put a 50 ohm thru termination on it and repost.  A BNC tee with a 50 ohm terminator is "good enough".  I'll address the rest later.  Interpolation does *not* imply greater BW.  Common knowledge if you resample via Fourier transform as I usually do.

Reg


gives this -


Why do you have the 20 MHz BW filter turned on for this? 

Sorry, the AWG isn't faster :(

Quote
A 1024 point FFT with a 1 ns sample interval has a 500 MHz Nyquist and 977 kHz RBW.  With a 1024 pixel wide screen *every* sample can be shown. There is no interpolation needed.

Timebase is 20ns/div => ~1000 pixel = 200 ns, plus some headroom for zoom-in after stopping the capture. In the time domain display of the first image (-> step interpolation) you can see that the 1ns samples from the ADC are more than one pixel wide.

I'm pretty confident that the reported 12.5Gs/s FFT sampling rate is indeed the (upsampled) display buffer sampling rate for the selected timebase. Particularly in the first image, the spectrum beyond 1GHz matches the expected spectrum of the step-interpolation as shown in the time-domain trace.
Please put a 50 ohm thru termination on it and repost.  A BNC tee with a 50 ohm terminator is "good enough".  I'll address the rest later.  Interpolation does *not* imply greater BW.  Common knowledge if you resample via Fourier transform as I usually do.

Reg
Title: Re: Server Error Reports
Post by: tooki on July 04, 2020, 12:10:14 pm
Regarding the mysterious picture adds/replacements. I caught this problem in mid post that might give some clues to what is going on....

I am entering in a new post. I add a picture. In this case it is a picture of a mushroom in a photography focus stacking thread. I do the usual and add the pic, the post has not been sent.

In another window, I then scrolled through my old posts to find one that I intended to link into the post that is still open.

My eye caught that the pic of the mushroom had been substituted for a post of a graph in a corona virus thread - literally added to the post and when viewing the post, I can see that it was added and I could also see a notice:

There are attachments found, which you have attached before but not posted. These attachments are now attached to this post. If you do not want to include them in this post, you can remove them here.

So leaving an unattached photo (as when you are writing but have not submitted a post) is fair game to be inserted into any of ones posts that you view (not modify). Sounds nutty, but it looks like that is what just happened. I will complete the post and edit this message to see if it changes.

EDIT: as you can see, the pic in "limbo" got attached to this post. I did not add it to this post as per normal. Now that I know, I will be sure to have all my pics for a post lined up before opening any other windows or doing any other actions.

EDIT: I also see that the mushroom pic remained added to the corona virus post and bumped the original pic. I had to 'hand' correct that.

EDIT: and further, while the thumbnail pic attached to this post is the mushroom, the pic after the thumbnail is clicked, is the graph from the corona virus thread that I had to replace. I will log off hopefully clear the cache du jour and see if there is persistence....logging off/on makes no difference.

Pics in limbo are evil and get put in places that you don't want. Orphaning pics is the devils work  :)
And now it's some other image, a still capture from a newscast. This problem is getting worse, it looks like to me.

I've encountered it here, among others:

https://www.eevblog.com/forum/chat/moisture-and-electronics/ (https://www.eevblog.com/forum/chat/moisture-and-electronics/)
https://www.eevblog.com/forum/repair/restore-dirtycorroded-ic-pins/ (https://www.eevblog.com/forum/repair/restore-dirtycorroded-ic-pins/)
Title: Re: Server Error Reports
Post by: DrG on July 04, 2020, 01:53:05 pm
Regarding the mysterious picture adds/replacements. I caught this problem in mid post that might give some clues to what is going on....

I am entering in a new post. I add a picture. In this case it is a picture of a mushroom in a photography focus stacking thread. I do the usual and add the pic, the post has not been sent.

In another window, I then scrolled through my old posts to find one that I intended to link into the post that is still open.

My eye caught that the pic of the mushroom had been substituted for a post of a graph in a corona virus thread - literally added to the post and when viewing the post, I can see that it was added and I could also see a notice:

There are attachments found, which you have attached before but not posted. These attachments are now attached to this post. If you do not want to include them in this post, you can remove them here.

So leaving an unattached photo (as when you are writing but have not submitted a post) is fair game to be inserted into any of ones posts that you view (not modify). Sounds nutty, but it looks like that is what just happened. I will complete the post and edit this message to see if it changes.

EDIT: as you can see, the pic in "limbo" got attached to this post. I did not add it to this post as per normal. Now that I know, I will be sure to have all my pics for a post lined up before opening any other windows or doing any other actions.

EDIT: I also see that the mushroom pic remained added to the corona virus post and bumped the original pic. I had to 'hand' correct that.

EDIT: and further, while the thumbnail pic attached to this post is the mushroom, the pic after the thumbnail is clicked, is the graph from the corona virus thread that I had to replace. I will log off hopefully clear the cache du jour and see if there is persistence....logging off/on makes no difference.

Pics in limbo are evil and get put in places that you don't want. Orphaning pics is the devils work  :)
And now it's some other image, a still capture from a newscast. This problem is getting worse, it looks like to me.

I've encountered it here, among others:

https://www.eevblog.com/forum/chat/moisture-and-electronics/ (https://www.eevblog.com/forum/chat/moisture-and-electronics/)
https://www.eevblog.com/forum/repair/restore-dirtycorroded-ic-pins/ (https://www.eevblog.com/forum/repair/restore-dirtycorroded-ic-pins/)

Wow, you are right. The pic displayed (the one you referred to as from a news cast) was the last pic that I attached to a post and it was attached to a post after making the original post in the this thread.

I wonder if my original post in this thread (the mushroom thumbnail but varying pic when you click it) will pic up the last pic link that I use. Testing it with this pic:

[attachimg=1]

Edit: well, so far it (the mushroom thumbnail in my original post in the thread) has NOT picked up the squirrel post above - it still clicks to the newspost pic. Odd.
Title: Re: Server Error Reports
Post by: StillTrying on July 04, 2020, 02:13:22 pm
I've seen users posted images or attachments change after few hours to a different one from the same poster.

My rigoltime.png on here loads as xy.png
https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/msg3103617/#msg3103617 (https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/msg3103617/#msg3103617)

I've removed and re-added rigoltime.png. :)

Ed But it changed again. :D
Title: Re: Server Error Reports
Post by: rhb on July 04, 2020, 03:33:44 pm
I just posted 3 photos.  The first one was munged.  When I tried to fix it I got a time out error.  I did not open any other EEVblog post.

Edit: Here's the post:

https://www.eevblog.com/forum/testgear/scope-wars/msg3119276/#msg3119276 (https://www.eevblog.com/forum/testgear/scope-wars/msg3119276/#msg3119276)
Title: Re: Server Error Reports
Post by: StillTrying on July 04, 2020, 08:50:25 pm
Here's another post where the thumbnails expand to the wrong image.

https://www.eevblog.com/forum/beginners/critique-my-first-pcb-design/msg3114552/#msg3114552 (https://www.eevblog.com/forum/beginners/critique-my-first-pcb-design/msg3114552/#msg3114552)
Title: Re: Server Error Reports
Post by: SilverSolder on July 05, 2020, 03:51:38 am

I've noticed that when attaching 2 or 3 images in-line, full size, the order of the attachments is not always respected...  I then have to edit the post and change the AttachImage tags to make it work...
Title: Re: Server Error Reports
Post by: StillTrying on July 05, 2020, 01:03:51 pm
"I've noticed that when attaching 2 or 3 images in-line, full size, the order of the attachments is not always respected..."

I used to add the attachments in reverse order.
I used to add the attachments in the correct order one by one, "modifying" the post after posting to add attachment 2.

None of them are 100%, it seems worse now where a thumbnail doesn't open the correct image - as well. :horse:
Title: Re: Server Error Reports
Post by: mnementh on July 05, 2020, 03:57:26 pm
Good to know it's not just me... I thought I had somehow personally offended the Forum Gods.  :-DD

Good Hunting, gnif. Hope you get it sorted soon. :-+

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: tooki on July 06, 2020, 04:06:31 pm

I've noticed that when attaching 2 or 3 images in-line, full size, the order of the attachments is not always respected...  I then have to edit the post and change the AttachImage tags to make it work...
Yep, that's an unrelated problem discovered immediately when the two image attachment plugins were added. There are no plans to fix it. :/
Title: Re: Server Error Reports
Post by: Gyro on July 06, 2020, 05:35:07 pm
Good to know it's not just me... I thought I had somehow personally offended the Forum Gods.  :-DD

Good Hunting, gnif. Hope you get it sorted soon. :-+

mnem
 :popcorn:

Here's a single image post example from today if it helps... https://www.eevblog.com/forum/projects/source-for-these-beefy-pancake-coils/ (https://www.eevblog.com/forum/projects/source-for-these-beefy-pancake-coils/)
Title: Re: Server Error Reports
Post by: tautech on July 06, 2020, 09:46:04 pm
Good to know it's not just me... I thought I had somehow personally offended the Forum Gods.  :-DD

Good Hunting, gnif. Hope you get it sorted soon. :-+

mnem
 :popcorn:
Nope it ain't just you mnem as the forum has some serious issues with attachment of files.
For now it's only safe to attach one/post.  ::)
Title: Re: Server Error Reports
Post by: T3sl4co1l on July 06, 2020, 10:17:12 pm
Different people are reporting different things, maybe a database or cache coherency issue?  Seems related to the relatively recent attachment upgrade, but I wonder why it didn't show up as a problem before; if the caches just weren't filled up until recently, that could hint at something?

Tim
Title: Re: Server Error Reports
Post by: mnementh on July 07, 2020, 03:06:41 am
Not sure... like Gyro's example; I've had a post with a single image bork two older posts daisy-chain style. If I delete the borked pic to replace with the correct one, sometimes THAT pic will bork other older posts further down the thread. I think there's something messed up in how the database handles file pointers, m'self... but that's just drawn from hazy memories of Filesystems Forensics coursework in Uni almost 2 decades ago... :-//

mnem
 :=\
Title: Re: Server Error Reports
Post by: SilverSolder on July 07, 2020, 03:28:51 am
Not sure... like Gyro's example; I've had a post with a single image bork two older posts daisy-chain style. If I delete the borked pic to replace with the correct one, sometimes THAT pic will bork other older posts further down the thread. I think there's something messed up in how the database handles file pointers, m'self... but that's just drawn from hazy memories of Filesystems Forensics coursework in Uni almost 2 decades ago... :-//

mnem
 :=\

The messages and images may be served straight out of a database...   no file system involved.   It seems like a pretty ugly bug, though, that one message can affect another.  Definitely things are being scrambled somewhere in the system, possibly incompatible libraries after a patch or update, or something like that.
Title: Re: Server Error Reports
Post by: tautech on July 07, 2020, 03:45:51 am
Calling Dave, come in Dave.

What's going on ?  :popcorn:
Title: Re: Server Error Reports
Post by: mnementh on July 07, 2020, 05:40:30 pm
Not sure... like Gyro's example; I've had a post with a single image bork two older posts daisy-chain style. If I delete the borked pic to replace with the correct one, sometimes THAT pic will bork other older posts further down the thread. I think there's something messed up in how the database handles file pointers, m'self... but that's just drawn from hazy memories of Filesystems Forensics coursework in Uni almost 2 decades ago... :-//

mnem
 :=\

The messages and images may be served straight out of a database...   no file system involved.   It seems like a pretty ugly bug, though, that one message can affect another.  Definitely things are being scrambled somewhere in the system, possibly incompatible libraries after a patch or update, or something like that.

Yeah, that's me misremembering/misusing terminology last grokked over a decade ago.  :palm: gnif stated a couple pages back (https://www.eevblog.com/forum/chat/website-error-reports/msg3104596/#msg3104596) in the interest of transparency that SMF stores all attachments as a hash of the file contents and references them via a table. To me this sounded like pointers (base address and offset address in a table?) and I probably should've kept my mouth shut.  :-DD

If you don't use it you lose it. ;)

mnem
*goes and stands in the corner*
Title: Re: Server Error Reports
Post by: SilverSolder on July 07, 2020, 08:43:35 pm
Not sure... like Gyro's example; I've had a post with a single image bork two older posts daisy-chain style. If I delete the borked pic to replace with the correct one, sometimes THAT pic will bork other older posts further down the thread. I think there's something messed up in how the database handles file pointers, m'self... but that's just drawn from hazy memories of Filesystems Forensics coursework in Uni almost 2 decades ago... :-//

mnem
 :=\

The messages and images may be served straight out of a database...   no file system involved.   It seems like a pretty ugly bug, though, that one message can affect another.  Definitely things are being scrambled somewhere in the system, possibly incompatible libraries after a patch or update, or something like that.

Yeah, that's me misremembering/misusing terminology last grokked over a decade ago.  :palm: gnif stated a couple pages back (https://www.eevblog.com/forum/chat/website-error-reports/msg3104596/#msg3104596) in the interest of transparency that SMF stores all attachments as a hash of the file contents and references them via a table. To me this sounded like pointers (base address and offset address in a table?) and I probably should've kept my mouth shut.  :-DD

If you don't use it you lose it. ;)

mnem
*goes and stands in the corner*

What we are seeing is a fault of that type -  relationship between two logical entities has gone amiss, whether implemented as pointers or references to another table or whatever.  FUBAR covers it!  :D
Title: Re: Server Error Reports
Post by: dcac on July 10, 2020, 09:07:13 pm
I've encountered this nasty picture posting bug with my posts in this thread: https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/msg3128860/#msg3128860 (https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/msg3128860/#msg3128860) , they should have two pictures each. But only the first uploaded picture seemed to be affected. Trying a couple of times re-uploading and saving the post again seemed to fix it. But not so lucky on the last post it just seems to hang during upload when I try to modify it.

Title: Re: Server Error Reports
Post by: Cerebus on July 11, 2020, 02:33:29 am
Given that this seems to be happening to the same people repeatedly (I'm looking at you Mnem) and not to just everybody at random, can I suggest that the people who've experienced this post what combination of browser/version/platform that they are using? It has the flavour of being something like a change in platform javascript behaviour, perhaps tied to a particular recent version/update. If my hypothesis is right we should see some commonality between the setups of people that it's happening to, if it's wrong then we won't.
Title: Re: Server Error Reports
Post by: StillTrying on July 11, 2020, 12:47:23 pm
Given that this seems to be happening to the same people repeatedly.

Yes it only effects some of us and some images, but it's not at our end. https://www.eevblog.com/forum/chat/website-error-reports/msg3104478/#msg3104478 (https://www.eevblog.com/forum/chat/website-error-reports/msg3104478/#msg3104478)

I've added a spare rigoltime.png attachment to see if that one changes, I'd already removed and replaced the first one but it changed again. :)
https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/msg3103617/#msg3103617 (https://www.eevblog.com/forum/chat/does-a-capacitor-charges-smooth-or-in-stairs/msg3103617/#msg3103617)

[attachimg=1]
Title: Re: Server Error Reports
Post by: dcac on July 11, 2020, 01:13:53 pm
https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/msg3130828/#msg3130828 (https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/msg3130828/#msg3130828)

Trying to workaround the bug I only posted one pic/post on my last two posts - but both got affected anyway - post #1 I noticed immediately - had correct thumbnail but opened up the pic from post#2 - I re-uploaded pic to #1 and that fixed it. Both posts were correct 12h ago but now post#2 opens the pic from #1.

Are we being cyber attacked?!

Title: Re: Server Error Reports
Post by: Brumby on July 11, 2020, 01:31:10 pm
Not that I'm aware of.

Gnif knows about it and is trying to find the time to track this down.  (Remember, he puts in is own time for free to look after this place.)
Title: Re: Server Error Reports
Post by: mnementh on July 11, 2020, 05:48:07 pm
Given that this seems to be happening to the same people repeatedly (I'm looking at you Mnem) and not to just everybody at random, can I suggest that the people who've experienced this post what combination of browser/version/platform that they are using? It has the flavour of being something like a change in platform javascript behaviour, perhaps tied to a particular recent version/update. If my hypothesis is right we should see some commonality between the setups of people that it's happening to, if it's wrong then we won't.

Nahhhh... it's happening to lots of people. You just notice it more with me because I'm a heavy abuser of visual aids; goes with the territory being the class clown. ;)

I've been trying to find a process which ameliorates the issue; right now I'm doing this:

I make sure I finish the longish process of editing the text of a pic-laden post and click "Review" just before adding pics to eliminate the possibility of a "There are new posts" red flag ducking up my file uploads; this has been going on since long before this latest SMF indignity.  |O  BTW, I have confirmed that it isn't just image files which get borked; I had a .pdf wind up in limbo the same way not too long ago.

Also, I make sure to:

Resize my pics to ~300k or less

Upload 3 or less at a time, and

Wait 10 seconds after the last pic is "uploaded" before I click "POST" or "SAVE" so the process completes as quickly as possible.

This ties in (I think) with the notion gnif proffered a while back that the issue is related to lag in propagation between servers; at first I thought it might have been because I sortof straddle 2 transatlantic trunks here in Toronto, but extensive trial & error found no correlation with whether I was using my VPN (server in New Jersey) or not. :-//

When I DO get a borked pic, I try to fix it by just adding that pic again and linking to the new pic rather than deleting the faulty pic and replacing it. This seems to lessen the likelihood that fixing a post will then bork another older post in the thread. It SEEMS to; that may just be confirmation bias. :-//

Good hunting, gnif!

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: dcac on July 11, 2020, 06:30:39 pm
Some more info:

From the PC I made the #1 and #2 mentioned posts - both pictures are still correct - I can open the page in a new window or restart Firefox or reload the page over and over - and they are still correct.

But if I open the page in a new private window in Firefox - clicking the thumbnail in post #2 shows the pic from post #1. And this is also the case if I open the page from any other PC.

EDIT:

Also just tested - if I log out from eevblog the behavior is the same as I described.

Perhaps the behavior has something to do with the cookies stored on the PC I posted from - I don't know.


Title: Re: Server Error Reports
Post by: amyk on July 12, 2020, 03:23:37 am
I just experienced this image bug with two posts here:
https://www.eevblog.com/forum/repair/old-cnc-machine-memory-board/ (https://www.eevblog.com/forum/repair/old-cnc-machine-memory-board/)

The image URLs are:
https://www.eevblog.com/forum/repair/old-cnc-machine-memory-board/?action=dlattach;attach=1021664;image (https://www.eevblog.com/forum/repair/old-cnc-machine-memory-board/?action=dlattach;attach=1021664;image)

https://www.eevblog.com/forum/repair/old-cnc-machine-memory-board/?action=dlattach;attach=1021660;image (https://www.eevblog.com/forum/repair/old-cnc-machine-memory-board/?action=dlattach;attach=1021660;image)

Note that they are different, but the contents are exactly the same.

HTTP headers of the two for comparison:
Code: [Select]
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 12 Jul 2020 03:18:39 GMT
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1
X-Content-Type-Options: nosniff
Content-Encoding: none
Pragma:
Content-Transfer-Encoding: binary
Expires: Mon, 12 Jul 2021 03:18:39 GMT
Last-Modified: Sun, 12 Jul 2020 01:40:14 GMT
Accept-Ranges: bytes
ETag: "10216643-711-2615G.jpg1594518014"
Content-Disposition: inline; filename="3-711-2615G.jpg"
Cache-Control: max-age=31536000, private
X-Backend: web1.eevblog.com

Code: [Select]
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 12 Jul 2020 03:18:53 GMT
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1
X-Content-Type-Options: nosniff
Content-Encoding: none
Pragma:
Content-Transfer-Encoding: binary
Expires: Mon, 12 Jul 2021 03:18:53 GMT
Last-Modified: Sun, 12 Jul 2020 01:40:14 GMT
Accept-Ranges: bytes
ETag: "10216603 542 1174A.JPG1594518014"
Content-Disposition: inline; filename="3 542 1174A.JPG"
Cache-Control: max-age=31536000, private
X-Backend: web2.eevblog.com

It claims the filenames are different but the last-modified for the two are the same, as-is the timestamp-ish part of the ETag (which translates precisely to the last-modified.)
Title: Re: Server Error Reports "Thread-Problems with uploaded attachements!"
Post by: PushUp on July 12, 2020, 08:28:40 am
Thread-Problems with uploaded attachements!


As mentioned by TV84, this might be a big problem:
https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3122658/#msg3122658 (https://www.eevblog.com/forum/testgear/new-rigol-16-bit-function-generators-dg800900-series/msg3122658/#msg3122658)

As long as only pictrures are concerned, it is simply annoying, compared to the effort you had with making, downsizing (to meet the max. 5MB limit) and last but not least uploading the images to your post.

The problem:
The Thumbnail-Picture is still fine, but the link to it is wrong and leads to a completely false picture. It is somehow messed up with any (!!!) further reply you make in the forum, I guess?!

Here is an example:
https://www.eevblog.com/forum/testgear/uni-t-ut181a-triplett-9065-trend-viewer-question/msg3132148/#msg3132148 (https://www.eevblog.com/forum/testgear/uni-t-ut181a-triplett-9065-trend-viewer-question/msg3132148/#msg3132148)

The thumbnail of the first pic is correct, but it leads to the picture from my next reply, therefore it was somehow replaced by it, which leads to a mess, as described pictures are gone and the message gets useless...

Probably, it is better to use external image/file hoster, till the problem is solved to avoid a total mess?!


Cheers!
Title: Re: Server Error Reports
Post by: SilverSolder on July 12, 2020, 11:19:54 am

I wonder why some people get less problems...

One thing that might vary from user to user, is how the files are named.   Do you always give the image a unique name in every post (including, being unique across all posts)?

Title: Re: Server Error Reports
Post by: dcac on July 12, 2020, 11:36:22 am
When I post multiple pics they are usually from the same folder and therefor also has a unique name.

I wonder if the problem is more related to the amount of server traffic when you post the pictures/attachments.

Title: Re: Server Error Reports
Post by: dcac on July 12, 2020, 11:39:12 am
This is the 'element code' of my two mentioned posts/pics from a PC that opens same image from both - or shows the error.

When I get access to the PC I made those post from I do the same thing to see if any difference appear.

Code: [Select]
<a href="https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021018;image" id="link_1021018-0" onclick="return ILAexpandThumb(1021018-0);"><img src="https://www.eevblog.com/forum/index.php?action=dlattach;topic=240210.0;attach=1021020;image" alt="1021018-0" title="Show us your mains waveform!" id="thumb_1021018-0" style="width:100px;border:0;" data-pagespeed-url-hash="2538578502" onload="pagespeed.CriticalImages.checkImageForCriticality(this);"></a>

Code: [Select]
<a href="https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image" id="link_1021014-0" onclick="return ILAexpandThumb(1021014-0);"><img src="https://www.eevblog.com/forum/index.php?action=dlattach;topic=240210.0;attach=1021016;image" alt="1021014-0" title="Show us your mains waveform!" id="thumb_1021014-0" style="width:100px;border:0;" data-pagespeed-url-hash="1545177425" onload="pagespeed.CriticalImages.checkImageForCriticality(this);"></a>

EDIT: well the code is exactly the same from the PC that can open correct image - no big surprise there but I'm still puzzled how it manage to fetch the correct image it does not seem to get it from Firefox cache.

EDIT2: so what I am essentially observing is this link:

https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image (https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image)

will open correct image from the PC I posted/uploaded it from and show a sine wave in blue. But if I open it from any other PC it opens the image from my previous post and show a sine wave in red.

All thumbnails are shown correctly from all PC I've tested.
 
Title: Re: Server Error Reports
Post by: SilverSolder on July 12, 2020, 12:17:07 pm
This is the 'element code' of my two mentioned posts/pics from a PC that opens same image from both - or shows the error.

When I get access to the PC I made those post from I do the same thing to see if any difference appear.

Code: [Select]
<img src="https://www.eevblog.com/forum/index.php?action=dlattach;topic=240210.0;attach=1021020;image" alt="1021018-0" title="Show us your mains waveform!" id="thumb_1021018-0" style="width:100px;border:0;" data-pagespeed-url-hash="2538578502" onload="pagespeed.CriticalImages.checkImageForCriticality(this);">
Code: [Select]
<img src="https://www.eevblog.com/forum/index.php?action=dlattach;topic=240210.0;attach=1021016;image" alt="1021014-0" title="Show us your mains waveform!" id="thumb_1021014-0" style="width:100px;border:0;" data-pagespeed-url-hash="1545177425" onload="pagespeed.CriticalImages.checkImageForCriticality(this);">

When I hit those two links (the img src links) from here, they are definitely different thumbnails.
Title: Re: Server Error Reports
Post by: rhb on July 12, 2020, 01:04:40 pm
I think it affects all attachments.  IIRC I had an Octave script that got posted as a jpg which I deleted when I couldn't open the image.

Reg
Title: Re: Server Error Reports
Post by: amyk on July 13, 2020, 01:46:03 am
EDIT2: so what I am essentially observing is this link:

https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image (https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image)

will open correct image from the PC I posted/uploaded it from and show a sine wave in blue. But if I open it from any other PC it opens the image from my previous post and show a sine wave in red.

All thumbnails are shown correctly from all PC I've tested.
From that link I am seeing a red sine wave.

Note: you should be able to do ctrl+F5 to force a reload from network and not cache, in most browsers. You can also directly access the network, with guarantee of no caching, by using utility like wget or curl.
Title: Re: Server Error Reports
Post by: dcac on July 13, 2020, 01:55:16 pm
EDIT2: so what I am essentially observing is this link:

https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image (https://www.eevblog.com/forum/projects/show-us-your-mains-waveform!/?action=dlattach;attach=1021014;image)

will open correct image from the PC I posted/uploaded it from and show a sine wave in blue. But if I open it from any other PC it opens the image from my previous post and show a sine wave in red.

All thumbnails are shown correctly from all PC I've tested.
From that link I am seeing a red sine wave.

Note: you should be able to do ctrl+F5 to force a reload from network and not cache, in most browsers. You can also directly access the network, with guarantee of no caching, by using utility like wget or curl.

Yeah I finally manage to clear the Firefox cache - though I had to clear it restart FF and then clear it again. Now the posting PC also fetches the wrong image which is the red sine wave. I didn't clear any cookies so these probably had no effect on this problem.
Title: Re: Server Error Reports
Post by: T3sl4co1l on July 14, 2020, 06:24:33 am
Also, can we have some way to disable Imgur embeds?

Say I post a link, a raw URL, not an img embed, and that's literally all I want.

There exists no combination of Imgur URL (gallery or direct link) that won't auto embed.  It's way too greedy.

Often I want to refer to links inline with text and this BIG MOTHERFUCKING EMBED interrupts my text, it's ridiculous.

YouTube embeds do the same thing, but there at least you can use a shortened link to evade it (IIRC?).

Tim
Title: Re: Server Error Reports
Post by: BrianHG on July 15, 2020, 09:37:24 pm
Image files and attached files corruptions going MAD.....

Example, 3 corrupt images on this thread page:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3135492/#msg3135492 (https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3135492/#msg3135492)
Scroll down, the errors are over a few posts...

Try expanding the timing diagram in this post:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3121924/#msg3121924 (https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3121924/#msg3121924)

try expanding the second image in this post:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3111866/#msg3111866 (https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3111866/#msg3111866)

Or this one:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3111884/#msg3111884 (https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3111884/#msg3111884)

This one has the wrong image:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/1075/ (https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/1075/)

This one is also corrupt:
https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3107130/#msg3107130 (https://www.eevblog.com/forum/fpga/fpga-vga-controller-for-8-bit-computer/msg3107130/#msg3107130)

The top example now has 4 corrupt images.  Yes, 1 new one in the time I've been writing this message if you go to the first link and scroll up instead of down.  Those images were there fine yesterday.

Here is another one:
https://www.eevblog.com/forum/fpga/home-made-systemverilog-3-word-zero-latency-fifo-documented-for-beginners/msg3123336/#msg3123336 (https://www.eevblog.com/forum/fpga/home-made-systemverilog-3-word-zero-latency-fifo-documented-for-beginners/msg3123336/#msg3123336)

In fact, over the last week, I've editing my posts, deleting & re-uploading images again & again.
Does anyone know what's been going on?
Title: Re: Server Error Reports
Post by: amyk on July 16, 2020, 01:26:16 pm
Also, can we have some way to disable Imgur embeds?

Say I post a link, a raw URL, not an img embed, and that's literally all I want.

There exists no combination of Imgur URL (gallery or direct link) that won't auto embed.  It's way too greedy.

Often I want to refer to links inline with text and this BIG MOTHERFUCKING EMBED interrupts my text, it's ridiculous.

YouTube embeds do the same thing, but there at least you can use a shortened link to evade it (IIRC?).

Tim
Quote my post or click this link (https://i.imgur.com./oSzpxwL.png) to find out how to get around that. ;)
Title: Re: Server Error Reports
Post by: tooki on July 18, 2020, 04:04:34 pm
People! It’s a known issue, and it’s got nothing to do with your browser cache or anything, as it’s purely a server database problem. It seems to be triggered by interrupted posting.


In fact, over the last week, I've editing my posts, deleting & re-uploading images again & again.
Does anyone know what's been going on?
Yes.

See what the server admin has said, starting here: https://www.eevblog.com/forum/chat/website-error-reports/msg3107598/#msg3107598 (https://www.eevblog.com/forum/chat/website-error-reports/msg3107598/#msg3107598)
Title: Re: Server Error Reports
Post by: mnementh on July 23, 2020, 03:19:56 am
A fellow eevBlog member has suggested a possible workaround:

I think there's a problem only with the first attachment slot. If you skip the first one and use the other one it appear to be working fine.

(https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1029256;image)

I'm going to try this for a few days and see if it makes any difference.

Cheers,

mnem
(https://www.eevblog.com/forum/chat/website-error-reports/?action=dlattach;attach=1029384;image)
Title: Re: Server Error Reports
Post by: mnementh on July 24, 2020, 04:01:14 pm
Update: So far, this method seems to be working. Even survives being interrupted by "There has been a new post" warning and a 4.1MB .pdf.

Will followup again in a day or three.

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: dcac on July 25, 2020, 12:21:09 pm
I'm getting 404 error trying to access this thread:

https://www.eevblog.com/forum/testgear/eevblog-121gw-multimeter-issues (https://www.eevblog.com/forum/testgear/eevblog-121gw-multimeter-issues)

Title: Re: Server Error Reports
Post by: joeqsmith on July 25, 2020, 03:41:13 pm
Obviously the photo links continues to not work.   I tried to delete a picture that was inserted in one post but was being referenced in another.  This had no effect.  So I blew away the entire post which also had no effect.

I'm not sure if they keep metrics on who posts the most pictures but I suspect I abuse it far more than most.   I wonder if I were to start deleting my old posts/images would it help ease the problem?   If so, just let me know and I will start cleaning up my mess.
Title: Re: Server Error Reports
Post by: StillTrying on July 25, 2020, 04:21:45 pm
I post nothing compared to others but still see the errors.
Post 2 of everything then a few hours later delete the spare or faulty versions. :-/O  :)
Title: Re: Server Error Reports
Post by: joeqsmith on July 25, 2020, 04:30:32 pm
I was thinking that it's overall just too much data for the software to handle.    Looking at my attachments, there's 121 pages of 25 images/page or over 3000 images spanning 5 years.   That's a lot of images.     
Title: Re: Server Error Reports
Post by: mnementh on July 25, 2020, 06:21:34 pm
I think there's a problem only with the first attachment slot. If you skip the first one and use the other one it appear to be working fine.

(https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1029256;image)

FWIW: This workaround is still working for me.

mnem
*knocks on wood*
Title: Re: Server Error Reports
Post by: Monkeh on July 25, 2020, 06:26:28 pm
I was thinking that it's overall just too much data for the software to handle.    Looking at my attachments, there's 121 pages of 25 images/page or over 3000 images spanning 5 years.   That's a lot of images.   

That's a really, really small number of files.

It seems more like a database replication issue.
Title: Re: Server Error Reports
Post by: joeqsmith on July 25, 2020, 07:26:55 pm
I cleaned up most of what I consider my worthless posts.   I would need to take down some of my larger threads to really make a dent in it but even if I cleaned everything out,  I don't see it helping with this particular problem.   

Title: Re: Server Error Reports
Post by: mnementh on July 25, 2020, 11:27:40 pm
I was thinking that it's overall just too much data for the software to handle.    Looking at my attachments, there's 121 pages of 25 images/page or over 3000 images spanning 5 years.   That's a lot of images.   

That's a really, really small number of files.

It seems more like a database replication issue.

This is the latest I know of from gnif when he was available to work on the problem:

...I usually use Firefox on my PCs; I brought up the thread on my iPad/Firefox and still FUBAR the same way, so not a local cache issue. Same behavior in Edge.
 
This may be related to another bug that has been happening for months; when posting multiple images, IF the posting process is interrupted for a new post warning, the damned thing just forgets the first pic. It attaches the rest of the pics normally, but that first one you ALWAYS have to go back and attach again...  [edited for brevity]

mnem
Déjà vu: Best enjoyed as a garnish with wine, cheese and baguettes.
SMF doesn't care about the filename, it stores all attachments as a hash of the file contents and references them via a table. There are two possible reasons why this happened:

1) The bug you mentioned
2) The maintenance last night was intended to correct some sync issues between the web servers as the database cluster had lost sync. Normally this would be fine, but there were other factors at play at the same time that prevented them from determining who was the "latest" and both were accepting update/insert queries at the same time (split-brain).

I should have been clearer I am sorry, if this is seen on new posts as of today, please let me know. Feel free to fix any that are messed up from prior.

Since then it has been off & on, though server loading does affect it. It def happens a lot more often on weekends.

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: mnementh on July 27, 2020, 01:55:51 pm
I think there's a problem only with the first attachment slot. If you skip the first one and use the other one it appear to be working fine.

(https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1029256;image)

This workaround is still working for me. Last night I posted a mini how-to with 10 pics; deliberately did not wait for all the pics and just hit [POST]. eevBlog gagged on it for a few seconds, then popped up a THERE HAS BEEN A NEW POST warning. But after I clicked [POST] again, all the pics came up without issue; they were even in the right order for a change.

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: tooki on July 27, 2020, 09:11:14 pm
OK, so here's another data point for you, Gnif!

I just posted a thread reply (https://www.eevblog.com/forum/chat/retracting-my-prior-statements-on-cty-that-cty-is-gone/msg3159832/#msg3159832) with an inline image attachment. I didn't pay attention to whether the attachment icon showed up on the post before going in to modify the post. After saving the modified post, I noticed that while the inline image still appears properly, it shows no attachment icon, and clicking on Modify again also shows no attachment to remove!! (I've verified that in another pre-bug post with inline attachments, they still show up as attachments in the Modify screen.)
Title: Re: Server Error Reports
Post by: tautech on July 27, 2020, 09:25:23 pm
I think there's a problem only with the first attachment slot. If you skip the first one and use the other one it appear to be working fine.

(https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1029256;image)

This workaround is still working for me. Last night I posted a mini how-to with 10 pics; deliberately did not wait for all the pics and just hit [POST]. eevBlog gagged on it for a few seconds, then popped up a THERE HAS BEEN A NEW POST warning. But after I clicked [POST] again, all the pics came up without issue; they were even in the right order for a change.

mnem
 :popcorn:
This has been working perfect for me too.  :)

Pauses between Post and the forum showing the post are due to the time it takes for attachments to load whereas when you place an attachment in the first box it gets loaded onto the database before posting.

Like others I now just skip the first Attachment box and sidestep all the grief of needing to fix busted image links later.  :horse:
Title: Re: Server Error Reports
Post by: SilverSolder on July 27, 2020, 09:46:27 pm

I haven't had an issue posting single images, only counts >1 seem to be an issue.  Is that true for you as well?
Title: Re: Server Error Reports
Post by: tautech on July 27, 2020, 10:23:32 pm

I haven't had an issue posting single images, only counts >1 seem to be an issue.  Is that true for you as well?
I believe so......not 100% sure.
Never had issues until a few days ago when other images/attachments I'd posted got linked into the wrong posts.  :o
Had to delete the attachments and re-upload them then re-link them to where they needed to be.
Annoying but fixable.  :phew:

Rarely use the direct embed image thing or the drag and drop instead sticking to the old method we've had for years until recently when it corrupts links from thumbnails to between [i m g] link [/ i m g] flags whereas from the 2nd attachment box seems to work fine....for now.  :-\
Title: Re: Server Error Reports
Post by: jancumps on July 28, 2020, 11:37:54 am
Forum attachment issues:

This comment: https://www.eevblog.com/forum/blog/get-your-lab-on-mailbag (https://www.eevblog.com/forum/blog/get-your-lab-on-mailbag!/msg3157064/#msg3157064)!/msg3157064/#msg3157064

Underneath the post, I see a small preview of someone's lab.
When I click to enlarge, I get a printscreen of a free energy blog post.
Is something off?
Title: Re: Server Error Reports
Post by: PA0PBZ on July 28, 2020, 12:34:32 pm
Forum attachment issues:
Is something off?

You obviously didn't read the last 2 pages?
Title: Re: Server Error Reports
Post by: BrianHG on July 29, 2020, 09:24:13 pm
People! It’s a known issue, and it’s got nothing to do with your browser cache or anything, as it’s purely a server database problem. It seems to be triggered by interrupted posting.


In fact, over the last week, I've editing my posts, deleting & re-uploading images again & again.
Does anyone know what's been going on?
Yes.

See what the server admin has said, starting here: https://www.eevblog.com/forum/chat/website-error-reports/msg3107598/#msg3107598 (https://www.eevblog.com/forum/chat/website-error-reports/msg3107598/#msg3107598)

I have managed to replicate this, it seems to be caused when you try to post the message before the attachment has finished uploading, or you cancel an attachment and then upload another. Still trying to nut down the exact sequence of events that cause it.
This is not the bug I'm getting.  I've have waited for images and other attachments to upload, like tiny ones of 10-75kb files.  They are fine for anywhere around 1 hour to 5 days, then the files either get corrupt or replaced with other files.

The tiny icon versions seem to have the right image, but the real photo inside isn't the right one, yet, a few days ago, everything was correct.

Example:
Bad file: https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3153558/#msg3153558 (https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3153558/#msg3153558)
Second image is wrong: https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3154396/#msg3154396 (https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3154396/#msg3154396)
First image bad: https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3152154/#msg3152154 (https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3152154/#msg3152154)
Wrong image: https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3152816/#msg3152816 (https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3152816/#msg3152816)
First 2 images wrong: https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3147392/#msg3147392 (https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3147392/#msg3147392)
Third image wrong image: https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3147392/#msg3147392 (https://www.eevblog.com/forum/projects/modern-equivalent-of-74hc4046-pll/msg3147392/#msg3147392)

Back on the 25th, almost all these images were good.
Title: Re: Server Error Reports
Post by: mnementh on July 30, 2020, 11:40:18 am
Yeah, that's because you uploaded other files thereafter; THEY borked your attached files further back in the timeline. Has happened to my pics kaboodles of times over the last month; sometimes days later. This NO LONGER HAPPENS if I do not use the first attachment radio button as shown above.

Cheers,

mnem
 :horse:
Title: Re: Server Error Reports
Post by: Cerebus on July 30, 2020, 04:27:44 pm
Yeah, that's because you uploaded other files thereafter; THEY borked your attached files further back in the timeline. Has happened to my pics kaboodles of times over the last month; sometimes days later. This NO LONGER HAPPENS HAS NOT HAPPENED AGAIN YET if I do not use the first attachment radio button as shown above.


There, fixed that for ya. You should know better than to bait Murphy like that.  :)
Title: Re: Server Error Reports
Post by: mnementh on July 30, 2020, 06:30:27 pm
Fair dinkum.  ;)

But OTOH, maybe I should press my luck, for sake of the scientific method...

mnem
 :-/O
Title: Re: Server Error Reports
Post by: tautech on July 30, 2020, 10:00:47 pm
Side stepping the first attachment button as is norm these days to get reliable links to thumbnails has worked like a charm however an interesting development today with a thumbnail not being a thumbnail !  :o  :-//
2nd thumbnail:
https://www.eevblog.com/forum/beginners/what-an-oscilloscope-recommended-for-a-woman-passionate-about-electronics/msg3165582/#msg3165582 (https://www.eevblog.com/forum/beginners/what-an-oscilloscope-recommended-for-a-woman-passionate-about-electronics/msg3165582/#msg3165582)
Title: Re: Server Error Reports
Post by: mnementh on July 31, 2020, 05:08:41 am
I've seen that too, but it always seemed to be related to a failed upload via the current 1st button PITA. Have not personally experienced it since using the workaround.

Is it possible you accidentally forgot and used the first button? I have a few times and paid the price. :-DD

mnem
 :palm:
Title: Re: Server Error Reports
Post by: tautech on July 31, 2020, 05:38:27 am
I've seen that too, but it always seemed to be related to a failed upload via the current 1st button PITA. Have not personally experienced it since using the workaround.

Is it possible you accidentally forgot and used the first button? I have a few times and paid the price. :-DD

mnem
 :palm:
Nope, most certainly not. Wouldn't have bought it here if I wasn't damn sure about that.
Title: Re: Server Error Reports
Post by: DrG on July 31, 2020, 07:58:50 pm
FWIW I have been using the, skip the first slot, method for the last week or so and have not seen any problems yet.
Title: Re: Server Error Reports
Post by: tautech on July 31, 2020, 08:09:45 pm
FWIW I have been using the, skip the first slot, method for the last week or so and have not seen any problems yet.
Yet it seems pretty reliable other than the one hiccup I had.
Title: Re: Server Error Reports
Post by: mnementh on August 01, 2020, 03:00:58 am
 :popcorn:

mnem
I don't always put some pithy remark down here.
Title: Re: Server Error Reports
Post by: bitseeker on August 02, 2020, 07:04:31 am
LOL, mnem! I was wondering about the lack of pithy remark, previously.
Title: Re: Server Error Reports
Post by: mnementh on August 03, 2020, 03:07:11 pm
Mmkay... I just had a bona-fide FAIL of the "Skip the first" workaround.

Tried to post a 492K gif (seen below; is supposed to be animated); eevBlog gagged on it and then gave the "a new post has been made" popup. Then, the giant blank thumbnail FAIL. Then, new behavior, returned an Error 404 when I clicked on the link in the message. Eventually gave up and just linked from giphy.com.

For historical record, high demand on the TEA thread: 20 regular named users, 66 visitors at the time.

[EDIT]

GIF wound up here: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1038938;image (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1038938;image)

Attached to this post from 2 days ago: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3168730/#msg3168730 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3168730/#msg3168730)

It displaced the image of a Grid laptop; which then displaced another image somewhere, I'm sure. :palm:

Cheers,

mnem
 :popcorn:

Title: Re: Server Error Reports
Post by: BrianHG on August 06, 2020, 05:28:02 pm
Errors still poping up and the second file attachments slot BS doesn't help either.  Even on files as small as 2kb.
A 0.97 kbyte file completely dissipated which now reports '404 - Attachment not found'.
Title: Re: Server Error Reports
Post by: EEVblog on August 07, 2020, 11:07:17 am
TEST. I have disabled the line attachments plugin to see if it makes a difference.

(https://www.eevblog.com/forum/chat/website-error-reports/?action=dlattach;attach=1042536;image)
Title: Re: Server Error Reports
Post by: EEVblog on August 07, 2020, 11:24:07 am
TEST

[attachimg=1]
Title: Re: Server Error Reports
Post by: mnementh on August 08, 2020, 02:05:47 pm
(https://www.eevblog.com/forum/chat/website-error-reports/?action=dlattach;attach=1043286;image)

Okay... so this means we'll have to use img tags for inline pix? No problem. It'll encourage people (I hope) to use the height= & width= modifiers to limit eye pollution. :-+

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: mnementh on August 09, 2020, 04:26:53 pm
Nope. Still messing with our heads if we use the first attachment button. Attachment made here: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3181178/#msg3181178 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3181178/#msg3181178)

was supposed to be this: (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1043900;image)

Instead it cascaded back to here, displacing the exploding head emoji: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3181032/#msg3181032 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3181032/#msg3181032)

The image of Ferengi Quark it linked to instead was from a THIRD post, which appears unchanged: https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3181088/#msg3181088 (https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/msg3181088/#msg3181088)

(https://www.eevblog.com/forum/testgear/test-equipment-anonymous-(tea)-group-therapy-thread/?action=dlattach;attach=1029256;image)

I'm going back to the "Skip the first" workaround.

Thanks for trying, Dave!  :-+

mnem
 :popcorn:
Title: Re: Server Error Reports
Post by: mnementh on August 10, 2020, 02:59:28 am
Wow... great. The bug borked another pic, which just messed up those three posts above AGAIN.  |O This is getting comical...

mnem
"Dying is easy; now comedy... that's hard." ~Edmund Gwenn
Title: Re: Server Error Reports
Post by: DrG on August 10, 2020, 02:35:01 pm
FWIW I have been using the, skip the first slot, method for the last week or so and have not seen any problems yet.
Yet it seems pretty reliable other than the one hiccup I had.

That second png reports an error in PS if I try to dl it.

Wow... great. The bug borked another pic, which just messed up those three posts above AGAIN.  |O This is getting comical...

mnem
"Dying is easy; now comedy... that's hard." ~Edmund Gwenn

as does the gif @mnementh

Is corruption a new phenomenon?
Title: Re: Server Error Reports
Post by: EEVblog on August 12, 2020, 01:04:54 am
Site was down today for a few hours, was just a PHP lockup or some such, fixed now.
Title: Re: Server Error Reports
Post by: mnementh on August 13, 2020, 03:06:46 am
FWIW I have been using the, skip the first slot, method for the last week or so and have not seen any problems yet.
Yet it seems pretty reliable other than the one hiccup I had.

That second png reports an error in PS if I try to dl it.

Wow... great. The bug borked another pic, which just messed up those three posts above AGAIN.  |O This is getting comical...

mnem
"Dying is easy; now comedy... that's hard." ~Edmund Gwenn

as does the gif @mnementh

Is corruption a new phenomenon?

Yeah... eevBlog has had a wandering singularity ever since the last software update; it randomly erases pics from our current timeline. When the singularity eats a pic, it is "unmade" as if it never existed; which makes every pic associated with a user that came after that shift down a slot in the database. ;)  Much hilarity ensues.  :-DD

The "Skip the First" slot workaround casts a warding spell which usually works unless the server daemons are especially overloaded by high numbers of visitors to a thread; the singularity seems especially attracted to the busiest threads. *

mnem
*Complete and utter fabrication purely for grins & giggles. >:D

Title: Re: Server Error Reports
Post by: DrG on August 13, 2020, 03:17:01 am
FWIW I have been using the, skip the first slot, method for the last week or so and have not seen any problems yet.
Yet it seems pretty reliable other than the one hiccup I had.

That second png reports an error in PS if I try to dl it.

Wow... great. The bug borked another pic, which just messed up those three posts above AGAIN.  |O This is getting comical...

mnem
"Dying is easy; now comedy... that's hard." ~Edmund Gwenn

as does the gif @mnementh

Is corruption a new phenomenon?

Yeah... eevBlog has had a wandering singularity ever since the last software update; it randomly erases pics from our current timeline. When the singularity eats a pic, it is "unmade" as if it never existed; which makes every pic associated with a user that came after that shift down a slot in the database. ;)  Much hilarity ensues.  :-DD

The "Skip the First" slot workaround casts a warding spell which usually works unless the server daemons are especially overloaded by high numbers of visitors to a thread; the singularity seems especially attracted to the busiest threads. *

mnem
*Complete and utter fabrication purely for grins & giggles. >:D

That's a big Twinkie

https://www.youtube.com/watch?v=V13CZnUCOaQ (https://www.youtube.com/watch?v=V13CZnUCOaQ)
Title: Re: Server Error Reports
Post by: SilverSolder on August 13, 2020, 01:20:55 pm
FWIW I have been using the, skip the first slot, method for the last week or so and have not seen any problems yet.
Yet it seems pretty reliable other than the one hiccup I had.

That second png reports an error in PS if I try to dl it.

Wow... great. The bug borked another pic, which just messed up those three posts above AGAIN.  |O This is getting comical...

mnem
"Dying is easy; now comedy... that's hard." ~Edmund Gwenn

as does the gif @mnementh

Is corruption a new phenomenon?

Yeah... eevBlog has had a wandering singularity ever since the last software update; it randomly erases pics from our current timeline. When the singularity eats a pic, it is "unmade" as if it never existed; which makes every pic associated with a user that came after that shift down a slot in the database. ;)  Much hilarity ensues.  :-DD

The "Skip the First" slot workaround casts a warding spell which usually works unless the server daemons are especially overloaded by high numbers of visitors to a thread; the singularity seems especially attracted to the busiest threads. *

mnem
*Complete and utter fabrication purely for grins & giggles. >:D



Perhaps somehow 5G is to blame for this?!?  :D
Title: Re: Server Error Reports
Post by: sokoloff on August 27, 2020, 03:08:15 pm
SSL cert expired a couple hours ago. (Time now is 11:08 AM EDT.)

Title: Re: Server Error Reports
Post by: BrianHG on August 27, 2020, 06:03:43 pm
New firefox just gave me this:
Also something with the SSL security...
Title: Re: Server Error Reports
Post by: IanB on August 27, 2020, 06:06:44 pm
Chrome this morning has also told me the SSL certificate is not valid.

We may have to wait for the working day in Australia to start before it will be fixed.
Title: Re: Server Error Reports
Post by: PA0PBZ on August 27, 2020, 06:07:45 pm
There are 2 servers with a load balancer, one has an expired certificate and the other is still valid till the end of October. Which server you get depends on the dice in the load balancer.
Title: Re: Server Error Reports
Post by: gnif on August 28, 2020, 02:11:22 am
There are 2 servers with a load balancer, one has an expired certificate and the other is still valid till the end of October. Which server you get depends on the dice in the load balancer.

You are correct, one of the server had faulted and was not renewing it's certificate. This has been corrected.
Title: Re: Server Error Reports
Post by: tautech on August 28, 2020, 02:17:18 am
one of the server had faulted and was not renewing it's certificate. This has been corrected.
Yet Chrome is still displaying a Not Secure flag.  :-//
Same result with a manual refresh or F5 refresh.
Title: Re: Server Error Reports
Post by: xrunner on August 28, 2020, 02:22:33 am
All good here now!  :-+
Title: Re: Server Error Reports
Post by: gnif on August 28, 2020, 02:24:08 am
one of the server had faulted and was not renewing it's certificate. This has been corrected.
Yet Chrome is still displaying a Not Secure flag.  :-//
Same result with a manual refresh or F5 refresh.

Your end sorry mate, I just double-checked that both servers are using valid certificates now.

Edit: Note, not-secure is different to an invalid certificate. You may be trying to access resources over `http`, make sure you're hitting the site over `https` and nobody has embedded any non https content on the page you're on.
Title: Re: Server Error Reports
Post by: tautech on August 28, 2020, 02:43:44 am
one of the server had faulted and was not renewing it's certificate. This has been corrected.
Yet Chrome is still displaying a Not Secure flag.  :-//
Same result with a manual refresh or F5 refresh.

Your end sorry mate, I just double-checked that both servers are using valid certificates now.

Edit: Note, not-secure is different to an invalid certificate. You may be trying to access resources over `http`, make sure you're hitting the site over `https` and nobody has embedded any non https content on the page you're on.
Yep all good, thanks. Definitely faster browsing and loading pages now.  :-+
Title: Re: Server Error Reports
Post by: IanB on August 28, 2020, 02:49:54 am
Your end sorry mate, I just double-checked that both servers are using valid certificates now.

Edit: Note, not-secure is different to an invalid certificate. You may be trying to access resources over `http`, make sure you're hitting the site over `https` and nobody has embedded any non https content on the page you're on.

With Chrome, if you insist on a "not secure" connection after an invalid certificate message, Chrome will remember that setting for several hours before trying again. You have to force Chrome back to an https connection manually if you don't want to wait. The best way to do that seems to be to close the current tab and then open a new one.
Title: Re: Server Error Reports
Post by: tautech on August 28, 2020, 02:53:30 am
The best way to do that seems to be to close the current tab and then open a new one.
Close an EEVblog tab  :o ......Never !   :-DD
Title: Re: Server Error Reports
Post by: Monkeh on September 01, 2020, 03:41:55 am
Absolutely beseiged by 502s today, is one or more of the servers suffering from a stroke, or just a lack of timely whipping?
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 03:45:14 am
Investigating, I was alerted to this about an hour ago, seems something is causing high I/O load.
Title: Re: Server Error Reports
Post by: tautech on September 01, 2020, 03:49:53 am
Investigating, I was alerted to this about an hour ago, seems something is causing high I/O load.
P76 of this thread:
https://www.eevblog.com/forum/testgear/siglent-sds2000x-plus-coming/ (https://www.eevblog.com/forum/testgear/siglent-sds2000x-plus-coming/)
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 03:50:58 am
Yup, it's that thread... thanks for that, looking for the dud file.
Title: Re: Server Error Reports
Post by: tautech on September 01, 2020, 03:53:19 am
Yup, it's that thread... thanks for that, looking for the dud file.
Was working fine late PM yesterday NZ time and I think another file was added overnight to an existing post that caused the issues.
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 04:01:45 am
Yup,

Issue fixed, another windows bitmap uploaded with a png extension. SMF goes nuts trying to load it and just hangs consuming tons of RAM.
Title: Re: Server Error Reports
Post by: Monkeh on September 01, 2020, 04:05:27 am
Who's posting nonsense like that?
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 04:09:11 am
I replied to them in the thread
Title: Re: Server Error Reports
Post by: Monkeh on September 01, 2020, 04:12:26 am
Thanks for the fix. Good old SMF, chainsaws round the edges.
Title: Re: Server Error Reports
Post by: Whales on September 01, 2020, 04:13:43 am
Gnif: that's a notable denial of service vuln.  Unhappy or banned users could come back and wreck all sorts of havoc. 

Is the problem in core SMF or an addon?  https://github.com/SimpleMachines/SMF2.1/issues
Title: Re: Server Error Reports
Post by: IanB on September 01, 2020, 05:59:16 am
Issue fixed, another windows bitmap uploaded with a png extension. SMF goes nuts trying to load it and just hangs consuming tons of RAM.

Ouch. Programs like SMF should not blindly trust file extensions, they should look inside the file to determine (or verify) the actual type of content.
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 06:00:04 am
Oh it certainly is, but it's not something that can be fixed easily.

SMF is dumb and just allows you to upload any file, and when it's an image attempts to create a thumbnail at render time (not at upload time), not only does this mean that multiple concurrent page loads will try to generate the thumbnail at once, if there are multiple images on the page, it will do them all at once (which can be slow) and cause a timeout, preventing the database from being updated with the information about the thumbnails.

The core workflow is very broken and fixing it will require overhauling how things work here. Such a "fix" would make SMF incompatible for future updates/upgrades.
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 06:04:44 am
At least the previewer should be fixed not to choke on malformed PNGs.
Is it exploitable for RCE too? ::)
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 06:11:24 am
I did add some idiot checks for this some time back but upgrades to SMF and/or modules have undone it. I will schedule some time to investigate and re-instate what I can.

I am not sure if it's a RCE issue, IIRC it's the thumbnail preview feature which I think is an "addon" (if you can call SMF addons 'addons', more like diffs/patches)
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 06:25:36 am
Hmm, I found this, which suggests that thumbnails are core SMF functionality. I have no idea, never administrated SMF myself.
https://wiki.simplemachines.org/smf/SMF2.0:Attachments_and_Avatars

RCE could possibly be an option if it's some old lousy C program which generates those thumbnails. If they actually wrote their own PHP scripts to parse those PNGs then maybe not. Again, no idea how they actually do it.
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 06:40:37 am
Isn't this the culprit?
https://github.com/SimpleMachines/SMF2.1/blob/release-2.1/Sources/Subs-Graphics.php#L395

It seems to use one of three libraries, depending on availability. I suppose you could see if installing a different backend solves it, or file a bug with the backend's vendor. I'm not sure if I would want to run remotely executable C binary which can't even recognize that it's being fed a BMP instead of PNG and tries to process it instead of bailing out.

Or maybe the backend does bail out and SMF goes nuts? Then it would be an SMF bug.
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 06:47:12 am
It needs to be fixed in SMF, it just hands everything to `imagecreatefrom` based on the extension.

```
Code: [Select]
        // A known and supported format?
        if (isset($default_formats[$sizes[2]]) && function_exists('imagecreatefrom' . $default_formats[$sizes[2]]))
        {
                $imagecreatefrom = 'imagecreatefrom' . $default_formats[$sizes[2]];
                if ($src_img = $imagecreatefrom($destination))
                {
                        resizeImage($src_img, $destination, imagesx($src_img), imagesy($src_img), $max_width === null ? imagesx($src_img) : $max_width, $max_height === null ? imagesy($src_img) : $max_height, true, $preferred_format);
                        $success = true;
                }
        }

This will call `imagecreatefrom` + extension, ie `imagecreatefrompng` with invalid data. It's just plain dumb. Tell a library that this is a PNG and hand it something else, expect things to break.

The solution here is to actually open the file and read the header to determine it's type. I am in the middle of writing a fix in now :)
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 07:02:08 am
And what if I take a BMP file and patch the PNG magic number into it? :P
Calling wrong function is one thing, the library being rubbish and failing to sanitize untrusted input is another :scared:
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 07:10:55 am
That's just it, the library is not failing, it's doing exactly what it's supposed to. The issue is that it's slow at it, and consumes a ton of ram, hitting the PHP limits and it gets terminated.
A highly compressed PNG with large dimensions will do exactly the same thing.

> And what if I take a BMP file and patch the PNG magic number into it?

gd will bomb out and stop, the issue is that GD can and will load a BMP as it's a generic image processing library that PHP wraps.

At it's core, the issue is SMF's poor design, image thumbnail generation should be a background task done by the server, NOT as part of a HTTP request.
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 07:22:26 am
This function should return an error when it's presented with a BMP file, not eat RAM like crazy. A BMP is not a highly compressed PNG.

the issue is that GD can and will load a BMP as it's a generic image processing library that PHP wraps
Does that mean that uploading the very same BMP with BMP extension causes the same problem?
Because if not, that's still a bug in libgd's PNG loader, rather than any problem with BMPs.
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 07:28:38 am
>Does that mean that uploading the very same BMP with BMP extension causes the same problem?
>Because if not, that's still a bug in libgd's PNG loader, rather than any problem with BMPs.

No idea, feel free to debug this and chase it with them. Simple fact of the matter is, we need a fix now. Fixing this issue is already well beyond the scope of the services I render for dave as it is.
Title: Re: Server Error Reports
Post by: bd139 on September 01, 2020, 09:29:51 am
It's definitely libgd's fault. A DoS attack from malformed input is definitely CVE-worthy. It should return E_WHAT_THE_FUCK_DID_YOU_GIVE_ME error or something if it can't parse the file.

Workaround....

Assumption: this is a FPM process or something running with nginx in front of it. Issue is memory ballooning

1. Set proper memory limits in systemd for the FPM process. See: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU= (https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU=)
2. Set systemd to auto restart the FPM process: Restart=always
3 (optional but recommended): run more than one FPM instance and use nginx as a balancer so that if one fails there's more left.

This will mean if it does crash or start gobbling RAM it'll restart.

Edit: can someone send me the file? I'll create a marketing web site for it "phpb0rk" and make £50k from selling it to some terrorists in NK  :-DD :-DD
Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 09:32:37 am
Quote
This will mean if it does crash or start gobbling RAM it'll restart.

Why do you think the site didn't die? Solutions/protections for these issues are already in place. It doesn't however stop a bunch of people consuming all available PHP processes because of a "slow page load" hitting refresh.
Title: Re: Server Error Reports
Post by: bd139 on September 01, 2020, 09:39:40 am
Well it's hard to debug from the outside. I'm pissing in the dark here :-DD

Add more cycles is about all you can do then.
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 09:55:53 am
I did a quick test on a Debian 10 system with PHP 7.3.19. Not sure how to test libdg version, I don't have root on that box and can't find a file like that in /usr/lib.

Code: [Select]
<?php
$i
=imagecreatefrompng("test.bmp");
for(;;);
?>

PHP Warning:  imagecreatefrompng(): 'test.bmp' is not a valid PNG file in
Standard input code on line 2
^C
Memory usage didn't increase at all after hitting CTRL+D to execute the typed code. Maybe I need some special BMP file, maybe it's fixed in this version.
Memory usage did increase a few megs if I used frombmp instead or converted the file to PNG.

So dunno, check if everything is up to date and pray that there are no serious vulns in there, I guess.
Title: Re: Server Error Reports
Post by: bd139 on September 01, 2020, 10:01:03 am
It's probably a broken BMP file that just happens to skip whatever validation is. It might even be intentionally malformed. I hope your FPM is running as an unprivileged process  :popcorn:

To note libgd has a hell of a lot of CVEs against it which are similar: https://www.cvedetails.com/vulnerability-list/vendor_id-6668/Libgd.html (https://www.cvedetails.com/vulnerability-list/vendor_id-6668/Libgd.html)
Title: Re: Server Error Reports
Post by: magic on September 01, 2020, 10:02:21 am
Well, I could try to upload my test.bmp here as killeevblog.png and see what happens :-DD
Title: Re: Server Error Reports
Post by: bd139 on September 01, 2020, 10:06:16 am
 :-DD

Really to debug this we'd need:

1. PFP FPM version
2. OS version
3. Libgd version
4. Exploding BMP of doom.
5. Probably about 3 hours of pain

Title: Re: Server Error Reports
Post by: gnif on September 01, 2020, 10:11:56 am
Quote
1. PFP FPM version
2. OS version
3. Libgd version
4. Exploding BMP of doom.
5. Probably about 3 hours of pain

Not going to happen for obvious reasons.

Please though stop posting about this here as this topic is special and I am alerted to responses to this topic. It's intended for actual outage reports.
Title: Re: Server Error Reports
Post by: mansaxel on September 01, 2020, 10:45:57 am
Yup,

Issue fixed, another windows bitmap uploaded with a png extension. SMF goes nuts trying to load it and just hangs consuming tons of RAM.

Code: [Select]
FILE(1)                   BSD General Commands Manual                  FILE(1)

NAME
     file -- determine file type

<snip>

     The magic tests are used to check for files with data in particular fixed
     formats.  The canonical example of this is a binary executable (compiled
     program) a.out file, whose format is defined in <elf.h>, <a.out.h> and pos-
     sibly <exec.h> in the standard include directory.  These files have a
     ``magic number'' stored in a particular place near the beginning of the file
     that tells the UNIX operating system that the file is a binary executable,
     and which of several types thereof.  The concept of a ``magic'' has been
     applied by extension to data files.  Any file with some invariant identifier
     at a small fixed offset into the file can usually be described in this way.
     The information identifying these files is read from the compiled magic file
     /usr/share/file/magic.mgc, or the files in the directory
     /usr/share/file/magic if the compiled file does not exist.

<snip>

HISTORY
     There has been a file command in every UNIX since at least Research Version
     4 (man page dated November, 1973). 


Why does SMF degrade itself to using MS-DOS heuristics, when this is and has been available for some time?