Comments (8)
OK @tobychui
I install the container with curl commande, configure the container to access the same network of my backend container and test cli command:
curl -v container_name_backend:port
the result:
root@7e59b18dbd73:/# curl -v http://docker-ghostdockercompose-1:2368
* Trying 172.18.0.4:2368...
* Connected to docker-ghostdockercompose-1 (172.18.0.4) port 2368 (#0)
> GET / HTTP/1.1
> Host: docker-ghostdockercompose-1:2368
> User-Agent: curl/7.81.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< X-Powered-By: Express
< Cache-Control: public, max-age=31536000
< Location: https://docker-ghostdockercompose-1:2368/
< Vary: Accept, Accept-Encoding
< Content-Type: text/plain; charset=utf-8
< Content-Length: 75
< Date: Wed, 03 Jan 2024 08:30:17 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
<
* Connection #0 to host docker-ghostdockercompose-1 left intact
Moved Permanently. Redirecting to https://docker-ghostdockercompose-1:2368/
from zoraxy.
@barto95100 cool, this is a helpful bug report you just gave! I will look into this further.
from zoraxy.
The reason the up-time monitor show this is that the target is reachable but gives an HTTP status code of not 200.
I tried your URL and it is not reachable from my side, so you might be using custom DNS or something, which means this is a problem of your network configuration than an actual Zoraxy bug.
Please tag me to re-open this issue if you have clear evidence that this is a bug generated by Zoraxy.
P.S. reachable in your host doesn't mean the same URL is reachable in your docker container. I am no docker expert so if you need help regarding docker networking, you might need to find PassiveLemon for this matter.
from zoraxy.
@tobychui YEs the url in my screen is the container name
the ping from zoraxy to container is ok :
It's not possible to test with curl on container zoraxy because not possible to install it....
do you have idea how to debug the response http from zoraxy to backend container response ?
from zoraxy.
@barto95100 I don't know, I don't use docker. Maybe you can just use your browser to access that endpoint and get me the list of response from your site? (e.g. in browser trace HAR file) Otherwise I have no idea how to help you further.
from zoraxy.
Cannot reproduce. In fact, the logic in the uptime monitor front-end is as follows.
if (value[value.length - 1].StatusCode >= 500 && value[value.length - 1].StatusCode < 600){
currentOnlineStatus = `<i class="exclamation circle icon"></i> Misconfigured`;
onlineStatusCss = `color: #f38020;`;
reminderEle = `<small style="${onlineStatusCss}">Downstream proxy server is online with misconfigured settings</small>`;
This shows that the status code you are getting after the redirection is in the 500 - 600 range. I guess it is really misconfiguration issue instead of a bug in the up time monitor.
from zoraxy.
I'm also experiencing the same issue with it showing that there's a misconfiguration (although I was just running this as a test to see if it's something I could use). As my test, I just set up "localhost" as my matching domain, and the target IP:PORT which was running on a different PC. The initial page when accessing automatically redirects (302) a few times based on if the user is logged in already or not and to get to a landing page, but the final landing page returns 200. The reverse proxy works fine, but the uptime monitor shows the misconfiguration error mentioned here.
from zoraxy.
@mflagler Do you have a network trace file for your case? If yes, please open a new issue that specify what system you are using (as downstream) that causes this issue.
from zoraxy.
Related Issues (20)
- SMTP server without credentials HOT 7
- [ENHANCEMENTS] Add Security Headers // Presets // Checkboxes HOT 4
- [BUG] Generally buggy behaviour when proxying Nextcloud HOT 10
- [ENHANCEMENTS] Reduce the size of the artifact HOT 1
- Can you add Chinese Simplified Chinese? HOT 3
- [ENHANCEMENT] Add TCP Proxy auto start option after reboot ( docker ) HOT 2
- [BUG] Local LAN IP Whitelist gives 403 Access Denied error when connecting from the local network HOT 11
- Unable to create certificates [BUG] HOT 6
- [ENHANCEMENTS] Redirects HOT 1
- [ENHANCEMENTS] - Access Control UI/UX HOT 6
- Option to Choose Custom Certificate Selection for HTTP Proxy Hosts [ENHANCEMENTS] HOT 4
- [HELP] Connexion timeout HOT 9
- [HELP] How do I proxy a single location? HOT 3
- Reverse Proxy internal domain to another external port HOT 8
- Getting TLS Handshake Error When Accessing the Proxy Host [HELP] HOT 2
- [ENHANCEMENTS] Add Strato dns challenge HOT 1
- [ENHANCEMENTS] Cluster capability? HOT 2
- [ENHANCEMENTS] Add Rate Limits and Bandwidth Limits to Zoraxy HOT 13
- Reverse proxy appears 404[HELP] HOT 6
- [BUG] Headscale does not seem to work with Zoraxy
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.