Comments (8)
I did not, setting that value did finally enable the button to function. I saw the port on the front page and thought to change it first. We should probably have an error box pop up saying something like "Set Proxy Root before changing inbound port" if this is intended behavior. Thank you for finding that so quickly!
from zoraxy.
Additional error information from docker container log:
2023/08/15 20:38:20 http: panic serving <ip redacted>:54939: runtime error: invalid memory address or nil pointer dereference
goroutine 602 [running]:
net/http.(*conn).serve.func1()
/usr/local/go/src/net/http/server.go:1868 +0xb9
panic({0x8a1440?, 0x308cc00?})
/usr/local/go/src/runtime/panic.go:920 +0x270
main.HandleIncomingPortSet({0x2168618, 0xc0176f21c0}, 0x21636b0?)
/zoraxy/source/zoraxy/src/reverseproxy.go:652 +0x67
imuslab.com/zoraxy/mod/auth.(*RouterDef).HandleFunc.func1.1({0x2168618?, 0xc0176f21c0?}, 0x500d24?)
/zoraxy/source/zoraxy/src/mod/auth/router.go:42 +0x22
imuslab.com/zoraxy/mod/auth.(*AuthAgent).HandleCheckAuth(0xc00031c450, {0x2168618, 0xc0176f21c0}, 0xc00002f2d0?, 0xc030e7dab0)
/zoraxy/source/zoraxy/src/mod/auth/auth.go:84 +0x4c
imuslab.com/zoraxy/mod/auth.(*RouterDef).HandleFunc.func1({0x2168618?, 0xc0176f21c0?}, 0x6af92d?)
/zoraxy/source/zoraxy/src/mod/auth/router.go:41 +0x58
net/http.HandlerFunc.ServeHTTP(0x10?, {0x2168618?, 0xc0176f21c0?}, 0xc0326966ac?)
/usr/local/go/src/net/http/server.go:2136 +0x29
net/http.(*ServeMux).ServeHTTP(0x40d385?, {0x2168618, 0xc0176f21c0}, 0xc016a96b00)
/usr/local/go/src/net/http/server.go:2514 +0x142
net/http.serverHandler.ServeHTTP({0x2166dc0?}, {0x2168618?, 0xc0176f21c0?}, 0x6?)
/usr/local/go/src/net/http/server.go:2938 +0x8e
net/http.(*conn).serve(0xc03db881b0, {0x21691b0, 0xc03d6b0990})
/usr/local/go/src/net/http/server.go:2009 +0x5f4
created by net/http.(*Server).Serve in goroutine 1
/usr/local/go/src/net/http/server.go:3086 +0x5cb
from zoraxy.
The compose file being used, for additional context:
version: '3.3'
services:
zoraxy-docker:
image: passivelemon/zoraxy-docker:latest
container_name: zoraxy
ports:
- 80:80
- 443:443
- 8999:8000
volumes:
- /opt/appdata/zoraxy/config:/zoraxy/config/
environment:
ARGS: '--port=:8000 -noauth=false'
VERSION: '2.6.5'
from zoraxy.
I am not sure about this error, but if you are running zoraxy inside docker, you should not be changing the inbound port inside Zoraxy UI as the inbound port is "proxied" by the docker container.
I should have handle the error message a bit better, however in this case, if you want to change inbound port in docker environment, I guess what you should change is the docker config (the 80:80 and 433:433 part of the compose file) to other external port you want instead of letting Zoraxy to request a port that is not available.
@PassiveLemon do you have any idea about this?
from zoraxy.
from zoraxy.
This is strange, I don't see anything overtly wrong about this approach and I'm fairly certain that I had this running correctly at some point doing essentially the same thing. I'll see if I can recreate it later today.
from zoraxy.
Ok, I might have figure out what might be the issue here.
@rekonnected have you set your proxy root before starting your reverse proxy?
from zoraxy.
A new error message has been added for this bug in v2.6.6. Closing this issue now.
from zoraxy.
Related Issues (20)
- [ENHANCEMENTS] Support DNS validation for LetsEncrypt HOT 24
- [BUG] TLS and Config HOT 7
- [BUG] High Memory Consumption HOT 3
- [ENHANCEMENTS] Letsencrypt Auto Renewal HOT 2
- [ENHANCEMENTS] Potential security issues HOT 3
- Serve a static site directly [ENHANCEMENTS]
- [BUG] Service Expose Proxy Page Blank HOT 1
- [BUG] Let's Encrypt certs are Staging ones, so they're untrusted on browsers HOT 33
- Autostart Webserver when Proxy Root set to static webserver [BUG] HOT 1
- [ENHANCEMENTS] Access list per subdomain HOT 9
- [BUG] Cannot handle HTTP 301 response correctly HOT 5
- [BUG] Very high CPU usage HOT 6
- [ENHANCEMENTS] Multiple Subdomains in Single Rule HOT 2
- [BUG] Uptime Monitor shows old port
- [BUG]SMTP without auth HOT 2
- [QUESTION] Wildcard lets'encrypt certificat HOT 16
- [ENHANCEMENTS] SMTP without Auth and port 25
- [ENHANCEMENTS] Dark Theme
- [Help Wanted] Unable to create ACME cert behind opnsense and proxmox HOT 4
- [ENHANCEMENTS] "getting started" in documentation HOT 1
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 zoraxy.