• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Netgate 2100 blocking? Spotify issue

General pfSense Questions
8
58
3.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    MikeHalsey @Gertjan
    last edited by MikeHalsey Sep 5, 2024, 1:05 PM Sep 5, 2024, 1:04 PM

    @Gertjan Oh my god! Oh my god! Oh my god! Oh my god! Oh my god! That seems to have fixed it 😎 Spotify now seems to be responding to me immediately, all of the speakers are still there, and the music isn't stopping every 20 seconds like it was the last few days.

    The constant restarts have stopped too. Here's hoping but it's looking good and I can't thank everybody who helped, enough 🫡

    login-to-view

    1 Reply Last reply Reply Quote 0
    • M
      MikeHalsey @Gertjan
      last edited by Sep 5, 2024, 1:10 PM

      @Gertjan Actually, scrub that. It fixed it for all of 5 minutes then the problem started again 😔

      login-to-view

      1 Reply Last reply Reply Quote 0
      • M
        MikeHalsey @Gertjan
        last edited by Sep 5, 2024, 1:24 PM

        @Gertjan hmm... so far it's stable again, so I suppose that could have been cause by a pfBlocker update check. I'll run it for a day or three and report back 🫡

        G 1 Reply Last reply Sep 5, 2024, 1:55 PM Reply Quote 1
        • G
          Gertjan @MikeHalsey
          last edited by Gertjan Sep 5, 2024, 2:01 PM Sep 5, 2024, 1:55 PM

          @MikeHalsey said in Netgate 2100 blocking? Spotify issue:

          could have been cause by a pfBlocker update check

          These can happen every hour max (I think).
          Anyway, as most lists are updated maybe ones a week, or even less frequent-, I've set :

          login-to-view

          so pfBlockerng can restart unbound ones a week max.

          Be ware : the list with : "who can restart unbound" isn't empty yet.

          For example, when you hook up to a LAN or (actually any interface port) not a switch that is always powered on, but something else, every time you shut down this device, and the power it up again, the interface gets activated : this will restart unbound, and a lot of other processes as well.

          Now you know all the reasons why unbound restarts (for 99,x %).

          Btw : you've checked that the dhcpdleases process doesn't run anymore ?

          Illustration :

          login-to-view

          Every dip in the stats is an unbound restart.
          That's more often as ones a week, true, because it was the admin (me - so that's another reason why unbund restart : it's the admin 😖 ) doing so while testing settings so I can take screen captures to show them on the forum.
          When I'm not there, my unbound doesn't restart anymore.

          It will behave like this :

          login-to-view

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          M J 2 Replies Last reply Sep 5, 2024, 2:02 PM Reply Quote 0
          • M
            MikeHalsey @Gertjan
            last edited by Sep 5, 2024, 2:02 PM

            @Gertjan Yeah, I thought it could be pfBlocker too, so I've set those things you mentioned to weekly, and set the main pfBlocker update to once a day at 2am.

            There's been no restarts of Unbound now for almost an hour and all seems good... so far.

            1 Reply Last reply Reply Quote 0
            • J
              jrey @Gertjan
              last edited by Sep 5, 2024, 2:45 PM

              I can't specifically speak to EasyList and how ofter it changes. However ADs_Basic, changes often more than once a week. (Of course you can choose when to check it)
              However, unbound will only restart (assuming pfBlocker is configured properly) when one of the DNSBL lists has a changed. Not just because it checked. I check ADs_Basic daily (and other lists). As I said before, unbound can still go days between needing a restart.
              my unbound restarted because of a list change on Sept 1 at midnight, and again on Sept 5 (this morning) in the days between it just kept running.
              The entire restart of unbound takes a couple of seconds, you would never know in most cases.
              In fact the only way I know is by the dashboard (if I'm running it) and graylog (which is always running) Your last dashboard image, didn't even show any lists. Does it now? and what is the time stamp of the list reload.

              my dashboard shows the update time (this morning)
              login-to-view

              so they all reloaded this morning... looks fine to me (compare this to the previous screen shot and they all said Sep 1) nothing changed in-between, nothing restarted unbound.

              The graylog shows me the pid changed (different colour) but it also never skipped.
              login-to-view

              orange is pid before, different pid after the reload is blue.
              Notice the time slot (5 minutes) bands where there is both blue and orange. that's when it restarted.

              here is the same data on a 2 second time slice, unbound restarting at the colour transition, you should never even notice, nor should any device on your network.

              login-to-view

              B G 2 Replies Last reply Sep 5, 2024, 2:51 PM Reply Quote 0
              • B
                bmeeks @jrey
                last edited by Sep 5, 2024, 2:51 PM

                @jrey said in Netgate 2100 blocking? Spotify issue:

                here is the same data on a 2 second time slice, unbound restarting at the colour transition, you should never even notice, nor should any device on your network.

                One caveat I would offer --
                Be careful of time comparison examples (such as the 2 seconds in your post). This will be very dependent on the underlying hardware a particular user is running on. Another obvious variable is the size of the chosen list or lists. So long as the comparison is apples-to-apples (meaning same exact hardware and same exact DNSBL lists), then time comparisons are pertinent.

                I've just sometimes seen posters assume that everyone should see the same performance with some feature as they do. That is not the case unless the parameters are very closely matched.

                J 1 Reply Last reply Sep 5, 2024, 2:54 PM Reply Quote 0
                • G
                  Gertjan @jrey
                  last edited by Sep 5, 2024, 2:51 PM

                  @jrey said in Netgate 2100 blocking? Spotify issue:

                  I can't specifically speak to EasyList and how ofter it changes. However ADs_Basic, changes often more than once a week. (Of course you can choose when to check it)
                  However, unbound will only restart (assuming pfBlocker is configured properly) when one of the DNSBL lists has a changed. Not just because it checked. I check ADs_Basic daily (and other lists). As I said before, unbound can still go days between needing a restart.

                  👍 10/10 ! Nice. You've done your home work.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  J 1 Reply Last reply Sep 5, 2024, 5:28 PM Reply Quote 0
                  • J
                    jrey @bmeeks
                    last edited by jrey Sep 5, 2024, 3:07 PM Sep 5, 2024, 2:54 PM

                    @bmeeks said in Netgate 2100 blocking? Spotify issue:

                    Be careful of time comparison examples (such as the 2 seconds in your post).

                    sure, but I'm running a 2100 same as the OP. 2 second reload of unbound is "normal" here.

                    Edit: and the op has never answered the questions about the list size of list as seen in the pfblockerng.log (or other questions unless I missed those answers) so yes there still could be other "variables" as well.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jrey @Gertjan
                      last edited by Sep 5, 2024, 5:28 PM

                      @Gertjan said in Netgate 2100 blocking? Spotify issue:

                      10/10 ! Nice.

                      Missed this --- was it a test? 😊

                      M 1 Reply Last reply Sep 19, 2024, 2:27 PM Reply Quote 1
                      • M
                        MikeHalsey @stephenw10
                        last edited by MikeHalsey Sep 8, 2024, 10:34 AM Sep 8, 2024, 10:33 AM

                        @stephenw10 @Gertjan @jrey @bmeeks @SteveITS Hi all, so you know the fixes you provided have worked perfectly. Spotify has been behaving itself extremely well for a few days now, and is much more responsive too. I can't thank you all enough 😎😁

                        I did realise afterwards that I also had pfBlockerNG misconfigured too (several people mentioned I might have done this) as it started aggressively blocking everything all of a sudden. So that's been reset back to factory except from being told to only update at night once a day.

                        Thanks again everybody, I'm very grateful 🫡

                        1 Reply Last reply Reply Quote 2
                        • M
                          MikeHalsey @jrey
                          last edited by Sep 19, 2024, 2:27 PM

                          @jrey @stephenw10 @Gertjan @SteveITS @bmeeks I just thought I'd let you all know and post here just in case anybody else has the same problems I've had with Spotify.

                          A few days after my last post the issue with Spotify not seeing speakers and dropping connections returned. I did some hunting around online and eventually did find some other people who had the same problem, one of whom had a solution.

                          So if anybody else is finding pfBlocker is blocking Spotify and your speakers, add the domain byspotify.com to your DNSBL whitelist and restart pfBlocker in the Services panel, that fixed it 😁

                          B 1 Reply Last reply Oct 17, 2024, 4:52 PM Reply Quote 1
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by Sep 19, 2024, 2:33 PM

                            Ooo, good tip. 👍

                            1 Reply Last reply Reply Quote 0
                            • B
                              bitperfect @MikeHalsey
                              last edited by Oct 17, 2024, 4:52 PM

                              What is byspotify.com?

                              I am having intermittent Spotify disconnects all day long but I think my issue might just be librespot implementation in my device.

                              J 1 Reply Last reply Oct 17, 2024, 5:09 PM Reply Quote 0
                              • J
                                jrey @bitperfect
                                last edited by Oct 17, 2024, 5:09 PM

                                @bitperfect said in Netgate 2100 blocking? Spotify issue:

                                What is byspotify.com?

                                something they want their devices to check into periodically in order to function (and collect information) - SONOS has much the same "msmetrics.ws.sonos.com"
                                it is on some block lists and if you don't white list it their "new" app just crashes.
                                The cost of using their platform.

                                whois

                                login-to-view

                                B 1 Reply Last reply Oct 17, 2024, 6:12 PM Reply Quote 0
                                • B
                                  bitperfect @jrey
                                  last edited by Oct 17, 2024, 6:12 PM

                                  @jrey Thank you very much!

                                  I found byspotify.com in my DNSBL block log so I have whitelisted it. Now the wait begins to see if it makes a positive difference.

                                  I also found the Sonos domain but left that alone as I have no issues with my Sonos speaker.

                                  M 1 Reply Last reply Nov 9, 2024, 6:23 AM Reply Quote 0
                                  • M
                                    MikeHalsey @bitperfect
                                    last edited by Nov 9, 2024, 6:23 AM

                                    @bitperfect I also found the domain rnwspotify.com in my block log, and Spotify works much better now I've unblocked that too 🙂

                                    B 1 Reply Last reply Nov 9, 2024, 9:16 PM Reply Quote 0
                                    • B
                                      bitperfect @MikeHalsey
                                      last edited by Nov 9, 2024, 9:16 PM

                                      @MikeHalsey, thanks for the update.

                                      I eventually determined the issue to be with my Spotify Connect endpoint and not the pfBlocker system. I have since demoted my audio system to using Airplay and it has been fine. Now I just need Airplay 3 to be released so it can be a bit perfect audio stream but that is another issue for another forum 👍

                                      1 Reply Last reply Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee
                                        last edited by Nov 9, 2024, 10:55 PM

                                        Upnp thing??

                                        Make sure to upvote

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bitperfect
                                          last edited by bitperfect Nov 10, 2024, 12:21 AM Nov 10, 2024, 12:16 AM

                                          No, it is because my streamer is not from an official Spotify Connect authorized vendor. Instead, they use the open-source Librespot client library, which can be flakey depending on its implementation.

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.