question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

You access BTCPay Server over an unsecured network.

See original GitHub issue

I’m getting the following message when I access btcpay frontend on https://btcpay.freedomnode.com:

You access BTCPay Server over an unsecured network. If you are using docker deployment with NGINX and HTTPS is not available, you probably did not configured your DNS settings right. 
We disabled the register and login link so you don't leak your credentials.

As you can tell the website has a valid certificate.

My settings.config:

network=mainnet
chains=btc
port=23001

BTC.explorer.url=http://127.0.0.1:24445
BTC.lightning=type=lnd-rest;server=https://127.0.0.1:8888/;macaroonfilepath=/home/satoshi/.lnd/data/chain/bitcoin/mainnet/admin.macaroon;certthumbprint=<fingerprint>

postgres=User ID=<user>;Password=<pas>;Host=localhost;Port=5432;Database=<db name>;

I installed btcpay manually using this guide

So I’m running with Apache and reverse proxy.

Everything worked fine until I pulled from master just now (I usually update once a month).

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
NicolasDoriercommented, May 7, 2019

Basically your Apache need to forward the Host and the protocol of the client down to btcpay server.

0reactions
NicolasDoriercommented, May 24, 2019

Cool!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions and Common Issues
This document contains a Table of contents to all FAQ and common issues. ... You access BTCPay Server over an unsecured network ......
Read more >
Deployment FAQ | BTCPay Server
Cause 3: BTCPay is expecting you to access this website from. You might also see the following error: You access BTCPay Server over...
Read more >
Lightning Network (LN) and BTCPay Server
To initiate RTL in BTCPay Server, Go to Server Settings > Services > Ride The Lightning > See information. # Control your LND...
Read more >
Troubleshooting an issue in BTCPay Server
2.2.1 - Lightning Network LND - Docker. There are a few ways to access your LND logs when using Docker. First log in...
Read more >
How to configure Umbrel BTCPay Server with NGINX ...
Hi! Today I published a guide on my website on how to expose one's Umbrel node with BTCPay Server to the internet using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found