Mac m1 Http works but https is broken?
See original GitHub issueHi,
on http is everything it fine. But on https i got this:
nginx.1 | 2021/06/20 18:51:26 [notice] 30#30: signal 17 (SIGCHLD) received from 99
nginx.1 | 2021/06/20 18:51:26 [alert] 30#30: worker process 99 exited on signal 11
nginx.1 | 2021/06/20 18:51:26 [notice] 30#30: start worker process 103
nginx.1 | 2021/06/20 18:51:26 [notice] 30#30: signal 29 (SIGIO) received
nginx.1 | 2021/06/20 18:51:26 [notice] 30#30: signal 17 (SIGCHLD) received from 100
nginx.1 | 2021/06/20 18:51:26 [alert] 30#30: worker process 100 exited on signal 11
nginx.1 | 2021/06/20 18:51:26 [notice] 30#30: start worker process 104
nginx.1 | 2021/06/20 18:51:26 [notice] 30#30: signal 29 (SIGIO) received
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: signal 17 (SIGCHLD) received from 101
nginx.1 | 2021/06/20 18:51:27 [alert] 30#30: worker process 101 exited on signal 11
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: start worker process 105
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: signal 29 (SIGIO) received
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: signal 17 (SIGCHLD) received from 102
nginx.1 | 2021/06/20 18:51:27 [alert] 30#30: worker process 102 exited on signal 11
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: start worker process 106
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: signal 29 (SIGIO) received
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: signal 17 (SIGCHLD) received from 103
nginx.1 | 2021/06/20 18:51:27 [alert] 30#30: worker process 103 exited on signal 11
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: start worker process 107
nginx.1 | 2021/06/20 18:51:27 [notice] 30#30: signal 29 (SIGIO) received
nginx.1 | 2021/06/20 18:51:28 [notice] 30#30: signal 17 (SIGCHLD) received from 104
nginx.1 | 2021/06/20 18:51:28 [alert] 30#30: worker process 104 exited on signal 11
nginx.1 | 2021/06/20 18:51:28 [notice] 30#30: start worker process 108
nginx.1 | 2021/06/20 18:51:28 [notice] 30#30: signal 29 (SIGIO) received
nginx.1 | 2021/06/20 18:51:28 [notice] 30#30: signal 17 (SIGCHLD) received from 105
nginx.1 | 2021/06/20 18:51:28 [alert] 30#30: worker process 105 exited on signal 11
nginx.1 | 2021/06/20 18:51:28 [notice] 30#30: start worker process 109
nginx.1 | 2021/06/20 18:51:28 [notice] 30#30: signal 29 (SIGIO) received
here is the docker-compose.yml
version: '3'
services:
#######################################
# Delegate requests to container via
# Nginx reverse proxy
#######################################
nginx-proxy:
container_name: nginx-proxy
image: jwilder/nginx-proxy
build:
context: docker/nginx-proxy
ports:
- "80:80"
- "443:443"
networks:
- default
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./docker/nginx-proxy/nginx.tmpl:/app/nginx.tmpl:ro
- ./docker/nginx-proxy/certs/default.key:/etc/nginx/certs/default.key:ro
- ./docker/nginx-proxy/certs/default.crt:/etc/nginx/certs/default.crt:ro
networks:
default:
external:
name: kult-dev-network
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
If your Mac doesn't start up all the way - Apple Support
If your Mac doesn't start up all the way or needs you to do something during startup, it might stop at one of...
Read more >How to Fix Mac Not Loading Certain Websites - YouTube
Hey everyone, today we're going to be going over the top five ways to fix an issue in Safari on your Mac where...
Read more >SSL Not working on BigSur 11.1 - Support - Local Community
I use macbook air m1 (2020) with BigSur 11.1 and chrome 88. ... Same problem - certificate is trusted, but Chrome says 'Not...
Read more >How do I fix the invalid certificate error on Mac? - MacPaw
macOS must check the certificate before it connects to any website. If the certificate is not valid or expired, your Mac will display...
Read more >How to fix "your connection is not private" error - Setapp
Most often, it's because a website is using HTTP rather than the more secure HTTPS protocol. This often means the website was simply...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
tl;dr – a possible work-around would be to use
nginxproxy/nginx-proxy:alpine
image instead of a debian-based one.@buchdag sorry for the late reply, was busy week 😅
Yea, I thought about http1.1 as well, however forcing that doesn’t seem to change anything. And nginx debug mode doesn’t seem to log anything extra.
Now the interesting bit is that this doesn’t manifest if I use alpine flavour of nginx image (i.o.w.
nginx:alpine
)! The output looks quite close to the “broken” one:While researching this I’ve stumbled upon a rather old, but very similar issue in nginx issue tracker, that claims the problem to happen due to
-O2
optimisation flags.Now, looking at the
nginx -V
output from docker image, it seems that it used-O2
during compilation, so that might be what causing this issue? And since alpine builds don’t use gcc, this doesn’t manifest?Anyhoo to sum up, using alpine-based nginx-proxy build instead of debian one solves the issue for my local env, which is good enough for me 😅
Feel free to ping me if you want to test something!
@kblcuk thanks for investigating this, seems there isn’t much we can do from this project end. 😒
At least the alpine based image is working. 👍