Author Topic: Forum log in  (Read 12506 times)

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Forum log in
« on: April 28, 2016, 10:37:03 AM »
I have to log into the forum everything I come back. I have it set for forever. I am using Firefox version 46 64bit Can you check on this? Thanks



Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1661
  • Gender: Male
Re: Forum log in
« Reply #1 on: April 28, 2016, 12:52:54 PM »
I have to log into the forum everything I come back. I have it set for forever. I am using Firefox version 46 64bit Can you check on this? Thanks
Hi, Just so we understand better are you coming directly to https://bitsum.com/forum/index.php
or your using link from menu option forum  https://bitsum.com/

If its the first sound like cookie issue, maybe clear then and retry.
Did this only happen when you updated to 46 ?
Bitsum QA Engineer

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #2 on: April 28, 2016, 01:06:14 PM »
I am using the link from menu option forum https://bitsum.com/

I think this only has happened with when I updated to version 46. I can try and clear the cookie and give it another try.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #3 on: April 28, 2016, 01:18:38 PM »
Ok I cleared the cookies for this sit and thought it was working right then went to the home page and logged in with my e-mail and password and then went back to the forum and I was no longer logged in. Hope this helps out. Thanks.

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1661
  • Gender: Male
Re: Forum log in
« Reply #4 on: April 28, 2016, 02:00:05 PM »
ok, so I guess its because you don't use same data (user name-email/PW for each part of site (main site an forum).
Bitsum QA Engineer

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #5 on: April 28, 2016, 07:09:56 PM »
Thanks for notifying me. I am investigating, though also am trying not to get too side-tracked back into web dev again ;p.

There are a couple issues I see and am trying a few quick setting changes.

I don't know if it's related, but  the account bridge between the main site and the forum is either malfunctioning, or at the very least I need to define the expected behavior so we know what happens when there are pre-existing accounts at the forum that contradict the main site, and other scenarios.

However, this login issue I think is some server setting. Please hold, let me play around ;).

Curiously, it doesn't happen to me. However, on another system I am unable to log in at all, due to the lack of real IP discovery I think, causing it to hit the max attempts per IP. All traffic is first routed through a reverse proxy firewall these days (couldn't otherwise stand the risk of a 0-day exploit).
Software Engineer. Bitsum LLC.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #6 on: April 28, 2016, 07:12:31 PM »
The cookie expiration time was set to 1 day. I have changed that to 30 days. Please let me know if this changes the behavior. You will have to log in again. Let me know if this impacts.

Thanks!
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #7 on: April 29, 2016, 10:57:37 PM »
That did not work.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #8 on: April 30, 2016, 12:30:37 PM »
Ok, please be patient, I'm keeping an eye on this now so will be able to ascertain what/if there is a problem. Of course, after any change, it will take at least one cycle (log back in) to take effect.

Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #9 on: April 30, 2016, 05:54:41 PM »
Ok I will for you tell me when to try again.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #10 on: May 15, 2016, 10:14:57 PM »
(15 days later)...

I think I am personally seeing what you have been seeing. Something is fishy and it's probably that WP2SMF bridge. I am going to have to hack on it's code a bit, as the maintainer seems long gone. It's fairly simple, so hopefully I can figure out what is going on. Of course, it's still possible it's also a server config, or even firewall server config issue.

It's inconsistent, that's about all I know at this point.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #11 on: May 17, 2016, 10:18:14 AM »
ok I wait for when you are ready for me to do a test. Thanks

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #12 on: May 17, 2016, 09:56:16 PM »
Just let me know when it starts working right for you ;).
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #13 on: May 18, 2016, 09:49:22 AM »
Ok will do. Thanks

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #14 on: May 19, 2016, 07:02:55 AM »
I think I may have finally got it... took a heck of a long time to track down, assuming I do have it. EDIT: Appears so.

You will have to log back in one more time.

Then it will work fine. The issue was that the cookie expiration time was always being set to NOW, thus it wasn't persisting. I manually fixed the bridge code and all is good.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #15 on: May 19, 2016, 09:52:54 AM »
Still no go. I know you will get this. You should be able to be logged into both. I know it work right when only logged into one of them.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #16 on: May 19, 2016, 10:34:56 PM »
Thanks for checking. It's at least better, as I am now able to go back to the original web site, return here, and my connected account is not logged out. I'll keep working on it. Definitely the problem and answer is in that bridge, and it's really not a lot of code, I just have to trace the logic carefully when I get a chance.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #17 on: May 24, 2016, 09:47:26 AM »
Thanks and keep up the great work.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #18 on: June 20, 2016, 06:17:34 AM »
Ok, now this issue is driving *me* nuts. I use Social Login to make login quicker/easier, but I'll do what I can to finally resolve it.

Until then, I recommend everyone use social logins, which are possible at the main site and here.
Software Engineer. Bitsum LLC.

Offline BenYeeHua

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 2243
  • Gender: Male
Re: Forum log in
« Reply #19 on: June 20, 2016, 12:49:31 PM »
Well, I don't closed the Bitsum tab, it just unloaded in my Nightly, so I never got log out issues, unless the servers auto-kick if 30 minutes no activity from the client, or Mozilla bite the cookies again. ;D

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #20 on: June 20, 2016, 04:28:44 PM »
I just made a few more adjustments, so you'll likely be forcefully logged out now - but maybe the situation gets better. I just don't have time to dig into this bridge, more important things to do and such. Still, hopefully I'll get there eventually.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #21 on: June 21, 2016, 09:50:17 AM »
Wooot!!!!! So Far So good The last changes you did Seem To Work. I did notice on the home page it does not sale login any more when our logged in. Now I get logged out. So far I am logged into both. I closed Firefox a few time just to make sure I was still logged in to forums and so far it is keeping me logged in. Thank you very much for fixing this. :)

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #22 on: June 21, 2016, 01:50:43 PM »
That's great to hear ;). I thought the changes I made yesterday at least had a positive impact, but didn't want to jump the gun -- and I do believe there may still be issues. We'll see. Please keep updating us with your experiences!
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #23 on: June 21, 2016, 01:54:48 PM »
Will do if anything new happens or it stops working again. May have to update with new versions of Firefox when they come out. Just have to wait and see.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #24 on: June 21, 2016, 01:56:51 PM »
I may also continue making minor tweaks. For instance, I just raised the cookie TTL a little more. Unless I set it to infinite, there will be sporadic times when you are logged out. However, it is looking better for sure. Thank goodness, lol. It was basically a one-line fix to the plugin.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #25 on: June 21, 2016, 04:33:07 PM »
That last tweak you made logged me out but I logged back back in and tried a few time and it is still working. If you like every time you do a tweak to make it batter and work right, i can test it out.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #26 on: June 21, 2016, 04:37:25 PM »
Well I think I'm done with the tweaking for now, so let's see how it goes ;). Your cookie will expire after 2880 minutes, so it will log you out after that time. We can expect that.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #27 on: June 21, 2016, 04:41:56 PM »
So every two day you have to log back in?

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #28 on: June 22, 2016, 04:43:22 PM »
Yea, but I may change that -- one step at a time ;).
Software Engineer. Bitsum LLC.

Offline Tarnak

  • Member++
  • ****
  • Posts: 139
Re: Forum log in
« Reply #29 on: June 22, 2016, 04:56:33 PM »
Test...I haven't visited in a while... Still around, though...I noticed Jeremy was over in the Malwarebytes forum , a short time ago. :)

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #30 on: June 22, 2016, 05:02:06 PM »
Yes, I try to be all places at all times ;).

As for this forum issue: I just now adjusted the cookie TTLs to essentially infinite, so maybe no logout will ever occur, but I won't guarantee that. I need to review the main site settings as well, etc...
Software Engineer. Bitsum LLC.

Offline Tarnak

  • Member++
  • ****
  • Posts: 139
Re: Forum log in
« Reply #31 on: June 22, 2016, 05:05:26 PM »
Good to see... ;)  I have noticed the frequency of new PL betas has dropped off, markedly.  Is there a particular reason?

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #32 on: June 22, 2016, 05:06:53 PM »
Yea, but I may change that -- one step at a time ;).

Then one is the way you have it set and when I log in I can one day and week up to forever. Will this miss up what you have set?

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #33 on: June 26, 2016, 11:42:17 AM »
Because I am working on the v9 alpha branch mostly (releasing new build of that today).

Also - importantly - the present v8 build is very stable and doesn't need any major updates (which are for v9). All the recent minor updates have been back-ports from v9.

I've been busy doing a lot of other things too, like completing this massive change of our web infrastructure, but I don't reckon you are asking for an audit of my time ;).
Software Engineer. Bitsum LLC.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #34 on: June 26, 2016, 11:44:15 AM »
Then one is the way you have it set and when I log in I can one day and week up to forever. Will this miss up what you have set?

No, that's just the cookie TTL, choose whatever you want, I just set a large default (maybe too big).
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #35 on: June 28, 2016, 10:50:13 AM »
It seems you have fixed the login when I leave the site and I have closed the browser many time just and all is fine but it seems that I have to log in each day. Not sure how long it is keeping logged in. Guessing it is a day. I have it set for forever. What you have done so far seems to help. Maybe you found out why it is having me log in each day. Thanks.

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #36 on: June 28, 2016, 11:01:10 AM »
It seems you have fixed the login when I leave the site and I have closed the browser many time just and all is fine but it seems that I have to log in each day. Not sure how long it is keeping logged in. Guessing it is a day. I have it set for forever. What you have done so far seems to help. Maybe you found out why it is having me log in each day. Thanks.

That part is intentional when I set the cookie TTL to 'daily' (basically). As a security matter, it really should have some limit.
Software Engineer. Bitsum LLC.

Offline parkd1

  • Member++
  • ****
  • Posts: 196
  • Gender: Male
Re: Forum log in
« Reply #37 on: June 28, 2016, 11:06:43 AM »
Agree on that. Maybe like every month or something it will log you out and you have to log back in. Just a thought.

Offline Hotrod

  • Member++
  • ****
  • Posts: 264
  • Gender: Male
Re: Forum log in
« Reply #38 on: June 28, 2016, 12:46:53 PM »
I use LastPass and never give it a second thought.  8)

Offline BenYeeHua

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 2243
  • Gender: Male
Re: Forum log in
« Reply #39 on: July 07, 2016, 11:00:54 PM »
Agree on that. Maybe like every month or something it will log you out and you have to log back in. Just a thought.

Yup, many Chinese website is set to be like that, but I guess they are doing it on the server side, not the Cookies. :)

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5228
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Forum log in
« Reply #40 on: December 01, 2016, 05:38:11 AM »
Well, good news, it is fixed!

Bad news is that this is no longer the 'primary' forum, instead trying to use This New Bitsum Community which better integrates with our new infrastructure.
Software Engineer. Bitsum LLC.

Offline Tarnak

  • Member++
  • ****
  • Posts: 139
Re: Forum log in
« Reply #41 on: January 29, 2017, 07:58:49 AM »
Well, good news, it is fixed!

Bad news is that this is no longer the 'primary' forum, instead trying to use This New Bitsum Community which better integrates with our new infrastructure.

I posted in this thread at least six months ago, and had problems trying to login then.   Now, I have just realized why I have ended up with two passwords, one of which is an old one, and is the one that has taken me to the 'old look' forum.   I created the second password at this time, i.e. six or so months ago, when I had problems logging in.  But, at the time I didn't understand why I ended up with two passwords. I ended up joining some community by mistake, which I had mentioned to Jeremy at the time.  I tried to get my username removed from their forums, but was unsuccessful.