Closed JamesDAdams closed 2 years ago
Hello @JamesDAdams How are you running the container? The single command or using the compose file? And what OS are you on?
Hello @JamesDAdams How are you running the container? The single command or using the compose file? And what OS are you on?
The problem comme from my os Unraid, i don't have systemd in cgroup (and i can't add it)
The problem is earnapp uses systemd to install and keep the processes running the background. And the container must have access to the cgroup to be able to run the systemd (still isolated).
To bad for me :(
Thanks for the help
I have a workaround which is close sourced, and I am not willing to make it open source due to it's complications. I could help if you mail me or get in touch on discord (toothyraider201#4454).
I have issue to make it starts also, but I'm on a pure Linux box (Debian) Whatever if I use the commande docker run -d, after the container is visible but as exited. I try without -d to be interactive, but it just give me back control and same containers appears as exited. I try also compose (start hee first) but same, container just appears exited, no logs visible in portainer, nothing ...
any idea ?
@lunarok what version of debian are you on? Can you please confirm that you are on version 2 of cgroup?
And as the base image of the container is ubuntu and not plain debian, that might have been causing the issues. But I had tested the image on a RPI with the default os which is also debian. That seemed to work.
ok, so not matching debian. cgroup 2 look avalaible only in testing and unstable
ok, so not matching debian. cgroup 2 look avalaible only in testing and unstable
Well, You have the reason. However I'll have it in my todo list to add debian compatibility. I'll see what I can do.
Hello, first of all, thank you for your work. it looks like the problem is the same on synology. Running the container in elevated privileges will override the errors mentioned above. however another error occurs:
Failed to look up module alias 'autofs4': Function not implemented
systemd 245.4-4ubuntu3.13 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
Detected virtualization docker.
Detected architecture x86-64.
Welcome to Ubuntu 20.04.3 LTS!
Set hostname to
Hello, first of all, thank you for your work. it looks like the problem is the same on synology. Running the container in elevated privileges will override the errors mentioned above. however another error occurs:
Failed to look up module alias 'autofs4': Function not implemented systemd 245.4-4ubuntu3.13 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid) Detected virtualization docker. Detected architecture x86-64. Welcome to Ubuntu 20.04.3 LTS! Set hostname to . Cannot determine cgroup we are running in: No medium found Failed to allocate manager object: No medium found [!!!!!!] Failed to allocate manager object. Exiting PID 1...
@lolvince It's the same thing.. The cgroup issue, coz earnapp needs systemd to work. Ill workout a fix soon.
Will your fix make it unnecessary to run privileged? Would be really interesting because I don't want to run it privileged...
Will your fix make it unnecessary to run privileged? Would be really interesting because I don't want to run it privileged...
@pbertra Yep. The container doesn't need to run privileged as systemd isn't used.
@lunarok @pbertra @JamesDAdams @lolvince
You would be happy with this. Just so you know, it needs an existing UUID.
Make sure you use the tag lite
in the compose or the docker run
command
version: "3.3"
services:
app:
image: fazalfarhan01/earnapp:lite
volumes:
- ./etc:/etc/earnapp
environment:
EARNAPP_UUID: YOUR_NODE_ID_HERE
I just configured it, the docker is running fine for few minutes, not restarting. Logs look ok he has connect with success, will take a look later to confirm earnapp dashboard is showing money still coming :)
I just configured it, the docker is running fine for few minutes, not restarting. Logs look ok he has connect with success, will take a look later to confirm earnapp dashboard is showing money still coming :)
Cool. Let me know how it goes.
the lite version starts without crashing, on the other hand, it is indeed Earnapp which does not work correctly :( he cannot launch:
`Installing [?25l[36m⠋[39m Checking IP...[2K[1G[36m⠙[39m Checking IP...[2K[1G[36m⠹[39m Checking IP...[2K[1G[36m⠸[39m Checking IP...[2K[1G[36m⠼[39m Checking IP...earnapp start
Start making money in the background process
Options: --verbose Run with extra logs [boolean] --help Show help [boolean] --version Show version number [boolean]
Error: Request failed with status code 400 at createError (/usr/bin/node_modules/[4maxios[24m/lib/core/createError.js:16:15) at settle (/usr/bin/node_modules/[4maxios[24m/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/bin/node_modules/[4maxios[24m/lib/adapters/http.js:293:11) [90m at IncomingMessage.emit (events.js:327:22)[39m [90m at endReadableNT (internal/streams/readable.js:1327:12)[39m [90m at processTicksAndRejections (internal/process/task_queues.js:80:21)[39m { config: { transitional: { " silentJSONParsing: [33mtrue[39m," " forcedJSONParsing: [33mtrue[39m," clarifyTimeoutError: [33mfalse[39m " }," " adapter: [36m[Function: httpAdapter][39m," " transformRequest: [ [36m[Function: transformRequest][39m ]," " transformResponse: [ [36m[Function: transformResponse][39m ]," " timeout: [33m0[39m," " xsrfCookieName: [32m'XSRF-TOKEN'[39m," " xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m," " maxContentLength: [33m-1[39m," " maxBodyLength: [33m-1[39m," " validateStatus: [36m[Function: validateStatus][39m," headers: { " Accept: [32m'application/json, text/plain, /'[39m," [32m'User-Agent'[39m: [32m'axios/0.22.0'[39m " }," " method: [32m'get'[39m," " url: [32m'https://client.earnapp.com/is_ip_blocked'[39m," params: { " uuid: [32m''[39m," " version: [32m'1.269.378'[39m," " arch: [32m'x64'[39m," appid: [32m'node_earnapp.com'[39m " }," data: [90mundefined[39m " }," request: [36m<ref 1>[39m ClientRequest { _events: [Object: null prototype] { " socket: [36m[Function (anonymous)][39m," " abort: [36m[Function (anonymous)][39m," " aborted: [36m[Function (anonymous)][39m," " connect: [36m[Function (anonymous)][39m," " error: [36m[Function (anonymous)][39m," " timeout: [36m[Function (anonymous)][39m," prefinish: [36m[Function: requestOnPrefinish][39m " }," " _eventsCount: [33m7[39m," " _maxListeners: [90mundefined[39m," " outputData: []," " outputSize: [33m0[39m," " writable: [33mtrue[39m," " destroyed: [33mfalse[39m," " _last: [33mtrue[39m," " chunkedEncoding: [33mfalse[39m," " shouldKeepAlive: [33mfalse[39m," " _defaultKeepAlive: [33mtrue[39m," " useChunkedEncodingByDefault: [33mfalse[39m," " sendDate: [33mfalse[39m," " _removedConnection: [33mfalse[39m," " _removedContLen: [33mfalse[39m," " _removedTE: [33mfalse[39m," " _contentLength: [33m0[39m," " _hasBody: [33mtrue[39m," " _trailer: [32m''[39m," " finished: [33mtrue[39m," " _headerSent: [33mtrue[39m," socket: TLSSocket { " _tlsOptions: [36m[Object][39m," " _secureEstablished: [33mtrue[39m," " _securePending: [33mfalse[39m," " _newSessionPending: [33mfalse[39m," " _controlReleased: [33mtrue[39m," " secureConnecting: [33mfalse[39m," " _SNICallback: [1mnull[22m," " servername: [32m'client.earnapp.com'[39m," " alpnProtocol: [33mfalse[39m," " authorized: [33mtrue[39m," " authorizationError: [1mnull[22m," " encrypted: [33mtrue[39m," " _events: [36m[Object: null prototype][39m," " _eventsCount: [33m10[39m," " connecting: [33mfalse[39m," " _hadError: [33mfalse[39m," " _parent: [1mnull[22m," " _host: [32m'client.earnapp.com'[39m," " _readableState: [36m[ReadableState][39m," " _maxListeners: [90mundefined[39m," " _writableState: [36m[WritableState][39m," " allowHalfOpen: [33mfalse[39m," " _sockname: [1mnull[22m," " _pendingData: [1mnull[22m," " _pendingEncoding: [32m''[39m," " server: [90mundefined[39m," " _server: [1mnull[22m," " ssl: [36m[TLSWrap][39m," " _requestCert: [33mtrue[39m," " _rejectUnauthorized: [33mtrue[39m," " parser: [1mnull[22m," " _httpMessage: [36m[Circular 1][39m," " [[32mSymbol(res)[39m]: [36m[TLSWrap][39m," " [[32mSymbol(verified)[39m]: [33mtrue[39m," " [[32mSymbol(pendingSession)[39m]: [1mnull[22m," " [[32mSymbol(async_id_symbol)[39m]: [33m30[39m," " [[32mSymbol(kHandle)[39m]: [36m[TLSWrap][39m," " [[32mSymbol(kSetNoDelay)[39m]: [33mfalse[39m," " [[32mSymbol(lastWriteQueueSize)[39m]: [33m0[39m," " [[32mSymbol(timeout)[39m]: [1mnull[22m," " [[32mSymbol(kBuffer)[39m]: [1mnull[22m," " [[32mSymbol(kBufferCb)[39m]: [1mnull[22m," " [[32mSymbol(kBufferGen)[39m]: [1mnull[22m," " [[32mSymbol(kCapture)[39m]: [33mfalse[39m," " [[32mSymbol(kBytesRead)[39m]: [33m0[39m," " [[32mSymbol(kBytesWritten)[39m]: [33m0[39m," " [[32mSymbol(connect-options)[39m]: [36m[Object][39m,"
" }," _header: [32m'GET /is_ip_blocked?uuid=&version=1.269.378&arch=x64&appid=node_earnapp.com HTTP/1.1\r\n'[39m + " [32m'Accept: application/json, text/plain, /\r\n'[39m +" [32m'User-Agent: axios/0.22.0\r\n'[39m + [32m'Host: client.earnapp.com\r\n'[39m + [32m'Connection: close\r\n'[39m + " [32m'\r\n'[39m," " _keepAliveTimeout: [33m0[39m," " _onPendingData: [36m[Function: noopPendingOutput][39m," agent: Agent { " _events: [36m[Object: null prototype][39m," " _eventsCount: [33m2[39m," " _maxListeners: [90mundefined[39m," " defaultPort: [33m443[39m," " protocol: [32m'https:'[39m," " options: [36m[Object][39m," " requests: {}," " sockets: [36m[Object][39m," " freeSockets: {}," " keepAliveMsecs: [33m1000[39m," " keepAlive: [33mfalse[39m," " maxSockets: [33mInfinity[39m," " maxFreeSockets: [33m256[39m," " scheduling: [32m'fifo'[39m," " maxTotalSockets: [33mInfinity[39m," " totalSocketCount: [33m1[39m," " maxCachedSessions: [33m100[39m," " _sessionCache: [36m[Object][39m,"
" }," " socketPath: [90mundefined[39m," " method: [32m'GET'[39m," " maxHeaderSize: [90mundefined[39m," " insecureHTTPParser: [90mundefined[39m," " path: [32m'/is_ip_blocked?uuid=&version=1.269.378&arch=x64&appid=node_earnapp.com'[39m," " _ended: [33mtrue[39m," res: IncomingMessage { " _readableState: [36m[ReadableState][39m," " _events: [36m[Object: null prototype][39m," " _eventsCount: [33m3[39m," " _maxListeners: [90mundefined[39m," " socket: [36m[TLSSocket][39m," " httpVersionMajor: [33m1[39m," " httpVersionMinor: [33m1[39m," " httpVersion: [32m'1.1'[39m," " complete: [33mtrue[39m," " headers: [36m[Object][39m," " rawHeaders: [36m[Array][39m," " trailers: {}," " rawTrailers: []," " aborted: [33mfalse[39m," " upgrade: [33mfalse[39m," " url: [32m''[39m," " method: [1mnull[22m," " statusCode: [33m400[39m," " statusMessage: [32m'Bad Request'[39m," " client: [36m[TLSSocket][39m," " _consuming: [33mfalse[39m," " _dumped: [33mfalse[39m," " req: [36m[Circular *1][39m," " responseUrl: [32m'https://client.earnapp.com/is_ip_blocked?uuid=&version=1.269.378&arch=x64&appid=node_earnapp.com'[39m," " redirects: []," " [[32mSymbol(kCapture)[39m]: [33mfalse[39m,"
" }," " aborted: [33mfalse[39m," " timeoutCb: [1mnull[22m," " upgradeOrConnect: [33mfalse[39m," " parser: [1mnull[22m," " maxHeadersCount: [1mnull[22m," " reusedSocket: [33mfalse[39m," " host: [32m'client.earnapp.com'[39m," " protocol: [32m'https:'[39m," _redirectable: Writable { " _writableState: [36m[WritableState][39m," " _events: [36m[Object: null prototype][39m," " _eventsCount: [33m2[39m," " _maxListeners: [90mundefined[39m," " _options: [36m[Object][39m," " _ended: [33mtrue[39m," " _ending: [33mtrue[39m," " _redirectCount: [33m0[39m," " _redirects: []," " _requestBodyLength: [33m0[39m," " _requestBodyBuffers: []," " _onNativeResponse: [36m[Function (anonymous)][39m," " _currentRequest: [36m[Circular *1][39m," " _currentUrl: [32m'https://client.earnapp.com/is_ip_blocked?uuid=&version=1.269.378&arch=x64&appid=node_earnapp.com'[39m,"
" }," " [[32mSymbol(kCapture)[39m]: [33mfalse[39m," " [[32mSymbol(kNeedDrain)[39m]: [33mfalse[39m," " [[32mSymbol(corked)[39m]: [33m0[39m," [[32mSymbol(kOutHeaders)[39m]: [Object: null prototype] { " accept: [36m[Array][39m," " [32m'user-agent'[39m: [36m[Array][39m," host: [36m[Array][39m } " }," response: { " status: [33m400[39m," " statusText: [32m'Bad Request'[39m," headers: { " server: [32m'nginx'[39m," " date: [32m'Fri, 17 Dec 2021 08:59:06 GMT'[39m," " [32m'content-type'[39m: [32m'text/html; charset=utf-8'[39m," " [32m'content-length'[39m: [32m'17'[39m," " connection: [32m'close'[39m," " [32m'cache-control'[39m: [32m'private,no-store'[39m" " }," config: { " transitional: [36m[Object][39m," " adapter: [36m[Function: httpAdapter][39m," " transformRequest: [36m[Array][39m," " transformResponse: [36m[Array][39m," " timeout: [33m0[39m," " xsrfCookieName: [32m'XSRF-TOKEN'[39m," " xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m," " maxContentLength: [33m-1[39m," " maxBodyLength: [33m-1[39m," " validateStatus: [36m[Function: validateStatus][39m," " headers: [36m[Object][39m," " method: [32m'get'[39m," " url: [32m'https://client.earnapp.com/is_ip_blocked'[39m," " params: [36m[Object][39m," data: [90mundefined[39m " }," request: [36m<ref 1>[39m ClientRequest { " _events: [36m[Object: null prototype][39m," " _eventsCount: [33m7[39m," " _maxListeners: [90mundefined[39m," " outputData: []," " outputSize: [33m0[39m," " writable: [33mtrue[39m," " destroyed: [33mfalse[39m," " _last: [33mtrue[39m," " chunkedEncoding: [33mfalse[39m," " shouldKeepAlive: [33mfalse[39m," " _defaultKeepAlive: [33mtrue[39m," " useChunkedEncodingByDefault: [33mfalse[39m," " sendDate: [33mfalse[39m," " _removedConnection: [33mfalse[39m," " _removedContLen: [33mfalse[39m," " _removedTE: [33mfalse[39m," " _contentLength: [33m0[39m," " _hasBody: [33mtrue[39m," " _trailer: [32m''[39m," " finished: [33mtrue[39m," " _headerSent: [33mtrue[39m," " socket: [36m[TLSSocket][39m," _header: [32m'GET /is_ip_blocked?uuid=&version=1.269.378&arch=x64&appid=node_earnapp.com HTTP/1.1\r\n'[39m + " [32m'Accept: application/json, text/plain, /*\r\n'[39m +" [32m'User-Agent: axios/0.22.0\r\n'[39m + [32m'Host: client.earnapp.com\r\n'[39m + [32m'Connection: close\r\n'[39m + " [32m'\r\n'[39m," " _keepAliveTimeout: [33m0[39m," " _onPendingData: [36m[Function: noopPendingOutput][39m," " agent: [36m[Agent][39m," " socketPath: [90mundefined[39m," " method: [32m'GET'[39m," " maxHeaderSize: [90mundefined[39m," " insecureHTTPParser: [90mundefined[39m," " path: [32m'/is_ip_blocked?uuid=&version=1.269.378&arch=x64&appid=node_earnapp.com'[39m," " _ended: [33mtrue[39m," " res: [36m[IncomingMessage][39m," " aborted: [33mfalse[39m," " timeoutCb: [1mnull[22m," " upgradeOrConnect: [33mfalse[39m," " parser: [1mnull[22m," " maxHeadersCount: [1mnull[22m," " reusedSocket: [33mfalse[39m," " host: [32m'client.earnapp.com'[39m," " protocol: [32m'https:'[39m," " _redirectable: [36m[Writable][39m," " [[32mSymbol(kCapture)[39m]: [33mfalse[39m," " [[32mSymbol(kNeedDrain)[39m]: [33mfalse[39m," " [[32mSymbol(corked)[39m]: [33m0[39m," [[32mSymbol(kOutHeaders)[39m]: [36m[Object: null prototype][39m " }," data: [32m'Invalid arguments'[39m " }," " isAxiosError: [33mtrue[39m," toJSON: [36m[Function: toJSON][39m } [?25h2021-12-17 08:59:08.447 NOTICE: running PID: 23 2021-12-17 08:59:08.467 ERR: perr 05_svc_init {} 2021-12-17 08:59:08.492 NOTICE: perr lum_sdk_node_05_svc_init proxy 2021-12-17 08:59:08.615 ERR: perr init {} 2021-12-17 08:59:08.620 NOTICE: perr lum_sdk_node_init proxy 2021-12-17 08:59:08.634 NOTICE: idle_state_monitor run 2021-12-17 08:59:08.669 ERR: perr 10_show_dialog {} 2021-12-17 08:59:08.674 NOTICE: perr lum_sdk_node_10_show_dialog proxy 2021-12-17 08:59:08.684 ERR: perr display {} 2021-12-17 08:59:08.688 NOTICE: perr lum_sdk_node_display proxy 2021-12-17 08:59:08.699 NOTICE: run: E.update_consent(true) 2021-12-17 08:59:08.700 ERR: perr 15_choose_peer {} 2021-12-17 08:59:08.706 NOTICE: perr lum_sdk_node_15_choose_peer proxy 2021-12-17 08:59:08.715 ERR: perr opt_in 2021-12-17 08:59:08.718 NOTICE: perr lum_sdk_node_opt_in proxy 2021-12-17 08:59:09.072 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_init&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 08:59:09.076 ERR: perr perr_direct_success {} 2021-12-17 08:59:09.081 NOTICE: perr lum_sdk_node_perr_direct_success proxy 2021-12-17 08:59:09.105 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_opt_in&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 08:59:09.111 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_10_show_dialog&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 08:59:09.119 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_05_svc_init&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 08:59:09.126 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_15_choose_peer&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 08:59:09.134 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_display&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 08:59:09.415 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_perr_direct_success&appid=node_earnapp.com&ver=1.269.378&ver_sdk=1.269.378 res 200 2021-12-17 09:00:09.653 NOTICE: idle_state_monitor run 2021-12-17 09:01:10.660 NOTICE: idle_state_monitor run 2021-12-17 09:02:11.666 NOTICE: idle_state_monitor run`
@lolvince I experienced similar issue last night which was fixed by today morning. You might want to try running it again.
unfortunately the problem persists: /
same error as lolvince :/
Working on synology
no solution found for me: / can be a link with https certificate errors?
Hi, same 400 bad request issue here, did you find a solution?
Hi :) Thanks for the work dude :)
I'm looking at the docker-compose part and I don't know what I have to put in that line :
EARNAPP_UUID: YOUR_NODE_ID_HERE YOUR_NODE_ID_HERE : is it an existing node id like sdk-node-XXXXXX or the mail address of my earnapp account ?
My other quesion is : can I have several instance running at the same time ? If I can, can use the same ID in every container ?
Thank you for your answer.
Regards <3
Hi :) Thanks for the work dude :)
Your welcome 😄
I'm looking at the docker-compose part and I don't know what I have to put in that line :
EARNAPP_UUID: YOUR_NODE_ID_HERE YOUR_NODE_ID_HERE : is it an existing node id like sdk-node-XXXXXX or the mail address of my earnapp account ?
It's the existing UUID, the sdk-node-xxxx
thing.
My other quesion is : can I have several instance running at the same time ? If I can, can use the same ID in every container ?
Same UUID? Nope. A unique one on every container.? Yep. But running it on the same public IP doesn't make any difference.
Hi,
First good job with that work!
I try to add the docker with my portainer. First the original version to get the UUID then the lite.
But I can't get my UUID with the command, I got this error OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "showid": executable file not found in $PATH: unknown
And if I use the lite version, I don't kown which EARNAPP_UUID using.
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "showid": executable file not found in $PATH: unknown
What was the command you run?
If you are running in the non compose way docker container exec earnapp earnapp showid
should do it.
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "showid": executable file not found in $PATH: unknown
What was the command you run? If you are running in the non compose way
docker container exec earnapp earnapp showid
should do it.
It's perfect The command was docker exec -it earnapp showid
It's perfect The command was docker exec -it earnapp showid
Cool.. glad it helped.. 😄
Hi! I was going to make a picture and I came across yours, perfect :) However I can't make the connection with my dashbord. I have the UUID. would you have an idea?
@Midsnipee Hey, do you have any specific error when linking the UUID to the dashboard?
@Midsnipee Hey, do you have any specific error when linking the UUID to the dashboard?
nop ! just Error while linking device The device is not found in earnapp dashbord
no error in container log ! i have traffic like 2022-01-27 14:25:32.579 NOTICE: cmd_tun 54.192.87.174:443 so everything work
@Midsnipee Hey, do you have any specific error when linking the UUID to the dashboard?
nop ! just Error while linking device The device is not found in earnapp dashbord
@Midsnipee you might want to try deleting the existing UUID and create a new one and link it. (If it's not done already)
@Midsnipee Hey, do you have any specific error when linking the UUID to the dashboard?
nop ! just Error while linking device The device is not found in earnapp dashbord
@Midsnipee you might want to try deleting the existing UUID and create a new one and link it. (If it's not done already)
Ok do you know the command for that ?
Ok do you know the command for that ?
You'll just have to recreate the container.
If you are using the non compose method, just stop the container and detele the $HOME/earnapp-data
directory.
If using the compose method. Stop the container, then delete the etc
directory within the compose folder.
i don't know how the container can link with earnapp when we give the uuid . i try an install on ubuntu and that the install wich generate an id like sdk-node-ce2e48cbxxxxxxxxxxxxxxxxxxxxxxxx
sorry i have a bad english
opk i find ma solution ty for your help
Hi, i get the SDK-Node name but when entering into the earnapp dashboard - brings up device not found :( I would very much appreciate your help. Cheers
Hi, i get the SDK-Node name but when entering into the earnapp dashboard - brings up device not found :( I would very much appreciate your help. Cheers
Happens sometimes.. Get a new UUID and try linking that..
Hello @fazalfarhan01 , I have an issue with the earnapp container. Everytime I restart the container, it generates another UUID. Do you have any idea how to fix this?
Hello @fazalfarhan01 , I have an issue with the earnapp container. Everytime I restart the container, it generates another UUID. Do you have any idea how to fix this?
Hi @roland681, a simple fix to that is mounting a volume to /etc/earnapp directory. Details for the same are in the repo Readme.
I followed this: And now i have these 2: That means i just have to simply run the last one first and after that the one from the top?
Found out that you have to run the second container highlighted (with arrows) in the image above, after that you can run the first one. In this case, your node will be recognized and it works as expected.
i deploy a container as written in https://github.com/fazalfarhan01/EarnApp-Docker but 4 hours after i run the container i can not add it to main dashboard on trying to add a node to account i receive : Error while linking device, The device is no found. i try to redeploy and recreate it, but no success. same result. i run first latest image, in log of the container appear only
No log line matching the '' filter
from container shell i obtained the UUID. then delete first container and redeploy it with lite image. then i get this in log of the container
2022-10-20 19:58:54.299 ERR: perr 21_svc_tun_ready {}
2022-10-20 19:58:54.299 ERR: perr tun_ready {}
2022-10-20 19:58:54.300 NOTICE: client_connect start [192.168.3.16]->192.248.190.187:443 192-248-190-187.luminatinet.com)
2022-10-20 19:58:54.300 NOTICE: agent WS: connecting to wss://192.248.190.187:443
2022-10-20 19:58:54.302 ERR: perr 21_svc_tun_ready {}
2022-10-20 19:58:54.302 ERR: perr tun_ready {}
2022-10-20 19:58:54.302 NOTICE: client_connect start [192.168.3.16]->45.76.11.99:443 (45-76-11-99.luminatinet.com)
2022-10-20 19:58:54.302 NOTICE: agent WS: connecting to wss://45.76.11.99:443
2022-10-20 19:58:54.303 ERR: perr 21_svc_tun_ready {}
2022-10-20 19:58:54.303 ERR: perr tun_ready {}
2022-10-20 19:58:54.304 NOTICE: client_connect start [192.168.3.16]->78.141.214.235:443 (78-141-214-235.luminatinet.com)
2022-10-20 19:58:54.304 NOTICE: agent WS: connecting to wss://78.141.214.235:443
2022-10-20 19:58:54.509 NOTICE: agent WS: upgrade conn
2022-10-20 19:58:54.509 NOTICE: agent WS (192.248.190.187): connected
2022-10-20 19:58:54.510 NOTICE: client_connect established [192.168.3.16]->192.248.190.187:443 (192-248-190-187.luminatinet.com)
2022-10-20 19:58:54.510 ERR: perr tun_init_success {"servername":"192-248-190-187.luminatinet.com"}
2022-10-20 19:58:54.510 NOTICE: detected interface eth0 for 192.168.3.16
2022-10-20 19:58:54.510 NOTICE: js peer init from 192.168.3.16 eth0 unknown
2022-10-20 19:58:54.525 NOTICE: agent WS: upgrade conn
2022-10-20 19:58:54.525 NOTICE: agent WS (78.141.214.235): connected
2022-10-20 19:58:54.526 NOTICE: client_connect established [192.168.3.16]->78.141.214.235:443 (78-141-214-235.luminatinet.com)
2022-10-20 19:58:54.526 ERR: perr tun_init_success {"servername":"78-141-214-235.luminatinet.com"}
2022-10-20 19:58:54.526 NOTICE: detected interface eth0 for 192.168.3.16
2022-10-20 19:58:54.526 NOTICE: js peer init from 192.168.3.16 eth0 unknown
2022-10-20 19:58:54.565 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":89.85,"mem_usage_ts":1666295933226,"cpu_usage":8.49,"cpu_usage_ts":1666295934206},"bw":{}}
2022-10-20 19:58:54.784 NOTICE: agent WS: upgrade conn
2022-10-20 19:58:54.785 NOTICE: agent WS (45.76.11.99): connected
2022-10-20 19:58:54.785 NOTICE: client_connect established [192.168.3.16]->45.76.11.99:443 (45-76-11-99.luminatinet.com)
2022-10-20 19:58:54.785 ERR: perr tun_init_success {"servername":"45-76-11-99.luminatinet.com"}
2022-10-20 19:58:54.787 NOTICE: detected interface eth0 for 192.168.3.16
2022-10-20 19:58:54.787 NOTICE: js peer init from 192.168.3.16 eth0 unknown
2022-10-20 19:58:54.906 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":89.85,"mem_usage_ts":1666295933226,"cpu_usage":8.49,"cpu_usage_ts":1666295934206},"bw":{}}
2022-10-20 19:58:59.316 ERR: perr 21_svc_tun_start {}
2022-10-20 19:58:59.316 ERR: perr tun_start {}
2022-10-20 19:58:59.316 NOTICE: cmd_tun 192.248.190.187:443
2022-10-20 19:58:59.362 ERR: perr 22_svc_tun_1b {}
2022-10-20 19:58:59.362 ERR: perr tun_1b {}
2022-10-20 19:59:02.008 NOTICE: cmd_tun_close 1
2022-10-20 19:59:09.426 WARN: agent WS (192.248.190.187): zfin_pending: 1-timeout
2022-10-20 19:59:54.030 ERR: perr heartbeat_proxy_js_conn_00_1min {}
2022-10-20 19:59:54.031 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_00_1min proxy
2022-10-20 19:59:54.206 NOTICE: idle_state_monitor run
2022-10-20 20:00:54.438 ERR: perr heartbeat_proxy_js_conn_01_2min {}
2022-10-20 20:00:54.438 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_01_2min proxy
2022-10-20 20:00:55.250 NOTICE: idle_state_monitor run
and again i receive that message when try to add that node to my account : Error while linking device, The device is no found. any ideas ?
i deploy a container as written in https://github.com/fazalfarhan01/EarnApp-Docker but 4 hours after i run the container i can not add it to main dashboard on trying to add a node to account i receive : Error while linking device, The device is no found. i try to redeploy and recreate it, but no success. same result. i run first latest image, in log of the container appear only
No log line matching the '' filter
from container shell i obtained the UUID. then delete first container and redeploy it with lite image. then i get this in log of the container
2022-10-20 19:58:54.299 ERR: perr 21_svc_tun_ready {} 2022-10-20 19:58:54.299 ERR: perr tun_ready {} 2022-10-20 19:58:54.300 NOTICE: client_connect start [192.168.3.16]->192.248.190.187:443 192-248-190-187.luminatinet.com) 2022-10-20 19:58:54.300 NOTICE: agent WS: connecting to wss://192.248.190.187:443 2022-10-20 19:58:54.302 ERR: perr 21_svc_tun_ready {} 2022-10-20 19:58:54.302 ERR: perr tun_ready {} 2022-10-20 19:58:54.302 NOTICE: client_connect start [192.168.3.16]->45.76.11.99:443 (45-76-11-99.luminatinet.com) 2022-10-20 19:58:54.302 NOTICE: agent WS: connecting to wss://45.76.11.99:443 2022-10-20 19:58:54.303 ERR: perr 21_svc_tun_ready {} 2022-10-20 19:58:54.303 ERR: perr tun_ready {} 2022-10-20 19:58:54.304 NOTICE: client_connect start [192.168.3.16]->78.141.214.235:443 (78-141-214-235.luminatinet.com) 2022-10-20 19:58:54.304 NOTICE: agent WS: connecting to wss://78.141.214.235:443 2022-10-20 19:58:54.509 NOTICE: agent WS: upgrade conn 2022-10-20 19:58:54.509 NOTICE: agent WS (192.248.190.187): connected 2022-10-20 19:58:54.510 NOTICE: client_connect established [192.168.3.16]->192.248.190.187:443 (192-248-190-187.luminatinet.com) 2022-10-20 19:58:54.510 ERR: perr tun_init_success {"servername":"192-248-190-187.luminatinet.com"} 2022-10-20 19:58:54.510 NOTICE: detected interface eth0 for 192.168.3.16 2022-10-20 19:58:54.510 NOTICE: js peer init from 192.168.3.16 eth0 unknown 2022-10-20 19:58:54.525 NOTICE: agent WS: upgrade conn 2022-10-20 19:58:54.525 NOTICE: agent WS (78.141.214.235): connected 2022-10-20 19:58:54.526 NOTICE: client_connect established [192.168.3.16]->78.141.214.235:443 (78-141-214-235.luminatinet.com) 2022-10-20 19:58:54.526 ERR: perr tun_init_success {"servername":"78-141-214-235.luminatinet.com"} 2022-10-20 19:58:54.526 NOTICE: detected interface eth0 for 192.168.3.16 2022-10-20 19:58:54.526 NOTICE: js peer init from 192.168.3.16 eth0 unknown 2022-10-20 19:58:54.565 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":89.85,"mem_usage_ts":1666295933226,"cpu_usage":8.49,"cpu_usage_ts":1666295934206},"bw":{}} 2022-10-20 19:58:54.784 NOTICE: agent WS: upgrade conn 2022-10-20 19:58:54.785 NOTICE: agent WS (45.76.11.99): connected 2022-10-20 19:58:54.785 NOTICE: client_connect established [192.168.3.16]->45.76.11.99:443 (45-76-11-99.luminatinet.com) 2022-10-20 19:58:54.785 ERR: perr tun_init_success {"servername":"45-76-11-99.luminatinet.com"} 2022-10-20 19:58:54.787 NOTICE: detected interface eth0 for 192.168.3.16 2022-10-20 19:58:54.787 NOTICE: js peer init from 192.168.3.16 eth0 unknown 2022-10-20 19:58:54.906 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":89.85,"mem_usage_ts":1666295933226,"cpu_usage":8.49,"cpu_usage_ts":1666295934206},"bw":{}} 2022-10-20 19:58:59.316 ERR: perr 21_svc_tun_start {} 2022-10-20 19:58:59.316 ERR: perr tun_start {} 2022-10-20 19:58:59.316 NOTICE: cmd_tun 192.248.190.187:443 2022-10-20 19:58:59.362 ERR: perr 22_svc_tun_1b {} 2022-10-20 19:58:59.362 ERR: perr tun_1b {} 2022-10-20 19:59:02.008 NOTICE: cmd_tun_close 1 2022-10-20 19:59:09.426 WARN: agent WS (192.248.190.187): zfin_pending: 1-timeout 2022-10-20 19:59:54.030 ERR: perr heartbeat_proxy_js_conn_00_1min {} 2022-10-20 19:59:54.031 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_00_1min proxy 2022-10-20 19:59:54.206 NOTICE: idle_state_monitor run 2022-10-20 20:00:54.438 ERR: perr heartbeat_proxy_js_conn_01_2min {} 2022-10-20 20:00:54.438 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_01_2min proxy 2022-10-20 20:00:55.250 NOTICE: idle_state_monitor run
and again i receive that message when try to add that node to my account : Error while linking device, The device is no found. any ideas ?
You have to have an existing UUID. It's mentioned in the replies above, and you can find a video tutorial here: https://www.youtube.com/watch?v=tt499o0OjGU&t=300s&ab_channel=NetworkBitsCrypto
Hi, for the Lite version, I found a solution to generate an UUID without any installation.
You've just to go here : https://www.uuidgenerator.net/version4 Generate an UUID v4 and remove the "-" symbols.
On docker, put the variable EARNAPP_UUID = sdk-node-YOURGENERATEDUUIDV4
When your container is on, go to https://earnapp.com/dashboard?link_device=sdk-node-YOURGENERATEDUUIDV4 to add your new device
Hi, this image doesn't work
i have this error :