Skip to content

[BUG]  #232

Closed
Closed

Description

@taurusites

Multiple subscription Issue
To be honest I am not sure whether this is a bug or this is by design, but if I have subscribed twice with the same pubkey while running nostream in a paid configuration I get a NOTICE: subscription rejected

To Reproduce

Steps to reproduce the behavior:
Open https://nostr.ownbtc.online and make payment twice with the same pubkey
Open https://snort.social and open the dev tools view the console and the notice should show in a short while.

Expected behavior
My assumption is that multiple subscriptions should be allowed, and even the NOTICE seems to suggest that.

Screenshots
nostreamsubscriptionrejected

System (please complete the following information):

  • OS: Windows !!
  • Platform: docker, standalone
  • Version: 1.22.6

Additional context
I have also added the pubkey to the white list section of settings.yml

Activity

  1. taurusites commented on Feb 26, 2023

    @taurusites
    Author

    subscriptionerror
    I think this screen cap might be clearer

  2. cameri commented on Feb 28, 2023

    @cameri
    Owner

    @taurusites You are using Snort. Looks like your client opens subscriptions over and over and does not close them.

  3. cameri commented on Feb 28, 2023

    @cameri
    Owner

    @taurusites Paying a relay or not does not affect subscriptions, it only affects your ability to publish/post to that relay.
    The issue you see above is a client opening too many subscriptions and then forgetting about them.

  4. taurusites commented on Feb 28, 2023

    @taurusites
    Author

    This may possibly be it because it also happens with eden.nostr.land where I paid 2 subscriptions by mistake however the subscription issue also shows up in iris.to. Could it be the same issue there as well ?
    iriserror

  5. cameri commented on Feb 28, 2023

    @cameri
    Owner

    If you paid twice on Eden I can refund you for one. However you are still confused about what a paid relay means: it has nothing to do with subscriptions, paying for it only allows you to publish to it.

  6. cameri commented on Feb 28, 2023

    @cameri
    Owner

    Multiple subscriptions are allowed. Please read CONFIGURATION.md and look for limits.client.subscription.maxSubscriptions on information how to change this setting for your own relay.

  7. taurusites commented on Feb 28, 2023

    @taurusites
    Author

    Thank you for your patience with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions