Understanding through Discussion


Welcome! You are not logged in. [ Login ]
EvC Forum active members: 56 (9054 total)
69 online now:
AZPaul3, jar, PaulK, Tangle, vimesey (5 members, 64 visitors)
Newest Member: EWolf
Post Volume: Total: 888,214 Year: 5,860/14,102 Month: 8/438 Week: 52/83 Day: 2/6 Hour: 0/1


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Network Problems
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


(3)
Message 14 of 142 (735793)
08-25-2014 1:31 AM


I'm in Alaska, back Thursday. Saw Denali today.

--Percy


  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


(1)
Message 39 of 142 (736211)
09-05-2014 8:39 AM
Reply to: Message 38 by RAZD
09-05-2014 8:22 AM


Re: More 503s today -
I think now that it was only a coincidence that when I investigated a while back that someone was banging hard on the server at the same time. I don't think it was a DOS attack. The outages that have occurred since then have not been accompanied by any intensive accesses as recorded in the access log file. I am actively investigating.

--Percy


This message is a reply to:
 Message 38 by RAZD, posted 09-05-2014 8:22 AM RAZD has acknowledged this reply

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


(1)
Message 50 of 142 (736376)
09-08-2014 8:30 AM
Reply to: Message 49 by Omnivorous
09-07-2014 9:20 PM


We're on a Linux server. I've reengaged with the Webhosting company and we're exploring other avenues. We'll eventually get this fixed, but one of the nice side effects is that we now have 4GB instead of 2.

--Percy


This message is a reply to:
 Message 49 by Omnivorous, posted 09-07-2014 9:20 PM Omnivorous has acknowledged this reply

Replies to this message:
 Message 51 by NoNukes, posted 09-09-2014 10:08 AM Percy has acknowledged this reply

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 90 of 142 (839927)
09-19-2018 8:44 AM


Auto-logout Problems
There's no code to automatically log people out. You should be able to have hundreds of EvC pages open simultaneously, and if you log out or log in on one of them, then that new login status will become the status for all the pages (once refreshed). This is because cookies are shared by browser/domain across of pages open on that browser/domain. All cookies of EvC pages open in, say, Chrome are the same. It isn't possible to be logged in on one Chrome/EvC page while simultaneously logged out on another. It might look that way temporarily, but once both pages are refreshed you'll find that they're either both logged in or both logged out.

An EvC page that says you're, say, logged out when you're actually logged in cannot cause you to become logged out. Your status of being logged in or logged out is controlled by cookies, not by the static text near the top of the page that indicates your login status (it'll say "Welcome, Member Percy" if you're logged in or "Welcome! You are not logged in." if you're not logged in).

Cookies become confused if you have one page using "evcforum.net" and another using "www.evcforum.net", but the software forces all accesses to EvC to be "www.evcforum.net". It shouldn't be possible to have a page using "evcforum.net", but if you've somehow managed to do that then that could account for the problem. Trying to think of possible ways that could happen, I've never played with Incognito mode, maybe that's a possibility.

If anyone learns anything more about this problem please let me know, maybe something will give me a clue that helps solve this.

--Percy


  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 94 of 142 (839953)
09-19-2018 4:57 PM
Reply to: Message 93 by Faith
09-19-2018 1:15 PM


Faith writes:

I get logged out a lot and it's always when my name is in the Online Now list but the top line says "login"...

This shouldn't be possible. Whether you're logged in or not is controlled by cookies, which the software controls, but which can also be cleared on your Profile page (the link is at the bottom) or through your browser settings page or changed/deleted by malicious software. The Online Now list is maintained in the database. If you're name is on the Online Now list but you're not logged in then your cookies are not being cleared by the board software.

On the login page there's a checkbox called "Remember my login for future visits". If you check this box then your login will be remembered for a year, and each time you access any page that year is renewed. In other words, if you use EvC Forum at least once a year, you'll never have to log in again (for that browser on that machine).

But if you don't check this box then your login only survives for as long as you have at least one open EvC page. Once you close that last EvC page then the browser deletes all the cookies.

--Percy


This message is a reply to:
 Message 93 by Faith, posted 09-19-2018 1:15 PM Faith has responded

Replies to this message:
 Message 95 by Faith, posted 09-19-2018 8:05 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 96 of 142 (839958)
09-19-2018 8:56 PM
Reply to: Message 95 by Faith
09-19-2018 8:05 PM


Faith writes:

OK, I logged in again, checked the Remember box, then went to my profile and deleted cookies, then logged in again.

If you checked the Remember box the 2nd time you logged in then that's a good starting point. If not then log out and log in again, this time checking the Remember box.

--Percy


This message is a reply to:
 Message 95 by Faith, posted 09-19-2018 8:05 PM Faith has responded

Replies to this message:
 Message 97 by Faith, posted 09-19-2018 9:09 PM Percy has acknowledged this reply
 Message 98 by Faith, posted 09-22-2018 4:33 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 99 of 142 (840052)
09-22-2018 5:53 PM
Reply to: Message 98 by Faith
09-22-2018 4:33 PM


Re: The problem reoccurs, it was just a matter of time
Looking at the code, cookies are not erased unless you specifically request it through your profile page. It doesn't remove you from the Online Now list since the assumption is that if you're clicking on the "Delete All Cookies" link that you didn't do that as a way of logging out but are working through some problem and will log in again.

You can get logged out if an irregularity is detected in your cookies, such as your password cookie not matching your password in the database (passwords are encrypted, of course). This could happen if, for example, you're accessing EvC through Internet Explorer in one window, then go to Chrome in another window and change your EvC password, then go back to Internet Explorer and try to access an EvC page and it will log you out and take you to the login page, printing a message in red near the top that your password has changed and to log in again.

But irregularities shouldn't happen in your cookies with just normal use. Plus when you get logged out it removes you from the Online Now list. And if you get logged out while trying to perform an action and are taken to the login page, such as when trying to post a message, then once you log in again it will automatically perform that action. If that message didn't get posted when you logged in again then something is, uh, weird.

So we'll have to look for the cause. Let's start by examining your cookies. Are you using Internet Explorer or Microsoft Edge?

--Percy


This message is a reply to:
 Message 98 by Faith, posted 09-22-2018 4:33 PM Faith has responded

Replies to this message:
 Message 100 by Faith, posted 09-22-2018 9:14 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 101 of 142 (840059)
09-23-2018 7:56 AM
Reply to: Message 100 by Faith
09-22-2018 9:14 PM


Re: The problem reoccurs, it was just a matter of time
Here's how you find out your cookies on Microsoft Edge:

  • Click on the horizontal three dots near the top right hand side of the Microsoft Edge Window. This will display a menu of selections.
  • Click on Developer Tools
  • The Developer Tools window will open. There is black line of menu items at the top. Click on Debugger.
  • In the left hand navigation bar will be a list of items. Click on Cookies.
  • Beneath Cookies will be the name of the EvC code module you're currently running. It could be Threads.php or Forums.php or dm.php or any other code module, it doesn't matter. Click on it.
  • A list of cookies will appear in the center column. Please send me the following information for each cookie:
    • Name
    • Value
    • Domain (should be "www.evcforum.net" for all of them)
    • Path (should be "/" for all of them)
    • Expires date

--Percy

This message is a reply to:
 Message 100 by Faith, posted 09-22-2018 9:14 PM Faith has responded

Replies to this message:
 Message 103 by Faith, posted 09-23-2018 9:28 AM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 104 of 142 (840080)
09-23-2018 10:49 AM
Reply to: Message 102 by Phat
09-23-2018 8:44 AM


Re: The problem reoccurs, it was just a matter of time
The "Back" button works fine, too. For even greater assurance you won't lose anything, hit CTRL-A CTRL-C just before you click "Submit Reply" - if something should go haywire then just get back into the reply box and hit CTRL-V.

--Percy


This message is a reply to:
 Message 102 by Phat, posted 09-23-2018 8:44 AM Phat has not yet responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 105 of 142 (840081)
09-23-2018 10:53 AM
Reply to: Message 103 by Faith
09-23-2018 9:28 AM


Re: The problem reoccurs, it was just a matter of time
Faith writes:

Beneath Cookies there is no code like what you list,...

Were you displaying a page from EvC when you clicked on Developer Tools? If not then first open a page at EvC.

The "Cookies" item should have a right arrow to its left. If you click on "Cookies" the right arrow should turn into a down/right arrow and you should see the name of the code module at EvC that you're displaying. Click on the code module name.

--Percy


This message is a reply to:
 Message 103 by Faith, posted 09-23-2018 9:28 AM Faith has responded

Replies to this message:
 Message 106 by Faith, posted 09-23-2018 2:59 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 107 of 142 (840146)
09-24-2018 10:41 AM
Reply to: Message 106 by Faith
09-23-2018 2:59 PM


Re: The problem reoccurs, it was just a matter of time
Those fields actually expand. If you hover your mouse over the vertical lines at the top of the columns you'll get a little horizontal double arrow that you can drag to make the field wider so you can see the entire value. You can also drag the edges of the pane and make the entire pane larger.

The partial information I can see looks normal and okay, but I'd really like to see those expiration dates (when a cookie reaches its expiration date it disappears, and since these are the login cookies then when they disappear you're no longer logged in). I can tell they're all on a Monday, but whether that Monday is today or Monday a year from now I can't tell. They're probably Monday a year from now, but if by some weirdness they happen to be Monday today then later today you might suddenly find yourself logged out. And if they are Monday today then that's a good clue for me because it would mean there's some path through my software that can produce very short-term expiration dates (instead of a year out), and once I know that path exists it will make it easier to find it. It is the curse of debugging that believing something isn't possible makes it impossible to find the problem.

Don't give out any information about your password cookie - malicious people probably know how to fake cookie values on their own system and log on as you.

--Percy


This message is a reply to:
 Message 106 by Faith, posted 09-23-2018 2:59 PM Faith has responded

Replies to this message:
 Message 108 by Faith, posted 09-24-2018 2:30 PM Percy has acknowledged this reply
 Message 109 by Faith, posted 09-24-2018 2:34 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 110 of 142 (840200)
09-24-2018 5:22 PM
Reply to: Message 109 by Faith
09-24-2018 2:34 PM


Re: The problem reoccurs, it was just a matter of time
Nice job working your way through this. This eliminates the cookie expiration date as the cause of the problem. The next time you're automatically logged out first make sure no message appears on the page - if my software cleared your cookies then it should also tell you why. If there's no message then immediately check your cookie values again - they should all be gone, and if any are present then it would represent a clue.

You're only removed from the Online Now list when you explicitly log out. If you just delete cookies (or something deletes them for you) then you're not removed from the Online Now list until 30 minutes of inactivity have gone by.

--Percy


This message is a reply to:
 Message 109 by Faith, posted 09-24-2018 2:34 PM Faith has responded

Replies to this message:
 Message 111 by Faith, posted 10-04-2018 12:07 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 114 of 142 (840848)
10-04-2018 5:57 PM
Reply to: Message 111 by Faith
10-04-2018 12:07 PM


Re: The problem reoccurs, it was just a matter of time
And there was no informational message near the top of the page?

Faith writes:

Unfortunately I forgot to check the cookies. I'll do that now. ABE: all four items are listed for this date in 2019.

That the cookies have expiration dates in 2019 means that they're all defined and will not expire until sometime in 2019, probably exactly a year from the date/time you tried to edit that post.

If those cookies are all defined then the board software will assume you're logged in UNLESS it detects some problem with your cookies, for example, that the password cookie value doesn't match the password in the database. But a cookie problem causes an informational message to be printed near the top of the page, so if there's no message then I don't know what to think. If an idea occurs to me I'll let you know.

--Percy


This message is a reply to:
 Message 111 by Faith, posted 10-04-2018 12:07 PM Faith has responded

Replies to this message:
 Message 115 by Faith, posted 10-04-2018 8:03 PM Percy has acknowledged this reply

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 118 of 142 (840982)
10-06-2018 10:13 AM
Reply to: Message 117 by Faith
10-06-2018 7:09 AM


Re: problem reoccurs
Faith writes:

dit, 4:35 AM Normally I would log in and out more than that and reboot the computer as well, which usually gives me some days of freedom from the problem.

Interesting. Did this problem begin when you switched from Internet Explorer to Microsoft Edge? Can you try switching to IE, FireFox or Chrome to see if the problem occurs there too?

--Percy


This message is a reply to:
 Message 117 by Faith, posted 10-06-2018 7:09 AM Faith has responded

Replies to this message:
 Message 119 by Faith, posted 10-06-2018 1:45 PM Percy has responded

  
Percy
Member
Posts: 20403
From: New Hampshire
Joined: 12-23-2000
Member Rating: 4.7


Message 120 of 142 (841001)
10-06-2018 2:56 PM
Reply to: Message 119 by Faith
10-06-2018 1:45 PM


Re: problem reoccurs
Getting to Internet Explorer is easy. On the far right side of the Microsoft Edge window near the top are three horizontal dots. Click on this icon and you'll get a menu. One of the selections in the menu is "Open with Internet Explorer". Click on this and Internet Explorer will open.

--Percy


This message is a reply to:
 Message 119 by Faith, posted 10-06-2018 1:45 PM Faith has responded

Replies to this message:
 Message 121 by Faith, posted 10-06-2018 7:48 PM Percy has acknowledged this reply
 Message 122 by Faith, posted 10-07-2018 12:57 PM Percy has responded

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2018 by EvC Forum, All Rights Reserved

™ Version 4.0 Beta
Innovative software from Qwixotic © 2021