ERR_EMPTY_RESPONSE Workaround

Discussion regarding the Outsider webcomic, science, technology and science fiction.

Moderator: Outsider Moderators

Post Reply
User avatar
Arioch
Site Admin
Posts: 4486
Joined: Sat Mar 05, 2011 4:19 am
Location: San Jose, CA
Contact:

ERR_EMPTY_RESPONSE Workaround

Post by Arioch »

I foolishly followed the recommendation of my webhost, and enabled SSL on well-of-souls.com, which unfortunately has led to problems with the forums. There are a number of actions that will generate an ERR_EMPTY_RESPONSE, including the redirect after posting, and, I think, some of the pages needed to activate a new forum account.

The problem is that phpBB is generating a non-secure URL in the form:

Code: Select all

http://well-of-souls.com:443/forums/ucp.php?************
when what is needed is:

Code: Select all

https://well-of-souls.com:443/forums/ucp.php?************
or:

Code: Select all

http://well-of-souls.com/forums/ucp.php?************
While I am trying to find a way to fix this, a temporary workaround is that you can click on the URL box in your browser and edit the URL either so that it starts with "https://", or remove the ":443".

I know that there are redirect fixes that involve modifying the server configuration files (.htaccess and php.ini), but I'm on a shared server that doesn't allow us access to these files. So I will try to get into it with their support tomorrow. I'm sure that will go well [/sarcasm].

Sorry for the inconvenience.

UPDATE: I think this should be fixed now, so let me know if you encounter additional problems.

Krulle
Posts: 1413
Joined: Wed May 20, 2015 9:14 am

Re: ERR_EMPTY_RESPONSE Workaround

Post by Krulle »

I also get an error, it suffices for me to remove the :443

Code: Select all

http://well-of-souls.com/forums/ucp.php?************
works for me to get me where I should be.
I don't know why it now adds a specific port. That may be part of the problem.
Vote for Outsider on TWC: Image
charred steppes, borders of territories: page 59,
jump-map of local stars: page 121, larger map in Loroi: page 118,
System view Leido Crossroads: page 123, after the battle page 195

User avatar
Arioch
Site Admin
Posts: 4486
Joined: Sat Mar 05, 2011 4:19 am
Location: San Jose, CA
Contact:

Re: ERR_EMPTY_RESPONSE Workaround

Post by Arioch »

I observe the same behavior, but I don't know what the significance of the 443 port is, and I don't see it anywhere in the forum settings. The "Server Port" in phpBB settings is set to 80.

boldilocks
Posts: 669
Joined: Fri Jun 02, 2017 3:27 pm

Re: ERR_EMPTY_RESPONSE Workaround

Post by boldilocks »

The 443 port is the default port for communicating with an SSL secured website.
The 80 or 8080 port is the default port for communicating with a non-secured website.

Code: Select all

http://well-of-souls.com/forums/ucp.php?************
Automatically redirects to an https url for me, so it moves to a 443 port connection.

User avatar
Arioch
Site Admin
Posts: 4486
Joined: Sat Mar 05, 2011 4:19 am
Location: San Jose, CA
Contact:

Re: ERR_EMPTY_RESPONSE Workaround

Post by Arioch »

Unfortunately, changing the port in the settings doesn't appear to have any effect; it still uses 443.

Krulle
Posts: 1413
Joined: Wed May 20, 2015 9:14 am

Re: ERR_EMPTY_RESPONSE Workaround

Post by Krulle »

Annoyingly it adds it to the website adress. Without it works. But I wonder whether you can change it (be switching of the addition), or whether the hosts servers add it ....

Well, on this PC it works anyway.

Over the weekend my iOS devices had issues with it, also warning me that I'm using https, but that the site is not secure....
(Not the forum, the comic pages - but who needs a secure connectiont o read a comic?)
Vote for Outsider on TWC: Image
charred steppes, borders of territories: page 59,
jump-map of local stars: page 121, larger map in Loroi: page 118,
System view Leido Crossroads: page 123, after the battle page 195

User avatar
GeoModder
Posts: 1038
Joined: Mon Mar 21, 2011 6:31 pm

Re: ERR_EMPTY_RESPONSE Workaround

Post by GeoModder »

Sofar, I only had a redirect to an error page when I logged in. Going through the Outsider/forums sequence brought me in.
Image

User avatar
Arioch
Site Admin
Posts: 4486
Joined: Sat Mar 05, 2011 4:19 am
Location: San Jose, CA
Contact:

Re: ERR_EMPTY_RESPONSE Workaround

Post by Arioch »

I had tried to disable SSL to fix the problem, but that started generating NET::ERR_CERT_COMMON_NAME_INVALID, which is worse. So I turned it back on.

Krulle
Posts: 1413
Joined: Wed May 20, 2015 9:14 am

Re: ERR_EMPTY_RESPONSE Workaround

Post by Krulle »

not getting any errors myself anymore.
Also not on the devices that had issues this weekend...

(just as feedback, how it appears to me, going to try post-edit next)

Post-edit: posting worked fine, editing now. So far no error yet.

post edit2: also worked fine, no errors. :)
Vote for Outsider on TWC: Image
charred steppes, borders of territories: page 59,
jump-map of local stars: page 121, larger map in Loroi: page 118,
System view Leido Crossroads: page 123, after the battle page 195

jterlecki
Posts: 66
Joined: Wed Aug 07, 2019 11:24 pm
Location: Montreal, Canada

Re: ERR_EMPTY_RESPONSE Workaround

Post by jterlecki »

Make sure that server settings are https://
Also make sure that cookie settings are set to use secured.

I used to administer a phpBB board, so let me know if you need help.

User avatar
Arioch
Site Admin
Posts: 4486
Joined: Sat Mar 05, 2011 4:19 am
Location: San Jose, CA
Contact:

Re: ERR_EMPTY_RESPONSE Workaround

Post by Arioch »

jterlecki wrote:Make sure that server settings are https://
Also make sure that cookie settings are set to use secured.

I used to administer a phpBB board, so let me know if you need help.
Okay, I think I see the problem... I had tried changing the settings in that section and it had no effect, but I didn't notice that there is a "Force server URL settings:" that you have to enable to get it to actually pay attention to the settings here. How strange.

Anyhow, I think enabling this and adjusting the protocol, port and script path has fixed the problem. Thanks for your help.

It's bizarre that this straightforward fix was not mentioned in any of the sources I searched -- they all involved edits to the server .htaccess configs. Oh well.

If anyone encounters further problems, please let me know.

jterlecki
Posts: 66
Joined: Wed Aug 07, 2019 11:24 pm
Location: Montreal, Canada

Re: ERR_EMPTY_RESPONSE Workaround

Post by jterlecki »

No problem! Here is my invoice: 1 cute image of Spiral please :D

boldilocks
Posts: 669
Joined: Fri Jun 02, 2017 3:27 pm

Re: ERR_EMPTY_RESPONSE Workaround

Post by boldilocks »

jterlecki wrote:No problem! Here is my invoice: 1 cute image of Spiral please :D
That's any page with her in it, though.

jterlecki
Posts: 66
Joined: Wed Aug 07, 2019 11:24 pm
Location: Montreal, Canada

Re: ERR_EMPTY_RESPONSE Workaround

Post by jterlecki »

boldilocks wrote:
jterlecki wrote:No problem! Here is my invoice: 1 cute image of Spiral please :D
That's any page with her in it, though.
Hush! Need more spiral!

Post Reply