Comments (4)
Bug is fixed (updated version is available on caddyserver.com)
from forwardproxy.
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.
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.
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)
- Should caddy2 be default branch? HOT 1
- Rationale of :443 in ":443, example.com" HOT 1
- Allow use of wildcard outside of `*.` prefix HOT 5
- Leverage caddy-l4 HOT 7
- Role of probe_resistance HOT 4
- [Feature request] Add custom DNS resolver
- Caddy shows "ResponseWriter doesn't implement http.Flusher" when enable access log and connect to a proxy server using HTTP/2 HOT 4
- Would using tokio improve performance? HOT 2
- Putty/WinScp HTTP Proxy
- Seeing a crash while running caddy V2 with Forward Proxy Plugin (Branch: caddy2) HOT 1
- basicauth can not work normally HOT 2
- Cannot connect to webrtc normally HOT 1
- Cannot connect to webrtc normally HOT 2
- Caddy2 support not only 443 port HOT 6
- The caddy2 version bahaves unexpectly. HOT 5
- where the "binaries" at? HOT 1
- "308 Permanent Redirect" HOT 2
- Download not available HOT 2
- Broken link in documentation pointing at blog article HOT 1
- Any change to support Cadddy log function ?
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 forwardproxy.