Continuing the discussion from Cannot Login using medic account:
@Marcelo_De_Guzman a similar looking issue was fixed with these steps:
Can you please give it a try?
Hi @binod ,
Yes, I tried it sudo is not working on Git Bash. (I am using Windows)
Then, after that, I try to access again on the test-flourish.caremin.com, and still showing the 404 .
Can we somehow reset everything here?
This one was a staging only, it was like for testing the app first here, then once it was approved, it should be pushed to the production app.
Do you know what are the steps on this ?
Thanks.
I’m afraid your question and problem is very unclear. Have you managed to get your test instance running?
Unfortunately No,
It was only showing 404 not found
This was only for staging phase, which means for checking if the app was successfully working for the test-users, and then, once it was approved, all the updates must be push to the production.
Did you check the logs to identify the source of the problem?
I looked at this SSL Cert Install in CHT 3.x | Community Health Toolkit for the nginx,
error.log and startup.log doesn’t have any data. and for the error-ssl.log, I have this thing.
root@ip-10-2-12-86:/srv/storage/medic-core/nginx/logs# cat error-ssl.log
2023/03/01 07:01:01 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:01 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:01 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:02 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://medic-api/favicon.ico”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/”
2023/03/01 07:01:02 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET /favicon.ico HTTP/1.1”, upstream: “http://medic-api/favicon.ico”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/”
2023/03/01 07:01:05 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:05 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:06 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:06 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:07 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:07 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:08 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:08 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:10 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:10 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:13 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:13 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:13 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:14 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:14 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:22 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:22 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:41 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:41 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:41 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:42 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:42 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:43 [error] 459#0: *3 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:43 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:59 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:59 [error] 459#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:01:59 [error] 459#0: *3 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:5988/”, host: “test-flourish.caremin.com”
2023/03/01 07:44:25 [error] 540#0: *1 upstream prematurely closed connection while reading upstream, client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:25 [error] 541#0: *2 upstream prematurely closed connection while reading upstream, client: 138.199.60.181, server: _, request: “GET /medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25 HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:36 [error] 541#0: *9 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:36 [error] 541#0: *9 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET /medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:36 [error] 541#0: *6 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:36 [error] 541#0: *6 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:41 [error] 541#0: *9 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:41 [error] 541#0: *9 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:41 [error] 541#0: *6 no live upstreams while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:41 [error] 541#0: *6 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET /medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25 HTTP/1.1”, upstream: “http://medic-api/medic/_changes?feed=longpoll&heartbeat=10000&since=155-g1AAAAJjeJyd0EsKwjAQBuBgFRUR7Qn0BCVJ82hWduM5NElbSqm6cq030ZvoTfQmNY8ui9Ay8A_MMN9iagDArAwyEOrLVZeZShHmETSFarMaSaA2TdNUZSCXJzOYIohFXsRdB38YtTWpdq20cFKCBSMY9pVSKx1aaeKkXHLNsOorHa10a6W1kyjMleC8p3QemwR30wz2sFrotYwRTcQg7em1l9XmTtOKcaaLQdrbax-rrZwmKEpiRAdpX6-5v-2dxknBqZZdd9UPKHme3A&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:47 [error] 541#0: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:47 [error] 541#0: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25”, host: “test-flourish.caremin.com”, referrer: “https://test-flourish.caremin.com/admin/”
2023/03/01 07:44:47 [error] 541#0: *6 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 138.199.60.181, server: _, request: “GET /medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA1MUTVpcAUldPUF0eC5BkaABSQKXziVG7AKJ2f1YiE0G1ByBq7xNj7gOIWpB7swBjpF6X&limit=25 HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic-user-medic-meta/_changes?include_docs=true&feed=longpoll&heartbeat=10000&since=9-g1AAAAFTeJzLYWBg4MhgTmEQTM4vTc5ISXIwNDLXMwBCwxygFFMiQ5L8____sxIZ8ShKUgCSSfaE1TmA
2023/03/09 14:38:42 [error] 541#0: *12206 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 172.93.181.202, server: _, request: “GET /RDWeb HTTP/1.1”, upstream: “http://medic-api/RDWeb”, host: “test-flourish.caremin.com”
2023/03/09 14:38:42 [error] 541#0: *12209 no live upstreams while connecting to upstream, client: 205.185.117.217, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/09 14:38:42 [error] 541#0: *12209 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 205.185.117.217, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/09 14:38:42 [error] 541#0: *12205 no live upstreams while connecting to upstream, client: 198.98.51.200, server: _, request: “GET /myvpn?sess=none&hdlc_framing=no&ipv4=1&ipv6=1&Z=none&hostname=none HTTP/1.1”, upstream: “http://medic-api/myvpn?sess=none&hdlc_framing=no&ipv4=1&ipv6=1&Z=none&hostname=none”, host: “test-flourish.caremin.com”
2023/03/09 14:38:42 [error] 541#0: *12205 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 198.98.51.200, server: _, request: “GET /myvpn?sess=none&hdlc_framing=no&ipv4=1&ipv6=1&Z=none&hostname=none HTTP/1.1”, upstream: “http://medic-api/myvpn?sess=none&hdlc_framing=no&ipv4=1&ipv6=1&Z=none&hostname=none”, host: “test-flourish.caremin.com”
2023/03/09 14:38:43 [error] 541#0: *12218 no live upstreams while connecting to upstream, client: 45.61.186.42, server: , request: "SSTP_DUPLEX_POST /sra%7BBA195980-CD49-458b-9E23-C84EE0ADCD75%7D/ HTTP/1.1”, upstream: “http://medic-api/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/”, host: “test-flourish.caremin.com”
2023/03/09 14:38:43 [error] 541#0: *12218 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 45.61.186.42, server: , request: "SSTP_DUPLEX_POST /sra%7BBA195980-CD49-458b-9E23-C84EE0ADCD75%7D/ HTTP/1.1", upstream: “http://medic-api/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/”, host: “test-flourish.caremin.com”
2023/03/09 14:38:43 [error] 541#0: *12219 no live upstreams while connecting to upstream, client: 45.61.186.232, server: _, request: “GET /vpntunnel HTTP/1.1”, upstream: “http://medic-api/vpntunnel”, host: “test-flourish.caremin.com”
2023/03/09 14:38:43 [error] 541#0: *12219 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 45.61.186.232, server: _, request: “GET /vpntunnel HTTP/1.1”, upstream: “http://medic-api/vpntunnel”, host: “test-flourish.caremin.com”
2023/03/09 14:38:44 [error] 541#0: *12237 no live upstreams while connecting to upstream, client: 198.98.51.200, server: _, request: “GET /my.policy HTTP/1.1”, upstream: “http://medic-api/my.policy”, host: “test-flourish.caremin.com”
2023/03/09 14:38:44 [error] 541#0: *12237 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 198.98.51.200, server: _, request: “GET /my.policy HTTP/1.1”, upstream: “http://medic-api/my.policy”, host: “test-flourish.caremin.com”
2023/03/09 14:38:46 [error] 541#0: *12242 no live upstreams while connecting to upstream, client: 45.61.186.232, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/09 14:38:46 [error] 541#0: *12242 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 45.61.186.232, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/11 01:14:30 [crit] 541#0: *12897 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 3.84.247.202, server: 0.0.0.0:443
2023/03/12 07:07:31 [error] 540#0: *13603 upstream prematurely closed connection while reading response header from upstream, client: 104.219.233.124, server: , request: "SSTP_DUPLEX_POST /sra%7BBA195980-CD49-458b-9E23-C84EE0ADCD75%7D/ HTTP/1.1", upstream: “http://127.0.0.1:5988/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:31 [error] 540#0: *13603 upstream prematurely closed connection while reading response header from upstream, client: 104.219.233.124, server: , request: "SSTP_DUPLEX_POST /sra%7BBA195980-CD49-458b-9E23-C84EE0ADCD75%7D/ HTTP/1.1", upstream: “http://127.0.0.1:5988/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:31 [error] 540#0: *13603 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 104.219.233.124, server: , request: "SSTP_DUPLEX_POST /sra%7BBA195980-CD49-458b-9E23-C84EE0ADCD75%7D/ HTTP/1.1", upstream: “http://127.0.0.1:5988/sra_{BA195980-CD49-458b-9E23-C84EE0ADCD75}/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:32 [error] 540#0: *13629 no live upstreams while connecting to upstream, client: 194.135.33.53, server: _, request: “GET /dana-na HTTP/1.1”, upstream: “http://medic-api/dana-na”, host: “test-flourish.caremin.com”
2023/03/12 07:07:32 [error] 540#0: *13629 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 194.135.33.53, server: _, request: “GET /dana-na HTTP/1.1”, upstream: “http://medic-api/dana-na”, host: “test-flourish.caremin.com”
2023/03/12 07:07:33 [error] 540#0: *13632 no live upstreams while connecting to upstream, client: 205.185.115.12, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:33 [error] 540#0: *13632 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 205.185.115.12, server: _, request: “GET / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:34 [error] 540#0: *13634 no live upstreams while connecting to upstream, client: 194.135.33.98, server: _, request: “POST / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:34 [error] 540#0: *13634 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 194.135.33.98, server: _, request: “POST / HTTP/1.1”, upstream: “http://medic-api/”, host: “test-flourish.caremin.com”
2023/03/12 07:07:34 [error] 540#0: *13634 no live upstreams while connecting to upstream, client: 194.135.33.98, server: _, request: “CONNECT /CSCOSSLC/tunnel HTTP/1.1”, upstream: “http://medic-api/CSCOSSLC/tunnel”, host: “test-flourish.caremin.com”
2023/03/12 07:07:34 [error] 540#0: *13634 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 194.135.33.98, server: _, request: “CONNECT /CSCOSSLC/tunnel HTTP/1.1”, upstream: “http://medic-api/CSCOSSLC/tunnel”, host: “test-flourish.caremin.com”
2023/03/21 12:20:40 [crit] 543#0: *4108 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 34.201.216.58, server: 0.0.0.0:443
2023/04/07 18:04:34 [crit] 542#0: *53178 SSL_do_handshake() failed (SSL: error:14094085:SSL routines:ssl3_read_bytes:ccs received early) while SSL handshaking, client: 54.235.59.117, server:
2023/09/11 14:21:46 [alert] 545#0: *476088 write() to “/srv/storage/medic-core/nginx/data/logs/access.log” was incomplete: 310 of 451 while logging request, client: 18.141.75.76, server: _, request: “GET /medic-users-meta/_changes?since=262-g1AAAAJjeJyd0EsKwjAQBuBgBd26FdEi6FLamAdZ2ZtoJmkpperKtd5Eb6I30ZvUSVpwU4SWgX9gkvkIKQkh4zywZGLOF5NbSGIqNxFWXOLRQBNYVFVV5IFeHnEwokYaytK2hT8MhJiwa6SZl0Bojbe6SomT9o009ZKVoDKIukoHJ10bad68SaQZ5x2l0xCT3LAhdnda6DVluFZU9NIetfZ02sprTEnGY9pLe9Xa-6cZyZkF1Uv71Jr_t7XXUgFsK2zbXvEFNguf_g&limit=25 HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic-users-meta/_changes?since=262-g1AAAAJjeJyd0EsKwjAQBuBgBd26FdEi6FLamAdZ2ZtoJmkpperKtd5Eb6I30ZvUSVpwU4SWgX9gkvkIKQkh4zywZGLOF5NbSGIqNxFWXOLRQBNYVFVV5IFeHnEwokYaytK2hT8MhJiwa6SZl0Bojbe6SomT9o009ZKVoDKIukoHJ10bad68SaQZ5x2l0xCT3LAhdnda6DVluFZU9NIetfZ02sprTEnGY9pLe9Xa-6cZyZkF1Uv71Jr_t7XXUgFsK2zbXvEFNguf_g&limit=25”, host: “test-flourish.caremin.com”
2023/09/11 14:26:46 [error] 544#0: *476090 connect() failed (111: Connection refused) while connecting to upstream, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:26:46 [error] 544#0: *476090 connect() failed (111: Connection refused) while connecting to upstream, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:26:46 [error] 544#0: *476090 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:26:46 [alert] 544#0: *476090 write() to “/srv/storage/medic-core/nginx/data/logs/access.log” failed (28: No space left on device) while logging request, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:27:46 [error] 544#0: *476093 connect() failed (111: Connection refused) while connecting to upstream, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:27:46 [error] 544#0: *476093 connect() failed (111: Connection refused) while connecting to upstream, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:27:46 [error] 544#0: *476093 open() “/srv/storage/medic-core/nginx/data/html/50x.html” failed (2: No such file or directory), client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: “test-flourish.caremin.com”
2023/09/11 14:27:46 [alert] 544#0: *476093 write() to “/srv/storage/medic-core/nginx/data/logs/access.log” failed (28: No space left on device) while logging request, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: "test-flourish.caremiroot@ip-10-2-12-86:/srv/storage/medic-core/nginx/logs#
I tried also to push a simple update on the test-flourish.caremin.com using the medic-conf, and this is the error I got.
Given that this instance is not up and running, this is expected.
Looking at the logs, I’m seeing this part as concerning:
2023/09/11 14:27:46 [alert] 544#0: *476093 write() to “/srv/storage/medic-core/nginx/data/logs/access.log” failed (28: No space left on device) while logging request, client: 18.141.75.76, server: _, request: “GET /medic/ HTTP/1.1”, upstream: “http://127.0.0.1:5988/medic/”, host: "test-flourish.caremiroot@ip-10-2-12-86:/srv/storage/medic-core/nginx/logs#
It looks like you no longer have space on your device.
I’m not sure I can guide you here, as I’m not familiar at all with your setup. Has anyone else assisted you with technical challenges before that knows more?
@binod and I will be reaching out to you directly to support you to resolve this issue. Thanks @diana
Hi there @Marcelo_De_Guzman Pretty sure you are using EBS volume mounted to your instance. Here is an article that shows to extend an EBS volume. After that here is an article from AWS on how to extend a linux file system after increasing the EBS mounted to it.
I found this answer on StackOverflow that might help you as well to increase the size of the /dev/nvme1n1 volume.
Your AWS user might need the following permissions to do so (if not root user):
“ec2:DescribeInstances”,
“ec2:DescribeVolumes”,
“ec2:ModifyVolume”
Hi everyone,
Thanks for helping me.
It was now working.
I was increase the size of /dev/nvme1n1, then after than, I rebooted it and it was now working.
Thank you very much.