Code Monkey home page Code Monkey logo

Comments (4)

sergeyfrolov avatar sergeyfrolov commented on May 18, 2024 1

Bug is fixed (updated version is available on caddyserver.com)

from forwardproxy.

sergeyfrolov avatar sergeyfrolov commented on May 18, 2024

Does that happen for all HTTP hosts or for particular few?
Evidently, it fails to DNS resolve the host you're trying to access. You seem to have redacted the host away, so I can't tell why this would happen.
You can try to run host your-http-host.com or dig your-http-host.com on the server with forwardproxy, and see if it's resolvable and if the resolved address is correct. Perhaps, it gets DNS poisoned?

from forwardproxy.

escapezn avatar escapezn commented on May 18, 2024

Yes, as long as http sites it reports 502.
My host website on this server is absolutely accessible.
With your direction, I typed ./caddy -host my.host
It returned

Activating privacy features... done.
https://my.host
http://my.host

Looks good, right? Then I visit a http site, for example http://earthquake.usgs.gov/ over forwardproxy, the log are

02/Jul/2018:21:17:20 -0400 [ERROR 502 /] dial failed: Lookup of failed: lookup : no such host
02/Jul/2018:21:17:20 -0400 [ERROR 502 /favicon.ico] dial failed: Lookup of failed: lookup : no such host

from forwardproxy.

escapezn avatar escapezn commented on May 18, 2024

It seems like forwardproxy regards the http site I visit is under my domain, http://a.com/b.html as my.host/b.html

from forwardproxy.

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.