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.

[Bug]: Disqus integration breaks in Crowdfunding store

See original GitHub issue

What is your BTCPay version?

BTCPay Server v1.7.5+372df93c1

How did you deploy BTCPay Server?

aws ec2

What happened?

in the crowdfunding app after adding my Disqus short name the discussion tab on the crowd fund page doesnt show up

Screenshot 2023-01-29 at 1 27 32 AM

How did you encounter this bug?

after setting the discussion settings in the crowd fund settings page and after buying premium Disqus service

Screenshot 2023-01-29 at 1 28 40 AM

Relevant log output

2023-01-29 00:00:36.408 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 00:00:36.449 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 00:00:36.450 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 00:10:36.453 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 00:10:36.502 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 00:10:36.503 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 00:20:36.507 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 00:20:36.563 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 00:20:36.564 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 00:30:36.565 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 00:30:36.588 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 00:30:36.588 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 00:40:36.592 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 00:40:36.623 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 00:40:36.623 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 00:50:36.628 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 00:50:36.658 +00:00 [WRN] SSH connection issue of type SshConnectionException: An established connection was aborted by the server.
2023-01-29 00:50:36.658 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 01:00:03.444 +00:00 [INF] User 'ed098f23-671f-45a6-b54a-66fb7f189fda' logged in.
2023-01-29 01:00:36.662 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 01:00:36.714 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 01:00:36.715 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 01:03:37.460 +00:00 [INF] BTC (Lightning): Start listening unix://etc/clightning_bitcoin/lightning-rpc
2023-01-29 01:10:36.721 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 01:10:36.761 +00:00 [WRN] SSH connection issue of type SshConnectionException: Connection reset by peer
2023-01-29 01:10:36.761 +00:00 [WRN] Retrying SSH connection in 600 seconds
2023-01-29 01:16:52.321 +00:00 [ERR] BTC (Lightning): Error while contacting unix://etc/clightning_bitcoin/lightning-rpc
Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0.
   at Newtonsoft.Json.Linq.JObject.LoadAsync(JsonReader reader, JsonLoadSettings settings, CancellationToken cancellationToken)
   at BTCPayServer.Lightning.CLightning.CLightningClient.SendCommandAsync[T](String command, Object[] parameters, Boolean noReturn, Boolean isArray, CancellationToken cancellation)
   at BTCPayServer.Lightning.CLightning.CLightningInvoiceListener.WaitInvoice(CancellationToken cancellation)
   at BTCPayServer.Payments.Lightning.LightningInstanceListener.Listen(CancellationToken cancellation) in /source/BTCPayServer/Payments/Lightning/LightningListener.cs:line 471
2023-01-29 01:16:52.322 +00:00 [ERR] Error while connecting to WebSocket of NBXplorer (BTC)
System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
   at System.Net.WebSockets.ManagedWebSocket.ThrowIfEOFUnexpected(Boolean throwOnPrematureClosure)
   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken, Boolean throwOnPrematureClosure)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
   at NBXplorer.WebsocketMessageListener.NextMessageAsync(CancellationToken cancellation)
   at BTCPayServer.Payments.Bitcoin.NBXplorerListener.Listen(BTCPayWallet wallet) in /source/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs:line 142
2023-01-29 01:16:52.323 +00:00 [INF] BTC (Lightning): Stop listening unix://etc/clightning_bitcoin/lightning-rpc
2023-01-29 01:16:52.325 +00:00 [INF] Disconnected from WebSocket of NBXplorer (BTC)
2023-01-29 01:16:54.328 +00:00 [INF] DelayedTransactionBroadcasterHostedService successfully exited...
2023-01-29 01:16:54.329 +00:00 [INF] TorServices successfully exited...
2023-01-29 01:16:54.341 +00:00 [INF] CheckConfigurationHostedService successfully exited...
2023-01-29 01:16:54.384 +00:00 [INF] PullPaymentHostedService successfully exited...
2023-01-29 01:16:59.285 +00:00 [INF] NBXplorerListener successfully exited...
2023-01-29 01:16:59.288 +00:00 [INF] LightningListener successfully exited...
2023-01-29 01:16:59.294 +00:00 [INF] Stop watching invoices
2023-01-29 01:16:59.369 +00:00 [INF] RatesHostedService successfully exited...
2023-01-29 01:17:00.176 +00:00 [INF] DynamicDnsHostedService successfully exited...
2023-01-29 01:17:00.179 +00:00 [INF] NewVersionCheckerHostedService successfully exited...
2023-01-29 01:17:00.187 +00:00 [INF] LightningAutomatedPayoutProcessor successfully exited...
2023-01-29 01:17:00.188 +00:00 [INF] LightningAutomatedPayoutProcessor successfully exited...
2023-01-29 01:17:00.188 +00:00 [INF] OnChainAutomatedPayoutProcessor successfully exited...
2023-01-29 01:17:00.188 +00:00 [INF] OnChainAutomatedPayoutProcessor successfully exited...
2023-01-29 01:17:00.197 +00:00 [INF] Stopping
2023-01-29 01:17:14.200 +00:00 [INF] Root Path: /
2023-01-29 01:17:15.996 +00:00 [INF] Connection to NBXplorer's database successful, dashboard and reporting features activated.
2023-01-29 01:17:16.011 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 01:17:16.541 +00:00 [INF] SSH connection succeeded
2023-01-29 01:17:16.693 +00:00 [INF] Starting listening NBXplorer (BTC)
2023-01-29 01:17:16.896 +00:00 [INF] Start watching invoices
2023-01-29 01:17:17.138 +00:00 [INF] Starting payment request expiration watcher
2023-01-29 01:17:17.727 +00:00 [INF] 0 pending payment requests being checked since last run
2023-01-29 01:17:18.565 +00:00 [INF] Importing 40 invoices into the search table in 1 pages
2023-01-29 01:17:18.565 +00:00 [INF] Import to search table progress: 1/1 pages
2023-01-29 01:17:18.864 +00:00 [INF] Starting
2023-01-29 01:17:19.346 +00:00 [INF] Full invoice search import successful
2023-01-29 01:17:19.422 +00:00 [INF] Wallet transaction label importing transactions 0/0
2023-01-29 01:17:19.463 +00:00 [INF] Wallet transaction label successfully migrated
2023-01-29 01:17:38.894 +00:00 [INF] BTC: Checking if any pending invoice got paid while offline...
2023-01-29 01:17:39.240 +00:00 [INF] BTC: 0 payments happened while offline
2023-01-29 01:17:39.242 +00:00 [INF] Connected to WebSocket of NBXplorer (BTC)
2023-01-29 01:18:13.668 +00:00 [INF] DelayedTransactionBroadcasterHostedService successfully exited...
2023-01-29 01:18:13.671 +00:00 [INF] TorServices successfully exited...
2023-01-29 01:18:13.676 +00:00 [INF] CheckConfigurationHostedService successfully exited...
2023-01-29 01:18:13.725 +00:00 [INF] PullPaymentHostedService successfully exited...
2023-01-29 01:18:13.732 +00:00 [INF] Disconnected from WebSocket of NBXplorer (BTC)
2023-01-29 01:18:13.740 +00:00 [INF] NBXplorerListener successfully exited...
2023-01-29 01:18:13.779 +00:00 [INF] LightningListener successfully exited...
2023-01-29 01:18:13.780 +00:00 [INF] LightningPendingPayoutListener successfully exited...
2023-01-29 01:18:13.829 +00:00 [INF] Stop watching invoices
2023-01-29 01:18:15.213 +00:00 [INF] DynamicDnsHostedService successfully exited...
2023-01-29 01:18:15.235 +00:00 [INF] NewVersionCheckerHostedService successfully exited...
2023-01-29 01:18:15.235 +00:00 [INF] DbMigrationsHostedService successfully exited...
2023-01-29 01:18:15.266 +00:00 [INF] Stopping
2023-01-29 01:18:31.071 +00:00 [INF] Root Path: /
2023-01-29 01:18:32.470 +00:00 [INF] Connection to NBXplorer's database successful, dashboard and reporting features activated.
2023-01-29 01:18:32.485 +00:00 [INF] SSH settings detected, testing connection to root@host.docker.internal on port 22 ...
2023-01-29 01:18:32.777 +00:00 [INF] Starting listening NBXplorer (BTC)
2023-01-29 01:18:32.855 +00:00 [INF] Start watching invoices
2023-01-29 01:18:33.318 +00:00 [INF] SSH connection succeeded
2023-01-29 01:18:34.234 +00:00 [INF] Starting payment request expiration watcher
2023-01-29 01:18:34.502 +00:00 [INF] 0 pending payment requests being checked since last run
2023-01-29 01:18:35.150 +00:00 [INF] Starting
2023-01-29 01:18:45.393 +00:00 [INF] BTC: Checking if any pending invoice got paid while offline...
2023-01-29 01:18:45.833 +00:00 [INF] BTC: 0 payments happened while offline
2023-01-29 01:18:45.833 +00:00 [INF] Connected to WebSocket of NBXplorer (BTC)
2023-01-29 01:19:32.638 +00:00 [INF] BTC (Lightning): Start listening unix://etc/clightning_bitcoin/lightning-rpc
2023-01-29 02:02:54.641 +00:00 [INF] User 'ed098f23-671f-45a6-b54a-66fb7f189fda' logged in.
2023-01-29 02:12:02.035 +00:00 [INF] User 'ed098f23-671f-45a6-b54a-66fb7f189fda' logged in.
2023-01-29 02:45:32.560 +00:00 [INF] BTC (Lightning): No more invoice to listen on unix://etc/clightning_bitcoin/lightning-rpc, releasing the connection.
2023-01-29 02:55:16.749 +00:00 [INF] BTC (Lightning): Start listening unix://etc/clightning_bitcoin/lightning-rpc
2023-01-29 03:49:32.552 +00:00 [INF] BTC (Lightning): No more invoice to listen on unix://etc/clightning_bitcoin/lightning-rpc, releasing the connection.

What browser do you use?

safari

Additional information

No response

Are you sure this is a bug report?

  • I confirm this is a bug report

Issue Analytics

  • State:closed
  • Created 8 months ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lopezdpcommented, Feb 28, 2023

@dennisreimann must’ve been something weird with the cache on my side it works perfectly sir

1reaction
dennisreimanncommented, Jan 31, 2023

It’s a CSP issue, I can reproduce it and will take a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug Reports & Feedback: Disqus broken AGAIN
If there's one thing I've learned from commenting via the Disqus platform, it's that Disqus doesn't care about the millions of comments their...
Read more >
Why isn't the comment box loading?
Disqus is absent, loads endlessly, or says "Please wait..." ; Solution 1. Clear both your browser's cache and cookies - How do I...
Read more >
Disqus not showing (wordpress) SOLVED · Discuss Disqus
I'm running the current version of wordpress using a premium theme called Novomag. I have disabled all plugins and tried the custom code...
Read more >
Web Integration
This integration guide isn't specific to any particular platform, and assumes that you have knowledge of how your website's system works.
Read more >
Bug Reports & Feedback: Sorry, an error happened on ...
Have you ever spent 2.5 days (or 2.5 seconds) composing the greatest post ever, only to have the "Sorry, an error happened on...
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