When I try to access my webpage from 127.0.0.1 (localhost), I get this contorted-looking webpage and can't figure out why. Any ideas?
Re: website issues with 127.0.0.1
By: SYS64738 to All on Fri Oct 04 2024 09:55:20
The browser is failing to load certain resources, like the stylesheet and probably some javascript. I don't know why this is happening. As far as I can remember, your hostname isn't baked into these URLs and the paths are relative, so it should work.
It's possible that this stuff is loading but some script is crashing and breaking the page.
It's possible that you have some mixed HTTP / HTTPS thing going on, or there's something about your setup we don't know about (edits to index.xjs, a reverse proxy in front, etc.).
I could say more if I could see the network requests and errors in your browser's dev tools, and look at the source of the broken page, but I can't do that from here.
Are you using Firefox? This is how mine looks when using Firefox. All other browsers display fine for my site.
https://a-net-online.lol * A-Net Online
Re: website issues with 127.0.0.1
By: SYS64738 to All on Fri Oct 04 2024 09:55:20
The browser is failing to load certain resources, like the stylesheet and probably some javascript. I don't know why this is happening. As far as I can remember, your hostname isn't baked into these URLs and the paths are relative, so it should work.
It's possible that this stuff is loading but some script is crashing and breaking the page.
It's possible that you have some mixed HTTP / HTTPS thing going on, or there's something about your setup we don't know about (edits to index.xjs, a reverse proxy in front, etc.).
I could say more if I could see the network requests and errors in your browser's dev tools, and look at the source of the broken page, but I can't do that from here.
Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH | bootstrap.min.css:1 +
Failed to load resource: net::ERR_TIMED_OUT | checkbox.css:1
Failed to load resource: net::ERR_TIMED_OUT | offcanvas.css:1
Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH | bootstrap.min.js:1 +
Re: website issues with 127.0.0.1
By: SYS64738 to echicken on Sat Oct 05 2024 02:46:34
Something very wonky going on with your webserver and/or your connection to it.
This isn't a webv4 problem in itself; the Synchronet webserver sends these files to your browser without the help of any script I wrote.
I'll ponder it and let you know if I think of anything. Especially weird that this only happens within localhost, if I'm understanding correctly. I'm sure that's telling of something but I don't know what.
I use Chrome and Firefox. I get the same result on both. Yours looks fine to me as well.
Here's a list of the errors I encountered when pulling up the localhost in my browser:
Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH | bootstrap.min.css:1 +
I use Chrome and Firefox. I get the same result on both. Yours looks fine
to me as well.
looks normal on chrome.
i dont use foxfire.
Re: website issues with 127.0.0.1
By: MRO to SYS64738 on Sat Oct 05 2024 09:33 pm
I use Chrome and Firefox. I get the same result on both. Yours looks f
to me as well.
looks normal on chrome.
i dont use foxfire.
What's Foxfire? Did you mean Firefox?
Re: website issues with 127.0.0.1
By: SYS64738 to echicken on Sat Oct 05 2024 02:46 am
how about using your domain instead?
---
� Synchronet � ::: BBSES.info - free BBS services :::
Re: website issues with 127.0.0.1
By: SYS64738 to echicken on Sat Oct 05 2024 02:46:34
Something very wonky going on with your webserver and/or your connection to it.
This isn't a webv4 problem in itself; the Synchronet webserver sends these files to your browser without the help of any script I wrote.
I'll ponder it and let you know if I think of anything. Especially weird that this only happens within localhost, if I'm understanding correctly. I'm sure that's telling of something but I don't know what.
So, I found someone having a similar problem on a tomcat server that found
In conf/server.xml config file in apache tomcat folder set the "usesendfile" attribute to "false" as shown below:-
I'm thinking that if I could find the equivalent file/variable to edit in sbbs, then this could possibly work for me also. What do you think?
We don't have an equivalent that I'm aware of. Are you seeing errors related to content length mismatch in your browser's dev tools? You may have the same symptoms as this person, but there are many possible causes.
Since this only happens to you within the confines of your server, you could try adding an entry to your server's hosts file. Have it so that geo.synchro.net points to 127.0.0.1. Then try loading the page again. If that fixes it, that would mean webv4 is building one or more URLs incorrectly. This shouldn't be the case and it's something I avoided, but worth checking.
I'm an old school programmer, so please forgive my ignorance, but I assume that there is some sort of "CHECK"
Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH |
that there is some sort of "CHECK" (old school term, sorry) going on as a security check (?). Which makes me ask 1) why? and 2) who the &^*$ cares,
I seriously don't think it is something that sbbs' webserver is doing.
Sysop: | fluid |
---|---|
Location: | wickliffe, ohio |
Users: | 8 |
Nodes: | 10 (0 / 10) |
Uptime: | 235:59:31 |
Calls: | 50 |
Files: | 15,838 |
Messages: | 48,210 |