Loading notifications fails with a WebLN error #568

Closed
opened 2023-05-18 17:24:16 +00:00 by Giszmo · 8 comments
Contributor

Describe the bug

loading notifications never shows any notifications.

Desktop (please complete the following information):

  • OS: linux
  • Browser ff
  • Version 96.0.3

Additional context

Account npub1gm7tuvr9atc6u7q3gevjfeyfyvmrlul4y67k7u7hcxztz67ceexs078rf6 with nos2x

13:21:08.098 Uncaught (in promise) t: Your browser has no WebLN provider
    i https://snort.social/main.34fc6e6969a7d89af36b.js:1
    t https://snort.social/main.34fc6e6969a7d89af36b.js:1
    requestProvider https://snort.social/main.34fc6e6969a7d89af36b.js:1
    requestProvider https://snort.social/main.34fc6e6969a7d89af36b.js:1
    c https://snort.social/main.34fc6e6969a7d89af36b.js:1
    <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1
    3290 https://snort.social/main.34fc6e6969a7d89af36b.js:1
    a https://snort.social/main.34fc6e6969a7d89af36b.js:1
    <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1
    <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1
    <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1
main.34fc6e6969a7d89af36b.js:1:376123
**Describe the bug** loading notifications never shows any notifications. **Desktop (please complete the following information):** - OS: linux - Browser ff - Version 96.0.3 **Additional context** Account npub1gm7tuvr9atc6u7q3gevjfeyfyvmrlul4y67k7u7hcxztz67ceexs078rf6 with nos2x ``` 13:21:08.098 Uncaught (in promise) t: Your browser has no WebLN provider i https://snort.social/main.34fc6e6969a7d89af36b.js:1 t https://snort.social/main.34fc6e6969a7d89af36b.js:1 requestProvider https://snort.social/main.34fc6e6969a7d89af36b.js:1 requestProvider https://snort.social/main.34fc6e6969a7d89af36b.js:1 c https://snort.social/main.34fc6e6969a7d89af36b.js:1 <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1 3290 https://snort.social/main.34fc6e6969a7d89af36b.js:1 a https://snort.social/main.34fc6e6969a7d89af36b.js:1 <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1 <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1 <anonymous> https://snort.social/main.34fc6e6969a7d89af36b.js:1 main.34fc6e6969a7d89af36b.js:1:376123 ```
Owner

Do you have a WebLN wallet?

Do you have a WebLN wallet?
Owner

I dont think thats the issue, when i login as you i see a problem with the query tracing because filter.nostr.wine keeps disconnecting

This issue should be fixed soon, im fixing it in the gossip model PR

I dont think thats the issue, when i login as you i see a problem with the query tracing because filter.nostr.wine keeps disconnecting This issue should be fixed soon, im fixing it in the gossip model PR
Kieran added the
bug
label 2023-05-18 18:09:52 +00:00
Kieran added the
scope:query_tracing
label 2023-05-18 18:12:32 +00:00
Author
Contributor

I don't know what a WebLN wallet is, so I guess I don't.

I don't know what a WebLN wallet is, so I guess I don't.
Owner

I also reverted some WebLN changes, it might already be improved?

I also reverted some WebLN changes, it might already be improved?
Author
Contributor

Notifications don't load. Snort degraded a lot. When going to notifications, I see this in the console.

12:04:01.192
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
​
bubbles: false
​
cancelBubble: false
​
cancelable: false
​
composed: false
​
currentTarget: null
​
defaultPrevented: false
​
eventPhase: 0
​
explicitOriginalTarget: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … }
​
isTrusted: true
​
originalTarget: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … }
​
returnValue: true
​
srcElement: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … }
​
target: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … }
​
timeStamp: 4111820
​
type: "error"
​
<get isTrusted()>: function isTrusted()
​
<prototype>: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … }
main.da8adf95317608d693dd.js:1:422584
    OnError https://snort.social/main.da8adf95317608d693dd.js:1
    onerror https://snort.social/main.da8adf95317608d693dd.js:1
    (Async: EventHandlerNonNull)
    Connect https://snort.social/main.da8adf95317608d693dd.js:1
    ReconnectTimer https://snort.social/main.da8adf95317608d693dd.js:1

Removing the mentioned relay did not help fix the issue.

Removing another "red" relay - wine - I got

12:06:45.472 Uncaught Error: missing value
    O https://snort.social/main.da8adf95317608d693dd.js:1
    onClick https://snort.social/main.da8adf95317608d693dd.js:1
    Le https://snort.social/main.da8adf95317608d693dd.js:1
    ze https://snort.social/main.da8adf95317608d693dd.js:1
    Ir https://snort.social/main.da8adf95317608d693dd.js:1
    Ir https://snort.social/main.da8adf95317608d693dd.js:1
    Fr https://snort.social/main.da8adf95317608d693dd.js:1
    Wr https://snort.social/main.da8adf95317608d693dd.js:1
    uc https://snort.social/main.da8adf95317608d693dd.js:1
    Pe https://snort.social/main.da8adf95317608d693dd.js:1
    Wr https://snort.social/main.da8adf95317608d693dd.js:1
    Vt https://snort.social/main.da8adf95317608d693dd.js:1
    qt https://snort.social/main.da8adf95317608d693dd.js:1
main.da8adf95317608d693dd.js:1:108822

and I initially failed to remove it. Clicking quickly allowed me to remove it.

Edit: I now noticed a page full of notifications. Hitting reload quickly got me one notification but the rest doesn't load for minutes ever again.

Notifications don't load. Snort degraded a lot. When going to notifications, I see this in the console. ``` 12:04:01.192 error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … } ​ bubbles: false ​ cancelBubble: false ​ cancelable: false ​ composed: false ​ currentTarget: null ​ defaultPrevented: false ​ eventPhase: 0 ​ explicitOriginalTarget: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … } ​ isTrusted: true ​ originalTarget: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … } ​ returnValue: true ​ srcElement: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … } ​ target: WebSocket { url: "wss://nostr.walletofsatoshi.com/", readyState: 3, bufferedAmount: 0, … } ​ timeStamp: 4111820 ​ type: "error" ​ <get isTrusted()>: function isTrusted() ​ <prototype>: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … } main.da8adf95317608d693dd.js:1:422584 OnError https://snort.social/main.da8adf95317608d693dd.js:1 onerror https://snort.social/main.da8adf95317608d693dd.js:1 (Async: EventHandlerNonNull) Connect https://snort.social/main.da8adf95317608d693dd.js:1 ReconnectTimer https://snort.social/main.da8adf95317608d693dd.js:1 ``` Removing the mentioned relay did not help fix the issue. Removing another "red" relay - wine - I got ``` 12:06:45.472 Uncaught Error: missing value O https://snort.social/main.da8adf95317608d693dd.js:1 onClick https://snort.social/main.da8adf95317608d693dd.js:1 Le https://snort.social/main.da8adf95317608d693dd.js:1 ze https://snort.social/main.da8adf95317608d693dd.js:1 Ir https://snort.social/main.da8adf95317608d693dd.js:1 Ir https://snort.social/main.da8adf95317608d693dd.js:1 Fr https://snort.social/main.da8adf95317608d693dd.js:1 Wr https://snort.social/main.da8adf95317608d693dd.js:1 uc https://snort.social/main.da8adf95317608d693dd.js:1 Pe https://snort.social/main.da8adf95317608d693dd.js:1 Wr https://snort.social/main.da8adf95317608d693dd.js:1 Vt https://snort.social/main.da8adf95317608d693dd.js:1 qt https://snort.social/main.da8adf95317608d693dd.js:1 main.da8adf95317608d693dd.js:1:108822 ``` and I initially failed to remove it. Clicking quickly allowed me to remove it. Edit: I now noticed a page full of notifications. Hitting reload quickly got me one notification but the rest doesn't load for ~~minutes~~ ever again.
Owner

This should be resolved now

This should be resolved now
Author
Contributor

Yes, notifications tab now loads well.

(I never see notifications though. Never bothered opening an issue for that.)

Yes, notifications tab now loads well. (I never see notifications though. Never bothered opening an issue for that.)
Owner

Yea notifications is broken for a while, going to hopefully get some time to do real push notifications

Yea notifications is broken for a while, going to hopefully get some time to do real push notifications
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/snort#568
No description provided.