Closed AryanJ-NYC closed 3 years ago
Hi @AryanJ-NYC. Could you provide me with more details?
Where are you trying to run this? Is it against minikube? Or on a cloud environment?
Also, please post the output of kubectl logs lnd-export-secrets
If you just want to give it a try on your local machine, I suggest trying out these instructions. This should give you a regtest mode deployment on your minikube.
I am trying to run this locally (in order to get the mobile repository running).
The output of kubectl logs lnd-export-secrets
:
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
[lncli] could not load global options: unable to read macaroon path (check the network setting!): open /data/.lnd/data/chain/bitcoin/mainnet/admin.macaroon: no such file or directory
command terminated with exit code 1
secret/lnd-pubkey configured
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
base64: ./tls.cert: No such file or directory
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
tar: /data/.lnd/data/chain/bitcoin/mainnet/admin.macaroon: No such file or directory
tar: error exit delayed from previous errors
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
tar: /data/.lnd/data/chain/bitcoin/mainnet/readonly.macaroon: No such file or directory
tar: error exit delayed from previous errors
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
tar: /data/.lnd/data/chain/bitcoin/mainnet/chainnotifier.macaroon: No such file or directory
tar: error exit delayed from previous errors
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
tar: /data/.lnd/data/chain/bitcoin/mainnet/walletkit.macaroon: No such file or directory
tar: error exit delayed from previous errors
Defaulted container "lnd" out of: lnd, copy-lnd-config (init)
tar: /data/.lnd/data/chain/bitcoin/mainnet/router.macaroon: No such file or directory
tar: error exit delayed from previous errors
base64: ./macaroon/admin.macaroon: No such file or directory
error: error reading ./tls.cert: no such file or directory
error: no objects passed to apply
After running yarn add-charts
, I get the following error log:
...
Deleting outdated charts
/Users/aryanjabbari/Documents/projects/galoy-money/galoy
Saving 3 charts
Downloading grafana from repo https://grafana.github.io/helm-charts
Downloading prometheus from repo https://prometheus-community.github.io/helm-charts
Downloading prometheus-blackbox-exporter from repo https://prometheus-community.github.io/helm-charts
Deleting outdated charts
/Users/aryanjabbari/Documents/projects/galoy-money/galoy
error Command failed with exit code 85.
Update: Disregard. Wasn't running minikube. 🤦♂️: The installation instructions work well. Nice update. Thanks!
So I was able to run yarn start
. Am getting missing lnd environment variables.
Error: missing environment variable for lnd
at getAuth (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/lndConfig.js:13:15)
at Object.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/lndConfig.js:18:48)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Module.require (internal/modules/cjs/loader.js:964:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/entrypoint/graphql.js:27:21)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
{
cert: '',
macaroon: 'mymacaroon',
lndip: '192.168.49.2',
port: ''
}
Do you have an example of what .env
should look like? Perhaps a .env.example
file could help that we can use as an example?
So I was able to run
yarn start
. Am getting missing lnd environment variables.Error: missing environment variable for lnd at getAuth (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/lndConfig.js:13:15) at Object.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/lndConfig.js:18:48) at Module._compile (internal/modules/cjs/loader.js:1075:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10) at Module.load (internal/modules/cjs/loader.js:940:32) at Function.Module._load (internal/modules/cjs/loader.js:781:14) at Module.require (internal/modules/cjs/loader.js:964:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/entrypoint/graphql.js:27:21) at Module._compile (internal/modules/cjs/loader.js:1075:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10) at Module.load (internal/modules/cjs/loader.js:940:32) at Function.Module._load (internal/modules/cjs/loader.js:781:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { cert: '', macaroon: 'mymacaroon', lndip: '192.168.49.2', port: '' }
Do you have an example of what
.env
should look like? Perhaps a.env.example
file could help that we can use as an example?
Note that we don't use any sort of .env file. All the env vars come from the exportLocal.sh
file. It looks like the script is unable to export the correct variables in your case. If you're running in regtest/testnet mode, post the output of kubectl get secret lnd-credentials -o yaml
.
Also, are you using a mac? There's an issue with grep
mentioned in the installation instructions that you might wanna follow if that's the case.
I've installed grep
.
Here's the output of kubectl get secret lnd-credentials -o yaml
:
apiVersion: v1
data:
admin.macaroon: AgEDbG5kAvgBAwoQhSa+yllaOngyCU7aoL4xyRIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYgjBSLb5FjRV6oyTqRZV/El/buvKr6w6NPfXGhlqpKSdY=
admin_macaroon_base64: QWdFRGJHNWtBdmdCQXdvUWhTYSt5bGxhT25neUNVN2FvTDR4eVJJQk1Cb1d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5TMnROUWsxSFFURlZaRXBSVVUxTlFXOUhRME56UjBGUlZVWkNkMDFDVFVFNFIwRXhWV1JGZDBWQ0wzZFJSazFCVFVKQlpqaDNTRkZaUkZaU01FOEtRa0paUlVaSWJXRlJka3RzY3pCd05YZENiRXhUVGtOa01WaFBWWGhUZEZwTlNVZERRbWRPVmtoU1JVVmxla0kxWjJkV2MySnRVWFJOU1VsS1lrYzVhZ3BaVjNodllqTk9NR2RuVG5OaWJWTkRSRmQ0ZFZwRE1YWmtXRko2WVZkU2JFeFVSME5FVjNoMVdrTXhkbVJZVW5waFYxSnNURlJMUTBFeWVIVmFTVWxGQ21SWE5YQmxTVWxMWkZjMWNHVklRbWhaTW5Sc1pFbEpTRmx1Vm0xWk1qbDFZbTlqUldaM1FVRkJXV05SUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVFS1FWbGpSWEpDUlVGQ1NXTkZkMHRuZUVGcVFVdENaMmR4YUd0cVQxQlJVVVJCWjA1SlFVUkNSa0ZwUVVGeGNXeEpLelVyV0RKRVNuWlpSRVJ1UzFnelRRb3lSalowTldKTVQySktUbGRoZDBaNlZFeFRPVmhCU1doQlMyTjNWWGRtV2tFMmVVeFJaVEZrYUZCeVRtUllhR1ZuYzI5T2RGWlhTbkpMYXprM2RHNXdDbkpTT1ZZS0xTMHRMUzFGVGtRZ1EwVlNWRWxHU1VOQlZFVXRMUzB0TFFvPQ==
walletkit.macaroon: AgEDbG5kAkYDChCGJr7KWVo6eDIJTtqgvjHJEgEwGhYKB2FkZHJlc3MSBHJlYWQSBXdyaXRlGhYKB29uY2hhaW4SBHJlYWQSBXdyaXRlAAAGIA8XwY+MEmare0bRDNV8vb2unr8SZJlowmqnIhRFesun
kind: Secret
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","data":{"admin.macaroon":"AgEDbG5kAvgBAwoQhSa+yllaOngyCU7aoL4xyRIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoT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ZuYzI5T2RGWlhTbkpMYXprM2RHNXdDbkpTT1ZZS0xTMHRMUzFGVGtRZ1EwVlNWRWxHU1VOQlZFVXRMUzB0TFFvPQ==","walletkit.macaroon":"AgEDbG5kAkYDChCGJr7KWVo6eDIJTtqgvjHJEgEwGhYKB2FkZHJlc3MSBHJlYWQSBXdyaXRlGhYKB29uY2hhaW4SBHJlYWQSBXdyaXRlAAAGIA8XwY+MEmare0bRDNV8vb2unr8SZJlowmqnIhRFesun"},"kind":"Secret","metadata":{"annotations":{},"creationTimestamp":null,"name":"lnd-credentials","namespace":"default"}}
creationTimestamp: "2021-06-14T14:53:15Z"
name: lnd-credentials
namespace: default
resourceVersion: "669"
uid: 4e37dc7e-f717-4a4f-9c33-f10e56d9937b
type: Opaque
I got the following error after running yarn add-charts
:
executing upgrade: helm upgrade -i -n=default lnd-outside-2 --version=1.2.5 -f ./charts/configs/lnd/regtest.yaml -f ./charts/configs/lnd/localdev-outside.yaml --set service.staticIP=192.168.49.2 galoy/lnd
Release "lnd-outside-2" does not exist. Installing it now.
W0617 16:08:22.202067 27578 reflector.go:436] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: watch of *unstructured.Unstructured ended with: very short watch: k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Unexpected watch close - watch lasted less than a second and no items received
I0617 16:08:33.913635 27578 trace.go:205] Trace[827538762]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:08:23.796) (total time: 10117ms):
Trace[827538762]: [10.11754357s] [10.11754357s] END
E0617 16:08:33.913655 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: an error on the server ("") has prevented the request from succeeding (get pods)
I0617 16:08:48.779837 27578 trace.go:205] Trace[1961514568]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:08:35.761) (total time: 13018ms):
Trace[1961514568]: [13.01838262s] [13.01838262s] END
E0617 16:08:48.779871 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://kubernetes.docker.internal:6443/api/v1/namespaces/default/pods?fieldSelector=metadata.name%3Dlnd-outside-2-export-secrets&resourceVersion=66602": net/http: TLS handshake timeout
I0617 16:09:11.214874 27578 trace.go:205] Trace[111466522]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:08:52.628) (total time: 18585ms):
Trace[111466522]: [18.585911393s] [18.585911393s] END
E0617 16:09:11.214894 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: an error on the server ("") has prevented the request from succeeding (get pods)
I0617 16:09:37.241461 27578 trace.go:205] Trace[179257801]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:09:22.171) (total time: 15069ms):
Trace[179257801]: [15.069403407s] [15.069403407s] END
E0617 16:09:37.241493 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://kubernetes.docker.internal:6443/api/v1/namespaces/default/pods?fieldSelector=metadata.name%3Dlnd-outside-2-export-secrets&resourceVersion=66602": net/http: TLS handshake timeout
Error: failed post-install: timed out waiting for the condition
error Command failed with exit code 1.
Still getting errors when running yarn start
:
ERROR [1623960974992] (32231 on Aryans-MacBook-Pro.local): Redis error
err: {
"type": "Error",
"message": "All sentinels are unreachable. Retrying from scratch after 10ms. Last error: Connection is closed.",
"stack":
Error: All sentinels are unreachable. Retrying from scratch after 10ms. Last error: Connection is closed.
at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:73:31)
at Generator.next (<anonymous>)
at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:4:12)
at connectToNext (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:59:37)
at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:125:24)
at Generator.throw (<anonymous>)
at rejected (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
}
ERROR [1623960985019] (32231 on Aryans-MacBook-Pro.local): Redis error
err: {
"type": "Error",
"message": "All sentinels are unreachable. Retrying from scratch after 20ms. Last error: Connection is closed.",
"stack":
Error: All sentinels are unreachable. Retrying from scratch after 20ms. Last error: Connection is closed.
at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:73:31)
at Generator.next (<anonymous>)
at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:4:12)
at connectToNext (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:59:37)
at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:125:24)
at Generator.throw (<anonymous>)
at rejected (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
}
FATAL [1623960994892] (32231 on Aryans-MacBook-Pro.local): error connecting to mongodb
err: {
"type": "MongooseServerSelectionError",
"message": "connection timed out",
"stack":
MongooseServerSelectionError: connection timed out
at NativeConnection.Connection.openUri (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/connection.js:821:32)
at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/index.js:342:10
at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5
at new Promise (<anonymous>)
at promiseOrCallback (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10)
at Mongoose.connect (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/index.js:341:10)
at Object.exports.setupMongoConnection (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/mongodb.js:24:34)
at Object.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/entrypoint/graphql.js:362:11)
at Module._compile (internal/modules/cjs/loader.js:1075:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10)
at Module.load (internal/modules/cjs/loader.js:940:32)
at Function.Module._load (internal/modules/cjs/loader.js:781:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47
"reason": {
"type": "Unknown",
"setName": null,
"maxSetVersion": null,
"maxElectionId": null,
"servers": {},
"stale": false,
"compatible": true,
"compatibilityError": null,
"logicalSessionTimeoutMinutes": null,
"heartbeatFrequencyMS": 10000,
"localThresholdMS": 15,
"commonWireVersion": null
}
}
path: "mongodb://testGaloy:@192.168.49.2:/galoy"
I'm brand new to helm
and am just really trying to run the mobile app (to which I understand I need to run this).
I've installed
grep
.Here's the output of
kubectl get secret lnd-credentials -o yaml
:apiVersion: v1 data: admin.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GRoZDBaNlZFeFRPVmhCU1doQlMyTjNWWGRtV2tFMmVVeFJaVEZrYUZCeVRtUllhR1ZuYzI5T2RGWlhTbkpMYXprM2RHNXdDbkpTT1ZZS0xTMHRMUzFGVGtRZ1EwVlNWRWxHU1VOQlZFVXRMUzB0TFFvPQ== walletkit.macaroon: AgEDbG5kAkYDChCGJr7KWVo6eDIJTtqgvjHJEgEwGhYKB2FkZHJlc3MSBHJlYWQSBXdyaXRlGhYKB29uY2hhaW4SBHJlYWQSBXdyaXRlAAAGIA8XwY+MEmare0bRDNV8vb2unr8SZJlowmqnIhRFesun kind: Secret metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"v1","data":{"admin.macaroon":"AgEDbG5kAvgBAwoQhSa+yllaOngyCU7aoL4xyRIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYgjBSLb5FjRV6oyTqRZV/El/buvKr6w6NPfXGhlqpKSdY=","admin_macaroon_base64":"QWdFRGJHNWtBdmdCQXdvUWhTYSt5bGxhT25neUNVN2FvTDR4eVJJQk1Cb1dDZ2RoWkdSeVpYTnpFZ1J5WldGa0VnVjNjbWwwWlJvVENnUnBibVp2RWdSeVpXRmtFZ1YzY21sMFpSb1hDZ2hwYm5admFXTmxjeElFY21WaFpCSUZkM0pwZEdVYUlRb0liV0ZqWVhKdmIyNFNDR2RsYm1WeVlYUmxFZ1J5WldGa0VnVjNjbWwwWlJvV0NnZHRaWE56WVdkbEVnUnlaV0ZrRWdWM2NtbDBaUm9YQ2dodlptWmphR0ZwYmhJRWNtVmhaQklGZDNKcGRHVWFGZ29IYjI1amFHRnBiaElFY21WaFpCSUZkM0pwZEdVYUZBb0ZjR1ZsY25NU0JISmxZV1FTQlhkeWFYUmxHaGdLQm5OcFoyNWxjaElJWjJWdVpYSmhkR1VTQkhKbFlXUUFBQVlnakJTTGI1RmpSVjZveVRxUlpWL0VsL2J1dktyNnc2TlBmWEdobHFwS1NkWT0=","chainnotifier.macaroon":"AgEDbG5kAicDChCIJr7KWVo6eDIJTtqgvjHJEgEwGg8KB29uY2hhaW4SBHJlYWQAAAYgQARYgHhO7R3BgJc+7gKbhPM4R6JFzX/fGU14IfBjODQ=","invoices.macaroon":"AgEDbG5kAi8DChCJJr7KWVo6eDIJTtqgvjHJEgEwGhcKCGludm9pY2VzEgRyZWFkEgV3cml0ZQAABiA1oS3dntM2sKIn8nAbY7DSvnu3J+54rK9u3pRoA18eVQ==","readonly.macaroon":"AgEDbG5kAqwBAwoQhCa+yllaOngyCU7aoL4xyRIBMBoPCgdhZGRyZXNzEgRyZWFkGgwKBGluZm8SBHJlYWQaEAoIaW52b2ljZXMSBHJlYWQaEAoIbWFjYXJvb24SBHJlYWQaDwoHbWVzc2FnZRIEcmVhZBoQCghvZmZjaGFpbhIEcmVhZBoPCgdvbmNoYWluEgRyZWFkGg0KBXBlZXJzEgRyZWFkGg4KBnNpZ25lchIEcmVhZAAABiDJQbFbAhw7a8LUAiUBW6y8+vDlJBaoayZmWV+wynw6RQ==","router.macaroon":"AgEDbG5kAi8DChCKJr7KWVo6eDIJTtqgvjHJEgEwGhcKCG9mZmNoYWluEgRyZWFkEgV3cml0ZQAABiAa+oGANKARHtC87fl+K71tS+xGYl+99pGQaOD1O7YQRg==","signer.macaroon":"AgEDbG5kAjADChCHJr7KWVo6eDIJTtqgvjHJEgEwGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYgo5EPCHD/2qNUuBLQjp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2MySnRVWFJOU1VsS1lrYzVhZ3BaVjNodllqTk9NR2RuVG5OaWJWTkRSRmQ0ZFZwRE1YWmtXRko2WVZkU2JFeFVSME5FVjNoMVdrTXhkbVJZVW5waFYxSnNURlJMUTBFeWVIVmFTVWxGQ21SWE5YQmxTVWxMWkZjMWNHVklRbWhaTW5Sc1pFbEpTRmx1Vm0xWk1qbDFZbTlqUldaM1FVRkJXV05SUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVFS1FWbGpSWEpDUlVGQ1NXTkZkMHRuZUVGcVFVdENaMmR4YUd0cVQxQlJVVVJCWjA1SlFVUkNSa0ZwUVVGeGNXeEpLelVyV0RKRVNuWlpSRVJ1UzFnelRRb3lSalowTldKTVQySktUbGRoZDBaNlZFeFRPVmhCU1doQlMyTjNWWGRtV2tFMmVVeFJaVEZrYUZCeVRtUllhR1ZuYzI5T2RGWlhTbkpMYXprM2RHNXdDbkpTT1ZZS0xTMHRMUzFGVGtRZ1EwVlNWRWxHU1VOQlZFVXRMUzB0TFFvPQ==","walletkit.macaroon":"AgEDbG5kAkYDChCGJr7KWVo6eDIJTtqgvjHJEgEwGhYKB2FkZHJlc3MSBHJlYWQSBXdyaXRlGhYKB29uY2hhaW4SBHJlYWQSBXdyaXRlAAAGIA8XwY+MEmare0bRDNV8vb2unr8SZJlowmqnIhRFesun"},"kind":"Secret","metadata":{"annotations":{},"creationTimestamp":null,"name":"lnd-credentials","namespace":"default"}} creationTimestamp: "2021-06-14T14:53:15Z" name: lnd-credentials namespace: default resourceVersion: "669" uid: 4e37dc7e-f717-4a4f-9c33-f10e56d9937b type: Opaque
I got the following error after running
yarn add-charts
:executing upgrade: helm upgrade -i -n=default lnd-outside-2 --version=1.2.5 -f ./charts/configs/lnd/regtest.yaml -f ./charts/configs/lnd/localdev-outside.yaml --set service.staticIP=192.168.49.2 galoy/lnd Release "lnd-outside-2" does not exist. Installing it now. W0617 16:08:22.202067 27578 reflector.go:436] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: watch of *unstructured.Unstructured ended with: very short watch: k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Unexpected watch close - watch lasted less than a second and no items received I0617 16:08:33.913635 27578 trace.go:205] Trace[827538762]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:08:23.796) (total time: 10117ms): Trace[827538762]: [10.11754357s] [10.11754357s] END E0617 16:08:33.913655 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: an error on the server ("") has prevented the request from succeeding (get pods) I0617 16:08:48.779837 27578 trace.go:205] Trace[1961514568]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:08:35.761) (total time: 13018ms): Trace[1961514568]: [13.01838262s] [13.01838262s] END E0617 16:08:48.779871 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://kubernetes.docker.internal:6443/api/v1/namespaces/default/pods?fieldSelector=metadata.name%3Dlnd-outside-2-export-secrets&resourceVersion=66602": net/http: TLS handshake timeout I0617 16:09:11.214874 27578 trace.go:205] Trace[111466522]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:08:52.628) (total time: 18585ms): Trace[111466522]: [18.585911393s] [18.585911393s] END E0617 16:09:11.214894 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: an error on the server ("") has prevented the request from succeeding (get pods) I0617 16:09:37.241461 27578 trace.go:205] Trace[179257801]: "Reflector ListAndWatch" name:k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167 (17-Jun-2021 16:09:22.171) (total time: 15069ms): Trace[179257801]: [15.069403407s] [15.069403407s] END E0617 16:09:37.241493 27578 reflector.go:138] k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: Get "https://kubernetes.docker.internal:6443/api/v1/namespaces/default/pods?fieldSelector=metadata.name%3Dlnd-outside-2-export-secrets&resourceVersion=66602": net/http: TLS handshake timeout Error: failed post-install: timed out waiting for the condition error Command failed with exit code 1.
Still getting errors when running
yarn start
:ERROR [1623960974992] (32231 on Aryans-MacBook-Pro.local): Redis error err: { "type": "Error", "message": "All sentinels are unreachable. Retrying from scratch after 10ms. Last error: Connection is closed.", "stack": Error: All sentinels are unreachable. Retrying from scratch after 10ms. Last error: Connection is closed. at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:73:31) at Generator.next (<anonymous>) at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:4:12) at connectToNext (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:59:37) at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:125:24) at Generator.throw (<anonymous>) at rejected (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:6:65) at processTicksAndRejections (internal/process/task_queues.js:93:5) } ERROR [1623960985019] (32231 on Aryans-MacBook-Pro.local): Redis error err: { "type": "Error", "message": "All sentinels are unreachable. Retrying from scratch after 20ms. Last error: Connection is closed.", "stack": Error: All sentinels are unreachable. Retrying from scratch after 20ms. Last error: Connection is closed. at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:73:31) at Generator.next (<anonymous>) at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:8:71 at new Promise (<anonymous>) at __awaiter (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:4:12) at connectToNext (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:59:37) at SentinelConnector.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:125:24) at Generator.throw (<anonymous>) at rejected (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/ioredis/built/connectors/SentinelConnector/index.js:6:65) at processTicksAndRejections (internal/process/task_queues.js:93:5) } FATAL [1623960994892] (32231 on Aryans-MacBook-Pro.local): error connecting to mongodb err: { "type": "MongooseServerSelectionError", "message": "connection timed out", "stack": MongooseServerSelectionError: connection timed out at NativeConnection.Connection.openUri (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/connection.js:821:32) at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/index.js:342:10 at /Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:5 at new Promise (<anonymous>) at promiseOrCallback (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/helpers/promiseOrCallback.js:30:10) at Mongoose.connect (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/node_modules/mongoose/lib/index.js:341:10) at Object.exports.setupMongoConnection (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/mongodb.js:24:34) at Object.<anonymous> (/Users/aryanjabbari/Documents/projects/galoy-money/galoy/lib/entrypoint/graphql.js:362:11) at Module._compile (internal/modules/cjs/loader.js:1075:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1096:10) at Module.load (internal/modules/cjs/loader.js:940:32) at Function.Module._load (internal/modules/cjs/loader.js:781:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 "reason": { "type": "Unknown", "setName": null, "maxSetVersion": null, "maxElectionId": null, "servers": {}, "stale": false, "compatible": true, "compatibilityError": null, "logicalSessionTimeoutMinutes": null, "heartbeatFrequencyMS": 10000, "localThresholdMS": 15, "commonWireVersion": null } } path: "mongodb://testGaloy:@192.168.49.2:/galoy"
I'm brand new to
helm
and am just really trying to run the mobile app (to which I understand I need to run this).
We are in the process of massively simplifying our dev setup. Once this PR is merged you should be able to spin-up the local dev environment much faster and hopefully without any of the issues you've been facing.
As for connecting the mobile app to a locally running galoy backend, @nicolasburtey might be able to help you with that since he's been taking care of the mobile dev so far.
When trying to running
helm install lnd galoy/lnd
in the https://github.com/GaloyMoney/galoy repository, I get the following error:And the status of the package is
failed
.Step to Reproduce
From a machine completely new to the galoy project: 1)
git clone https://github.com/GaloyMoney/galoy
2)helm install bitcoind galoy/bitcoind
3)helm install lnd galoy/lnd
4) See errorWish I could help a bit more but my k8s skills are non-existant.