New Mars Forums

Official discussion forum of The Mars Society and MarsNews.com

You are not logged in.

Announcement

Announcement: As a reader of NewMars forum, we have opportunities for you to assist with technical discussions in several initiatives underway. NewMars needs volunteers with appropriate education, skills, talent, motivation and generosity of spirit as a highly valued member. Write to newmarsmember * gmail.com to tell us about your ability's to help contribute to NewMars and become a registered member.

#1 2024-03-22 08:07:18

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 17,310

Apache Internal Server Error AISE

Most members of NewMars have encountered this error.

Until today, we have generally just tried to work around the problem.

Every now and then a  member may report the incident, or mention it in passing.

Because the Admins are engaged in a slow but sure process of upgrading the forum software, it occurred to me that we have an opportunity to attempt to pin down anything that might be consistent from one AISE event to another.

I have not seen anything like that in my many encounters with AISE, but there might be something.

In the next post, I'll report a surprising observation.

(th)

Offline

#2 2024-03-22 08:16:34

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 17,310

Re: Apache Internal Server Error AISE

Every morning I update the recruiting topic in hopes we might eventually draw someone new into the active membership.

The update consists of a very small number of entries ....

The update is done in two steps. The first completed without incident.

The second update adds the current post number, at the bottom.

AISE occurred.  What is unusual about today's update of the current post number is that I deleted the entire count. Usually I only delete the numbers at the end that have changed.  AISE objected.  I closed that post, and reopened for another Edit.  This time I only deleted the three numbers that were different and added the new ones, and    AISE was happy.

The reason I bring this up is that in the course of working on the forum software, i've become aware of the feature that supports the fast lookup capability that is available to members.  There is at least one table where words are stored.  That table contains many (hundreds of thousands) of entries.  It just occurred to me that a sequence of numbers might count as a word.  When I accidentally deleted the entire number for current post, the system would have had to perform a lookup in the word table.  It may well have entries for all the number strings that members have entered over 20+ years.  I'll take a look the next time I'm working with the database.

In any case, AISE was happy with a change of only three numbers.

(th)

Offline

#3 2024-03-22 08:21:57

kbd512
Administrator
Registered: 2015-01-02
Posts: 7,440

Re: Apache Internal Server Error AISE

tahanson43206,

We will change the logging level for any errors not being recorded in our logs.  There will always be some unavoidable errors that we cannot resolve with configuration changes on our end, such as packets of data not being reassembled correctly on the receiving end (hardware and software issues somewhere on the net between the user's machine and our PHP web application server), network-related issues with writing to the database, etc.  So long as those errors are logged and gracefully handled, that's about the best we can do there.

In some cases, the internal server errors generated when users attempt to post seems related to non-printable characters in their post not being properly escaped.  I have experimentally replicated the issue with posts that, unbeknownst to me at the time, contained these non-printable characters, based upon some bit of text or content from the internet included in the post.  There could be and probably are other reasons for the failures of the web server to properly process and store the posts made into our database.

Offline

#4 2024-04-27 07:23:27

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 17,310

Re: Apache Internal Server Error AISE

For kbd512 re #3

Thank you (hopefully again) for your observations about the Apache Internal Server errors we've been seeing in this forum.

I am hoping that if we succeed in upgrading the package from 2012 to 2024, the AISE situation will go away, if (by chance) is is related to the old software we are forced to use under the php files.

However, in the mean time...

For all ... a number of NewMars members have reported encoutners with AISE, and specific issues that came up and were resolved to post.

Today I encountered AISE with a simple post of just a few lines... I've been refining a technique for dealing with AISE, and would offer it now if anyone is interested...

I copied the entire post from the Preview window into a text editor (like notepad)...

Then I deleted the contents of the Preview window and added one line at a time back into the Preview window and clicked Preview.

I continued this process until the AISE occurred... I deleted that line from the preview window and left a space. I then added the rest of the post.
When all but that line was passing Preview, I added words from that line until AISE occurred.  I deleted that word and clicked Submit.

There are mechanisms in the forum software that look at individual words for legitimate reasons, such as building the search index.

The search index gives us the powerful search capabilities we use frequently, but clearly there is something going on that causes a failure.

If we finish the task of bringing FluxBB 1.5.11 forward from 2012 to 2024, and if we decide to KEEP FluxBB as our forum package, and if AISE still occur after the upgrade, then we might be justified in looking more closely at the index update part of the search function.

(th)

Offline

#5 2024-04-27 07:55:54

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 17,310

Re: Apache Internal Server Error AISE

For kbd512 re your observations about extended characters possibly related to AISE...

In the process of updating the software, I encountered older designs of code to deal with the European/Asian extended character sets.

The early versions appear to have been less than ideal, and part of the upgrade process was to replace them.

It seems possible that at least a few of the AISE problems may go away when we implement the more up-to-date functions for dealing with extended characters.

(th)

Offline

#6 2024-04-27 12:36:02

SpaceNut
Administrator
From: New Hampshire
Registered: 2004-07-22
Posts: 28,960

Re: Apache Internal Server Error AISE

It also seems to be key word tripped as well since the words.
ADMIN
BUDGET
are just a few that have, but they seemed ok this time.

Offline

Board footer

Powered by FluxBB