Nothing in terminal after trying to create a sell order
me@devbox:~/mostro-cli$ cargo run neworder --kind sell --fiatcode usd --fiatamount 5 --paymentmethod lightning
Finished dev [unoptimized + debuginfo] target(s) in 0.18s
Running `target/debug/mostro-cli neworder --kind sell --fiatcode usd --fiatamount 5 --paymentmethod lightning`
┌──────────┬──────────────┬───────────┬─────────────┬────────────────┬────────── ─┐
│ Buy/Sell ┆ Sats Amount ┆ Fiat Code ┆ Fiat Amount ┆ Payment method ┆ Premium % │
╞══════════╪══════════════╪═══════════╪═════════════╪════════════════╪══════════ ═╡
│ Sell ┆ market price ┆ USD ┆ 5 ┆ lightning ┆ 0 │
└──────────┴──────────────┴───────────┴─────────────┴────────────────┴────────── ─┘
Check your order! Is it correct? (Y/n) > y
I just started running mostr, so I tried to create a sell order. I got to "check you order" and after entering "y" nothing returned. The program seems locked up. Maybe I have some setting wrong somewhere, (I think they're right though) but there's no indication what went wrong and I don't know how to proceed.
Will have a look @0ceanSlim !
I think it is because your relay list in .env file has all unresponsive relays, from my quick test and lookin at the code we should add some timeout protection in that case.
Could it be that if you leave the terminal hung for some time you get something like this?
And can you replicate it? Eventually drop your relay list here.
Will have a look @0ceanSlim !
I think it is because your relay list in
.envfile has all unresponsive relays, from my quick test and lookin at the code we should add some timeout protection in that case.Could it be that if you leave the terminal hung for some time you get something like this?
And can you replicate it? Eventually drop your relay list here.
I tried again today after changing the default relay list to have a bunch of my relays in it and it worked immediately. So yes, I think it definitely had something to do with the default relay list in my .env
Not seeing any pending orders in list orders but I did get a dm in nostr with the order.
This could happen @0ceanSlim , relay doesn't alway publish immediately I suppose.
Check the order on mostro web and try again after some seconds with cli...
Relays are not always responsive, sometimes they do not respond for some time. For sure we can add some faster message ( 5secs ) if no relay are connecting to send message of orders.
