Comments (5)
@paulgit Could you please provide information on how you run the docker image?
Following information would be good:
- Docker version
- Which image is used (hash)
- Environment variables given in the
docker run
command
from container-healthchecks.
Sorry, I should have sent that in my original post!
- Docker version 1.13.1, build 092cba3
- Image sha256:f053f35668022c5c89e0566451e8b5e4e3f8bb3b0d16e7357cd10e2356994398
- Environment variables as follows:
docker run \
-d \
--name=healthchecks \
-p 80:8000 \
-e 'HC_HOST=0.0.0.0' \
-e 'HC_SECRET_KEY={removed}' \
-e 'HC_PING_EMAIL_DOMAIN=mydomain.com' \
-e 'HC_SITE_ROOT=http://mydomain.com' \
-e 'HC_EMAIL_HOST={removed}' \
-e 'HC_EMAIL_PORT=25' \
-e 'HC_EMAIL_USE_TLS=True' \
-e 'HC_EMAIL_HOST_USER={removed}' \
-e 'HC_EMAIL_HOST_PASSWORD={removed}' \
-e 'HC_ALLOWED_HOSTS=["*"]' \
galexrt/healthchecks:latest
I am trying to run this on Ubuntu 16.04.4
from container-healthchecks.
I have also just installed the latest docker and get the same error
Client:
Version: 17.12.1-ce
API version: 1.35
Go version: go1.9.4
Git commit: 7390fc6
Built: Tue Feb 27 22:17:40 2018
OS/Arch: linux/amd64
Server:
Engine:
Version: 17.12.1-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.4
Git commit: 7390fc6
Built: Tue Feb 27 22:16:13 2018
OS/Arch: linux/amd64
Experimental: false
from container-healthchecks.
Some further information, if I use your 'dev' version of the docker image I can log in ok
from container-healthchecks.
@paulgit The problem is that Healthchecks needs to be run behind https (with proxy protocol headers passed through).
The cookies for CSRF verification are only allowed to be sent through securely through https.
So to make healthchecks work, you need to put a https proxy in front of it.
An example on how to do that is https://github.com/jwilder/nginx-proxy.
I will add a note to the README that https is required.
from container-healthchecks.
Related Issues (20)
- v1.13.0-0 does not contain the change from changelog HOT 11
- Receiving Emails HOT 2
- Internal Server Error with v1.15.0-20200620-143251-752 HOT 2
- Healthcheck not working with ALLOWED_HOSTS HOT 5
- Using settelegramwebhook Doesn't Appear to Work HOT 10
- SITE_ROOT not working with static files? HOT 2
- Cannot reach container HOT 1
- Custom Logo HOT 1
- Image issues - Please Support HOT 17
- No E-Mail Notifications will be send on up or down of check but testing the email integration works HOT 8
- It doesn't work HOT 7
- bump version to v1.22.0
- Missing tag v1.25.0 HOT 2
- Container healthcheck not working HOT 9
- bump version to v2.1 HOT 1
- Bump to ver 2.4.1 HOT 2
- v2.5 HOT 1
- v2.6 HOT 1
- v2.7 HOT 1
- Dependency Dashboard
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 container-healthchecks.