HTTP to HTTPS, logging in and out issue

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

After switching from HTTP to HTTPS, logging in and out, and submitting a post has changed.

When I click the login, logout, and the submit button, the screen sits still, as if the commands were not executed.

They are carried out, but I must click something else to see that I am logged out, or in, or to see that the post was posted.

Each time I click submit, a new post is posted.

I have a fresh install of phpBB 3.3.8, without any extensions.

Cookie settings:

Cookie domain: .mydomain.com
Cookie name: docs_ben
Cookie path: /
Cookie secure: Enabled
Cookie notice: Disabled

Server settings:

Enable URL Rewriting: No
Force server URL settings: No
Server protocol: https://
Domain name: mydomain.com
Server port: 443
Script path: /phpBB

Since the install, about two weeks ago, it worked normal with http.

I waited for my SSL certificate activation, and then made the setting changes to the board, followed by “Purge the cache.”

I was without a website for more than eight years, so I am behind.

Thanks.
Last edited by Mick on Sat Nov 26, 2022 9:28 am, edited 1 time in total.
Reason: Solved.
Open-source software has been changing lives since 1998.
User avatar
janus_zonstraal
Registered User
Posts: 5865
Joined: Sat Aug 30, 2014 1:30 pm

Re: HTTP to HTTPS, logging in and out issue

Post by janus_zonstraal »

If you give us the url we can check the settings.
Sorry! My English is bat ;) !!!
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

I am reverting to HTTP from HTTPS to be sure there were no other changes that could have cause this issue.

All settings on the board and server have been changed back to HTTP. I am now waiting for the server to read HTTP.

This may take up to thirty minutes.
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

Instantly after entering my username and password, HTTP flashed away the sign-in screen, and showed that I am logged in.

Signing out, and submitting a post, also work normally.

Back to HTTPS:
The original issue has not changed.
Open-source software has been changing lives since 1998.
User avatar
janus_zonstraal
Registered User
Posts: 5865
Joined: Sat Aug 30, 2014 1:30 pm

Re: HTTP to HTTPS, logging in and out issue

Post by janus_zonstraal »

Try a other browser or delete the cookies in your browser.
Sorry! My English is bat ;) !!!
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

These are my current browsers:

1. Microsoft Edge

2. Google Chrome

3. Mozilla Firefox

I use all three when building and testing a site, to make sure the site appear, and work the same on each one.

I never build, and publish. Never have, and never will.

I no longer use IE, since it is obsolete.
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

Cookies:

One thing I notice, when I first notice the issue, is that my computer was being asked for permission to accept old cookies from the HTTP settings.

This was after all setting was updated to the board and server, which included renaming the cookies to docs_ben, under HTTPS settings.

No matter how many times I “Purge the cache,” and cleared my browsing data, I get three cookies from docs_ben, and three original cookies from phpBB 3.3.8 fresh installation.

Later, the requested original cookies disappeared.
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

I just happen to go back into time to see what happens in Internet Explorer 11. It works normally under HTTPS. Unbelievable.

I wonder why it works normally in IE 11, but not modern browsers.
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

I am still trying to find out what is causing this issue.

Mostly, I have been playing around with the server and cookie settings.

I cannot continue with building the board with extensions and other changes until the problem is found.
Open-source software has been changing lives since 1998.
User avatar
warmweer
Jr. Extension Validator
Posts: 9233
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: HTTP to HTTPS, logging in and out issue

Post by warmweer »

@ Mike63740
janus_zonstraal wrote: Fri Nov 18, 2022 2:23 pm If you give us the url we can check the settings.
and you could provide a testaccount to post something (in a designated forum, somewhere where it doesn't have an influence on the rest of your board
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

Could any of the information below be part of the HTTPS issue?

Cookies and Site Data:

Send for
Secure same-site connections only

Accessible to script
No (HttpOnly)
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

I finally installed the first extension. (Board announcements)

Alert.jpg
Alert.jpg (12.03 KiB) Viewed 625 times

This is in case the board goes public before the issue is fixed.
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

Firefox updates:

With only to web pages opened in Firefox browser.
1. Settings
2. The website with the issue.

Note:
In this experiment, there is no refreshing of the two pages, and no Cookies and Site Data clearing.

1. The site only works normally under HTTPS-Only Mode.

2. Under, Don’t enable HTTPS-Only Mode, the site page requires refreshing to see login, and logout status.

Firefox options for HTTPS-Only Mode:

1. Enable HTTPS-Only Mode in all windows
2. Enable HTTPS-Only Mode in private windows only
3. Don’t enable HTTPS-Only Mode

If 1 is checked, instantly no issue.
If 3 is checked, instantly the issue is back.
Open-source software has been changing lives since 1998.
User avatar
Mike63740
Registered User
Posts: 102
Joined: Fri Feb 03, 2012 8:19 pm

Re: HTTP to HTTPS, logging in and out issue

Post by Mike63740 »

This case is completely closed.

The solution to the issue:

Force server URL settings: Yes
If set to yes the server settings defined here will be used in favour of the automatically determined values.

All three browsers work normally.

Also, Firefox now work under, Don’t enable HTTPS-Only Mode.
Open-source software has been changing lives since 1998.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69004
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: HTTP to HTTPS, logging in and out issue

Post by Lumpy Burgertushie »

It looks like your setup is one of the rare setups that require the use of that setting to work properly.
setting "force url" to yes is a rare requirement in my experience.

good work on tracking it down so that it works for you.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Post Reply

Return to “[3.3.x] Support Forum”