Author Topic: Server Error Reports  (Read 768224 times)

0 Members and 3 Guests are viewing this topic.

Online PlainName

  • Super Contributor
  • ***
  • Posts: 7151
  • Country: va
Re: Server Error Reports
« Reply #600 on: April 23, 2023, 09:54:35 pm »
You probably already know this, but just in case.... I am getting database errors:

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.

In Buy&Sell and General Technical Chat. Obviously, it cleared up to post this.
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #601 on: April 23, 2023, 10:10:47 pm »
Thanks, I will have a look.
I do have an alert for this instance but as it was fleeting I am unsure as to the cause at this time.

Edit: There was an issue with the database load balancer that has now been resolved.
« Last Edit: April 23, 2023, 10:51:43 pm by gnif »
SMTS Software Development Engineer @ AMD
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #602 on: April 24, 2023, 10:59:08 pm »
Seems we had an outage during the night, one of the database servers had crashed out in a strange way. Cause is still yet unknown but being investigated.
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: EEVblog

Online PlainName

  • Super Contributor
  • ***
  • Posts: 7151
  • Country: va
Re: Server Error Reports
« Reply #603 on: April 24, 2023, 11:13:15 pm »
I came across that as it was going wrong, if it might help figure it out. I was trying to post and got:

Quote
The following error or errors occurred while posting this message:
Your session timed out while posting. Please try to re-submit your message.

Happened in the crowd funding section, and then when I tried to post here (of course). A the time I could read messages, just not post.
 
The following users thanked this post: gnif

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #604 on: April 24, 2023, 11:23:42 pm »
Yeah, thanks, I saw this also

Edit: Please be aware that I am still investigating this, we are seeing the database service get into a unrecoverable deadlock state and the cause is still unknown.
« Last Edit: April 25, 2023, 05:28:14 am by gnif »
SMTS Software Development Engineer @ AMD
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #605 on: April 25, 2023, 11:36:20 am »
I have made some infrastructure changes that should not only resolve the crashing that has been occurring over the last few days, but also improve overall performance of the website quite considerably.
If you are noticing any improvement/degredation please provide feedback here:

https://www.eevblog.com/forum/chat/server-upgrade-feedback/
SMTS Software Development Engineer @ AMD
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 29192
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Server Error Reports
« Reply #606 on: April 25, 2023, 12:01:24 pm »
This after selecting to view new replies is a PITA:
Please try again. If you come back to this error screen, report the error to an administrator.
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #607 on: April 25, 2023, 12:09:14 pm »
Already reported in the other thread, investigating

Edit: This is fixed
« Last Edit: April 25, 2023, 12:58:29 pm by gnif »
SMTS Software Development Engineer @ AMD
 

Offline m k

  • Super Contributor
  • ***
  • Posts: 2372
  • Country: fi
Re: Server Error Reports
« Reply #608 on: June 02, 2023, 09:34:50 am »
I've recently had few hiccups.
First one was few minutes where page was finally loaded but content was database error.
Possibly just a database restart.

Now login and post were acting up, maybe timed out somehow but without updated Firefox window.
Like where post reply page is still present but new post is also live.
Maybe database machine has some issues.

I'm also quite sure I saw gnif's edit of a post about Steve Bannon and law where sub forum of deleted messages was mentioned.
Search can't find it anymore.
Advance-Aneng-Appa-AVO-Beckman-Danbridge-Data Tech-Fluke-General Radio-H. W. Sullivan-Heathkit-HP-Kaise-Kyoritsu-Leeds & Northrup-Mastech-REO-Simpson-Sinclair-Tektronix-Tokyo Rikosha-Topward-Triplett-Tritron-YFE
(plus lesser brands from the work shop of the world)
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #609 on: June 02, 2023, 09:41:09 am »
I've recently had few hiccups.
First one was few minutes where page was finally loaded but content was database error.
Possibly just a database restart.

We do not do database restarts, it was likely a peak load period, we get them from time to time.

Now login and post were acting up, maybe timed out somehow but without updated Firefox window.
Like where post reply page is still present but new post is also live.
Maybe database machine has some issues.

This is just latency in the server responding to you after posting, the new data was clearly inserted into the database and some kind of latency caused you to hang on the post page while waiting. There are no DB issues.

I'm also quite sure I saw gnif's edit of a post about Steve Bannon and law where sub forum of deleted messages was mentioned.
Search can't find it anymore.

When someone replies to a topic we can't just delete it, it must be manually moved to a "Deleted" area of the forums. We do not actually delete posts fully so that we have a record of why people were banned, etc. SMF by default has set to post a redirect link when you move a thread, I accidentally left this enabled. This area of the forum is not available to the public.
« Last Edit: June 02, 2023, 09:58:34 am by gnif »
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: m k

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6633
  • Country: ro
Re: Server Error Reports
« Reply #610 on: June 16, 2023, 03:14:26 pm »
Can log and browse but can not post from Ro, when using usual browsers (e.g. firefox/ubuntu).  This post was made through a VPN.  The error is session timeout, please try to logoff/login again, but whatever I do it does not fix the err.

Any advice how to fix this, please?

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #611 on: June 16, 2023, 03:30:07 pm »
Right in the middle of some minor changes, that might be the cause. Please hold.
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: RoGeorge

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #612 on: June 16, 2023, 05:06:40 pm »
Work completed for tonight, still a few loose ends to sort out, but in no worse state for it :)
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: MK14, beanflying

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #613 on: June 17, 2023, 01:46:43 pm »
Just an update, one of the packages upgraded seems to be causing an issue with the database backup procedure which runs each night at 22:00 UTC. The database is being locked during the backup which should not occur, which is causing a brief outage while the backup happens.

I have implemented what I hope is a fix to this issue and running another backup to see if it's resolved.
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: MK14

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6633
  • Country: ro
Re: Server Error Reports
« Reply #614 on: June 17, 2023, 02:33:47 pm »
For me still not working.  Managed to post once from Ro, then timeout err again.  This one is from VPN.  I wonder if the cookies were tied to the IP, because I could post from Ro, then I couldn't edit it one minute later (with Modify button), then from there only session expired try to resubmit err.  Checking if it works from new IP only, and in the first minutes only.

Later edit
Worked from VPN (which implies new IP for me

Later later edit
Will stay here a little longer to test if I can only post in the very first minutes after a login from a new IP
« Last Edit: June 17, 2023, 02:38:03 pm by RoGeorge »
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #615 on: June 17, 2023, 02:36:39 pm »
What IP are you coming from when it times out (PM me)
SMTS Software Development Engineer @ AMD
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6633
  • Country: ro
Re: Server Error Reports
« Reply #616 on: June 17, 2023, 02:39:32 pm »
Will check now and PM you in a minute, from this login
 
The following users thanked this post: gnif

Offline magic

  • Super Contributor
  • ***
  • Posts: 7052
  • Country: pl
Re: Server Error Reports
« Reply #617 on: June 17, 2023, 03:33:27 pm »
I noticed that my /unread/ list gets cleared randomly since maybe yesterday. I think it first happened after some outage (database connection error, bad gateway), but now it happened again without any outage that I noticed.

The attachment substitution bug is still present, like here.
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #618 on: June 17, 2023, 03:41:23 pm »
I noticed that my /unread/ list gets cleared randomly since maybe yesterday. I think it first happened after some outage (database connection error, bad gateway), but now it happened again without any outage that I noticed.

This is not related to any server issues, perhaps a SMF bug, but there is nothing in the server deployment that can explain this.

The attachment substitution bug is still present, like here.

I am still tracing this, it's rare to catch it in action among all the noise of other posts going on so the cause is still under investigation.
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: magic

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6633
  • Country: ro
Re: Server Error Reports
« Reply #619 on: June 17, 2023, 03:47:55 pm »
Trying now from Ro, with Brave browser.  Will try to attach a printscreen.

Quote
The following error or errors occurred while posting this message:
Your session timed out while posting. Please try to re-submit your message.

later edit
Strange that I can post now (once) from a new browser (Brave) I've never logged into eevblog before, but couldn't from LibreWolf or Firefox which I use usually, all same Ro IP.
« Last Edit: June 17, 2023, 03:50:58 pm by RoGeorge »
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #620 on: June 17, 2023, 03:51:18 pm »
Thanks, this is not a HTTP timeout as I was looking for, but rather a session tracking issue. Let me have a dig through the SMF source and see if I can spot anything obvious that we might be doing to trigger this.
SMTS Software Development Engineer @ AMD
 

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #621 on: June 17, 2023, 03:57:54 pm »
I have made a change to the code to log additional information, can you please re-try the PM post. I need it to generate the error so I can see what is going on, feel free to spam me until it occurs again.
SMTS Software Development Engineer @ AMD
 
The following users thanked this post: RoGeorge

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6633
  • Country: ro
Re: Server Error Reports
« Reply #622 on: June 17, 2023, 04:16:38 pm »
I've just tried a post from LibreWolf, and didn't work.
Then alt+tab to this brand new Brave and it worked.  This was posted with Brave.

Since nobody else sees the same error, maybe it's something on my side.
Will try in the next days from other live OS's, more browsers and more addresses, and let you know the results.

Thank you for the help.  :-+

Offline gnifTopic starter

  • Administrator
  • *****
  • Posts: 1699
  • Country: au
  • Views and opinions are my own
    • AMD
Re: Server Error Reports
« Reply #623 on: June 17, 2023, 04:17:29 pm »
Sorry but it needs to be a PM as this is the code I have patched
SMTS Software Development Engineer @ AMD
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6633
  • Country: ro
Re: Server Error Reports
« Reply #624 on: June 17, 2023, 04:22:12 pm »
I have made a change to the code to log additional information, can you please re-try the PM post. I need it to generate the error so I can see what is going on, feel free to spam me until it occurs again.

Sent you this
Quote
PM sent to regenerate the error, as you requested

 from LibreWolf (didn't work) same " The following error or errors occurred while posting this message:

    Your session timed out while posting. Please try to re-submit your message.

"
I hope you can see it in the logs.  For now this Brave login seems 100% reliable.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf