CHT shows 404 Not Found nginx/1.13.6

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?

1 Like

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.

Hi @Marcelo_De_Guzman

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?

@diana and @binod ,

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#

@binod / @diana

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.

Hi @Marcelo_De_Guzman

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.

HI @diana ,

So, my next step should be increase the storage size , maybe from AWS, right?

What steps do I need to increase the storage size of /dev/nvme1n1 ?

Thanks

Hi @Marcelo_De_Guzman

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?

Hi @Marcelo_De_Guzman,

@binod and I will be reaching out to you directly to support you to resolve this issue. Thanks @diana

1 Like

@Prajwol is also looking into this.

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”

2 Likes

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.

3 Likes