GithubHelp home page GithubHelp logo

Comments (8)

rekonnected avatar rekonnected commented on June 6, 2024 1

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.

rekonnected avatar rekonnected commented on June 6, 2024

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.

rekonnected avatar rekonnected commented on June 6, 2024

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.

tobychui avatar tobychui commented on June 6, 2024

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.

rekonnected avatar rekonnected commented on June 6, 2024

from zoraxy.

PassiveLemon avatar PassiveLemon commented on June 6, 2024

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.

tobychui avatar tobychui commented on June 6, 2024

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.

tobychui avatar tobychui commented on June 6, 2024

A new error message has been added for this bug in v2.6.6. Closing this issue now.

from zoraxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.