Comments (9)
By infinite redirect do you mean a looping set of redirects or that it stalls?
from luci-commotion.
He means that the browser is giving the error "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
from luci-commotion.
Indeed.
from luci-commotion.
Ahhh, might be an error in how the https redirect in the header is parsing and then redirecting the current page. It should just change the http to https, but it might be cutting out the wrong part.
from luci-commotion.
Now that I've gotten a chance to look at it, it looks like you were right @elationfoundation. The crypto.check_https
function loops forever, though it isn't because it cuts out the wrong part of the string. It looks like the environment no longer passes an HTTPS
element, which is how the function previously determined that the redirect completed. I can change it to a env.SERVER_PORT ~= 443
check to 'fix' it, but that's kind of crappy. It's probably fine for our setup, but I don't like that it doesn't actually directly signal whether the handshake completed or not (if we were running HTTP on port 443 it would still complete). Not a big deal, but anyone have any better ideas about how to do that check?
from luci-commotion.
Looking at the source of uhttpd2, it looks like it could easily be patched to provide that env var. How would you feel about that? It would be a good opportunity to upstream it as well.
from luci-commotion.
I think we can submit an upstream patch, but I'm just going to make the SERVER_PORT
change for now. It works for our setup, and it won't require that we patch or otherwise host our own uhttpd2 package. However, we can still submit it as an upstream issue, as I think it's a worthwhile addition, and switch back if it gets integrated.
from luci-commotion.
fixed by #448.
from luci-commotion.
uhttpd2 patch was submitted upstream. For reference: dismantl/uhttpd2@ac93428
from luci-commotion.
Related Issues (20)
- mesh neighbors page not auto-refreshing HOT 1
- Password change in advanced menu passes unknown error
- Adding app categories in luci produces error HOT 7
- Set up wizard and basic configuration use different naming conventions
- Set up wizard does not allow configuration of multiple radios
- NanoStation M5 - WiFi power level incorrect in LuCi HOT 9
- Add country code selector to Setup Wizard HOT 2
- Client list shouldn't depend on choice of captive portal
- Local DNS server configuration
- Add performance warning in setup_wizard when configuring a single-radio devices for both mesh and AP HOT 1
- Network Scan needed
- mac address whitelist should have a select populated with mac addresses of attached devices.
- Multiple mesh IPs cause alignment problems in header
- Mesh IPs in header are discovered in an OLSR-specific way, and don't work for all use cases
- Setup Wizard: "Skip this step" option for adding AP HOT 2
- Error when changing application hop count HOT 1
- Non-admin users cannot edit or remove the apps that they create HOT 1
- Error when unchecking "make application permanent" box HOT 1
- MAC address incorrect in luci advanced menus (1.2rc1) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luci-commotion.