NicolasDorier / lightning-charge-azure

Easy deployment of c-lightning, charged, bitcoin core and let's encrypt on Azure
MIT License
20 stars 1 forks source link

Error 502 bad gateway with one click docker install #2

Open pieman64 opened 5 years ago

pieman64 commented 5 years ago

Hi @NicolasDorier I tried your one click docker install and Azure seems to be set up OK.

I did the CNAME setting to allow Lets Encrypt certs etc.

But I am getting a 502 bad gateway error from Azure.

The Wordpress plugin part looks ok at https://buycryptonewsarticles.com/

Any idea why I am getting the bad gateway? I have tried restarting docker etc.

pieman64 commented 5 years ago

I notice in SSH the command bitcoin-cli.sh help is fine but bitcoin-cli.sh help is not.

It comes back with:

lightning-cli: Connecting to 'lightning-rpc' : No such file or directory.

NicolasDorier commented 5 years ago

this repo is outdated and has a old version. I advise you to use BTCPay Server one click with CLightning and the btcpayserver woocommerce plugin.

pieman64 commented 5 years ago

Actually I switched to BTCPay server last night and so far the sync of the BTC blockchain is about 60% complete. I have most of the WooCommerce stuff set up but I am particularly interested in the Lightning Publisher plugin for Wordpress by Blockstream. Do you know happen to know if BTCPay server can work with that plugin?

NicolasDorier commented 5 years ago

Ah shit, so it mean you really need Lightning charge.

NicolasDorier commented 5 years ago

I could add Lightning charge to the BTCPay deployment. It would make sense that said I don't have time these days. Can you add an open issue in the btcpayserver-docker repo? I think this is good idea nevertheless.

NicolasDorier commented 5 years ago

I am investigating, this might be like 1H of work for me actually, https://github.com/ElementsProject/wordpress-lightning-publisher/issues/5

pieman64 commented 5 years ago

Now that you sorted me out on Slack with the regular BTCpay plugin a tweak for lightning publisher would be awesome.