Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

macaroon files not created automatically #659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RyanPaul31 opened this issue Oct 19, 2023 · 9 comments
Closed

macaroon files not created automatically #659

RyanPaul31 opened this issue Oct 19, 2023 · 9 comments

Comments

@RyanPaul31
Copy link

Hi Team,

I have followed the same procedure for Lit configurations and It was running. But the problem is macaroon files are not automatically created inside .lit folder and also tls.cert and tls.key files are also not generated.

Also macaroon files are not generated inside any of .loop, .pool and .faraday folders.

Kindly guide me where it went wrong. What needs to be done to solve this issues?

Thanks in Advance!

@guggero
Copy link
Member

guggero commented Oct 19, 2023

That sounds like Lit isn't starting up properly. Can you post some logs please?

@RyanPaul31
Copy link
Author

LTND: We're not running within systemd or the service type is not 'notify'
LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.
LTND: Received interrupt
LTND: Shutting down...
LTND: Gracefully shutting down.
LTND: unable to set up wallet password listeners: shutting down
LTND: Shutting down because error in main method: error creating wallet config: unable to set up wallet password listeners: shutting down
STAT: Setting the lit sub-server as errored: could not start Lit: %v
STAT: could not start the lit sub-server: could not start Lit: received the shutdown signal
LITD: Shutdown signal received
GRPC: [core] [Channel #83] Channel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #83 SubChannel #84] Subchannel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #42] Channel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #29 SubChannel #30] Subchannel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #29 SubChannel #30] Subchannel deleted
GRPC: [core] [Channel #29] Channel deleted
GRPC: [transport] transport: loopyWriter exited. Closing connection. Err: transport closed by client
GRPC: [transport] transport: closing: connection error: desc = "error reading from server: read tcp 127.0.0.1:52714->127.0.0.1:10009: use of closed network connection"
GRPC: [core] [Channel #77] Channel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #77 SubChannel #78] Subchannel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #77 SubChannel #78] Subchannel deleted
GRPC: [core] [Channel #77] Channel deleted
GRPC: [transport] transport: loopyWriter exited. Closing connection. Err: transport closed by client
GRPC: [transport] transport: closing: connection error: desc = "error reading from server: read tcp 127.0.0.1:52686->127.0.0.1:10009: use of closed network connection"
GRPC: [core] [Channel #42 SubChannel #44] Subchannel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #42 SubChannel #44] Subchannel deleted
GRPC: [core] [Channel #42] Channel deleted
GRPC: [core] [Channel #47 SubChannel #56] Subchannel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #13 SubChannel #14] Subchannel Connectivity change to SHUTDOWN
GRPC: [core] [Channel #79 SubChannel #82] Subchannel deleted
GRPC: [core] [Channel #89] Channel Connectivity change to SHUTDOWN
STAT: Setting the faraday sub-server as stopped
GRPC: [core] [Channel #86] Channel Connectivity change to SHUTDOWN
GRPC: [core] [Server #2 ListenSocket #3] ListenSocket deleted
GRPC: [core] [Channel #38] Channel Connectivity change to SHUTDOWN

@guggero
Copy link
Member

guggero commented Oct 19, 2023

So you started Lit in integrated mode, which means it is also starting an lnd node. You have to create a wallet first (see second line of the log). Once you create the wallet (which doesn't require a macaroon), the other macaroons and certificates will be created.

@RyanPaul31
Copy link
Author

I've created wallet and macaroon files are created only inside .lnd folder not inside other folders

@guggero
Copy link
Member

guggero commented Oct 19, 2023

The wallet is probably still syncing, which takes a while. Check the logs for more information or errors.

@RyanPaul31
Copy link
Author

I'm frequently getting this error only : GRPC: [transport] transport: closing: connection error: desc = "error reading from server: read tcp 127.0.0.1:52656->127.0.0.1:10009: use of closed network connection"

@guggero
Copy link
Member

guggero commented Oct 19, 2023

That just means a component is trying to connect to lnd. But without any context that could be anything.

@RyanPaul31
Copy link
Author

How can I proceed further?

@guggero
Copy link
Member

guggero commented Oct 19, 2023

Give us more info, like the log output since you created the wallet.
Going to move this into a discussion, as it's related to trouble shooting.

@lightninglabs lightninglabs locked and limited conversation to collaborators Oct 19, 2023
@guggero guggero converted this issue into discussion #660 Oct 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants