No Webinterface if startup fails to contact coingecko (internet connection down) AND no auto resume of operation thereafter
See original GitHub issueDescribe the bug I noticed that during a power outage where my solar battery powers the house (with a small interruption, hence the reboot) and the DSL connection is still down, the btcpayserver does not resume normal operation even after the dsl comes back on.
Looking at the logs I noticed, that btcpay is not listening on it’s service port, the logs show this:
warn: PayServer: Error while contacting exchange coingecko: Resource temporarily unavailable (api.coingecko.com:443)
warn: PayServer: Error while contacting exchange coingecko: Resource temporarily unavailable (api.coingecko.com:443)
warn: PayServer: Error while contacting exchange coingecko: Resource temporarily unavailable (api.coingecko.com:443)
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
info: Configuration: Data Directory: /datadir
info: Configuration: Configuration File: /datadir/Main/settings.config
info: BTCPayServer.Plugins.PluginManager: Loading plugins from /root/.btcpayserver/Plugins
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer - 1.5.2.0
info: BTCPayServer.Plugins.PluginManager: Adding and executing plugin BTCPayServer.Plugins.Shopify - 1.5.2.0
info: Configuration: Supported chains: BTC
info: Configuration: BTC: Explorer url is http://nbxplorer:32838/
info: Configuration: BTC: Cookie file is /root/.nbxplorer/Main/.cookie
info: Configuration: Network: Mainnet
info: Configuration: LogFile: /datadir/btcpay.log
info: Configuration: Log Level: Debug
To Reproduce the bug Steps to reproduce the reported bug:
- on a locally running btcpay setup, disconnect DSL and power from your Pi
- reconnect power and wait for it to boot
- When trying to connect to it through the home network, you’ll notice a 503 error
- to resume normal operation when the DSL is back on you need to run btcpay-restart.sh
Expected behavior
I would have expected btcpayserver to bind to it’s port even if coingecko is unavailable or at least continue trying to reach coingecko and automatically restore normal operation upon resuming of the internet connection.
Your BTCPay Environment (please complete the following information):
- BTCPay Server Version: v1.5.2.0
- Deployment Method: Docker
- Browser: Chrome
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to Fix Coin Gecko App Not Working Problem Android & Ios
CoinGecko App #notopen # not working #notwork # CoinGecko With the help ... procedure which is very helpful for resolving this problem to...
Read more >How do you deal with information and internet addiction?
I do something but on the computer. I issue `j w` on the terminal, which means journal write, to create a new time...
Read more >1
It seems that the error comes from this line in my index.html file (which is needed to correctly retrieve data from Coin Gecko):....
Read more >Changelog
Server: Cryptosettings error is not updated when tests do not pass. Server: Some of the database connections were not closed when performing transactions....
Read more >Google Chrome Zero-Day Bugs Exploited Weeks Ahead of ...
North Korean threat actors exploited a remote code execution (RCE) zero-day vulnerability in Google's Chrome web browser weeks before the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
no power outages as of recently. So the issue didn’t show up again. I would close it now and reopen if it happens again.
@petzsch Is this still an issue for you?