-
I'm going to investigate redsocks
in the meantime the only error remaining has to do with collectd, the service appears to be running fine
but the graphie containers freaks out as if graphite had never been initialized┐ │ │ │ WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x55988453aa90 pid: 19 (default app) │ │ *** uWSGI is running in multiple interpreter mode *** │ │ spawned uWSGI master process (pid: 19) │ │ spawned uWSGI worker 1 (pid: 26, cores: 1) │ │ spawned uWSGI worker 2 (pid: 27, cores: 1) │ │ 2024-04-02 09:38:27,960 INFO success: uwsgi entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) │ │ 2024-04-02 09:38:27,960 INFO success: carbon-cache entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) │ │ 2024-04-02 09:38:27,963 INFO spawned: 'whisper-cleanup' with pid 28 │ │ Cleanup old whisper databases... │ │ find: ‘/var/lib/graphite/whisper/collectd/localhost/’: No such file or directory │ │ 2024-04-02 09:38:27,978 INFO exited: whisper-cleanup (exit status 1; not expected) │ │ 2024-04-02 09:38:29,984 INFO spawned: 'whisper-cleanup' with pid 30 │ │ Cleanup old whisper databases... │ │ find: ‘/var/lib/graphite/whisper/collectd/localhost/’: No such file or directory │ │ 2024-04-02 09:38:30,000 INFO exited: whisper-cleanup (exit status 1; not expected) │ │ 2024-04-02 09:38:33,007 INFO spawned: 'whisper-cleanup' with pid 32 │ │ Cleanup old whisper databases... │ │ find: ‘/var/lib/graphite/whisper/collectd/localhost/’: No such file or directory │ │ 2024-04-02 09:38:33,022 INFO exited: whisper-cleanup (exit status 1; not expected) │ │ 2024-04-02 09:38:34,023 INFO gave up: whisper-cleanup entered FATAL state, too many start retries too quickly
-
@rmdes you
docker stop graphite
,rm -rf /home/yellowtent/platformdata/graphite/*
and thendocker start graphite
. -
Hmm redsocks is difficult, I need more time to analyze which local IP I have to configure so that requets are temporarily routed to it
2024/04/02 14:44:39 [error] 88905#88905: *1350 upstream prematurely closed connection while reading response header from upstream, client: 10.200.3.157, server: my.c loudron.***.****.***, request: "POST /api/v1/appstore/register_cloudron_with_setup_token HTTP/2.0", upstream: "http://127.0.0.1:3000/api/v1/appstore/register_cloudro n_with_setup_token", host: "my.cloudron.***.****.***", referrer: "https://my.cloudron.***.****.***/" 2024/04/02 14:44:39 [error] 88905#88905: *1350 connect() failed (111: Unknown error) while connecting to upstream, client: 10.200.3.157, server: my.cloudron..***.****.***, request: "GET /api/v1/cloudron/status HTTP/2.0", upstream: "http://127.0.0.1:3000/api/v1/cloudron/status", host: "my.cloudron.***.****.***", referrer: "https:/ /my.cloudron.***.****.***/"
i'm wondering if there is a curl command I could do to register this token and then a file I could edit with the token
-
@rmdes no, we have to write code to make box code work with a http proxy. node.js does not support it out of the box. npm has written special code to make this work.
-
-
Indeed I'm aware of this, my goal was more the access to app-store and smooth app upgrades and of course : Active Directory support to enable easy SSO in my context.
And because we have our self-signed certificate deployed across our entire Windows Desktop park, I was thinking that would have been enough to sign my "cloudron.intranet.domain" with our root certificate and then enable anyone in the IT dept to access a set of applications.