Git Product home page Git Product logo

esni-rev-proxy's Issues

Compile Error

when I type go build after I have everything done, I got this message:

.GOROOT/src/net/http/response.go:169:29: too many arguments to conversion to badStringError: badStringError("malformed HTTP response", line)
.GOROOT/src/net/http/response.go:179:29: too many arguments to conversion to badStringError: badStringError("malformed HTTP status code", statusCode)
.GOROOT/src/net/http/response.go:183:29: too many arguments to conversion to badStringError: badStringError("malformed HTTP status code", statusCode)
.GOROOT/src/net/http/response.go:187:29: too many arguments to conversion to badStringError: badStringError("malformed HTTP version", resp.Proto)
.GOROOT/src/net/http/transfer.go:313:26: too many arguments to conversion to badStringError: badStringError("invalid Trailer key", k)
.GOROOT/src/net/http/transfer.go:780:26: too many arguments to conversion to badStringError: badStringError("bad trailer key", key)
.GOROOT/src/net/http/transfer.go:1044:27: too many arguments to conversion to badStringError: badStringError("bad Content-Length", cl)
.GOROOT/src/net/http/transport.go:538:29: too many arguments to conversion to badStringError: badStringError("unsupported protocol scheme", scheme)

It seems like a problem, how can I deal with it?

Error while running prepareGoRoot.sh

Hey,

I was trying to enable ESNI on my Apache web server and wanted to use this repository to get closer to my goal. However, when I try to run the prepareGoRoot.sh script it gives an error:

cp: target './.GOROOT/src/' is not a directory

I can't figure out the error and would be grateful if you could look into it. @i-prudnikov

Cheers

Running proxy in front of an Apache2 web server

Hey, @i-prudnikov

I am trying to run this proxy in front of an Apache2 webserver. My server is listening on port 443 since my test website has HTTPS enabled, in order to test ESNI. Now the reverse proxy gives this error while trying to start it

sudo ./esni-rev-proxy -b 0.0.0.0:443 -esni-keys ~/test/test2/esnitool/esni.pub -esni-private ~/test/test2/esnitool/esni -cert "test.siegelucent.tech:/etc/apache2/testsiegelucenttech.key:/etc/apache2/testsiegelucenttech.crt" -upstream https://test.siegelucent.tech -showaccesslog
2021/04/15 08:07:03 Default esniRevProxy cert/key pair would be sourced from test.siegelucent.tech:/etc/apache2/testsiegelucenttech.key:/etc/apache2/testsiegelucenttech.crt
2021/04/15 08:07:03 Starting esni reverse proxy...
2021/04/15 08:07:03 ListenAndServeTLS(): listen tcp 0.0.0.0:443: bind: address already in use
I believe that this error is coming up since Apache2 is also running on the same port. However if I stop the webserver to free up the port, the website won't load even if the reverse-proxy works

Do you have any idea what might be a fix for this issue?

Also, I must mention that it seems that my golang installation has been botched up somehow in my Linux VM and reinstalling it did not help. So, I compiled the binaries inside the docker container and copied them to the host (my VM) and ran the reverse-proxy from there, since my Apache2 webserver is set up in the VM.

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.