Skip to Content
It is currently January 27th, 2022, 12:03 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: June 1st, 2021, 9:57 am 
Offline
Junior User
Junior User

Joined: May 27th, 2011, 11:22 am
Posts: 64
Location: Westfield, NJ
due to attacks. Since SAM reporting uses port 10080, it no longer works. Any way to configure a different port?

Article: https://www.bleepingcomputer.com/news/s ... g-attacks/


Top
 Profile  
Reply with quote  
PostPosted: June 1st, 2021, 2:10 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
The SAM Reporter itself can't be configured to a different port.
There's three workarounds I can think of that might or might not work for you:
#1 Set up Port-Forwarding on your Router/WiFi-AP and forward port 10080 from your SAM computer to a different port number externally, than access SAM reporter using the external IP/dyndns hostname of your internet connection.
#2 Change the Enterprise policy for Chrome to reenable port 10080 (In Firefox you can find that in about:config with the setting network.security.ports.banned.override which you might need to create first and set to type string, then enter 10080 as the value)
#3 Use a reverse proxy to map 10080 to a secondary port and open your browser on that port instead.

For #3 I suggest downloading nginx from here: https://nginx.org/en/download.html => Nginx comes as a zip file and doesn't have a GUI or installer. You have to configure it using a config file like this:
1. Extract the zip file somewhere (preferably somewhere in your user directory, i.e. the documents libaray of windows 10)
2. Navigate to the extracted folder (it should be named something like nginx-1.2.10, depending on whether or not you created a new directory when extracting there might be a single folder with the same name inside that) and find the nginx executable (green letter g icon, should be the only file in that folder next to several more subfolders)
3. Navigate to the conf folder and open nginx.conf file in your editor (Windows might ask you for a program to open this with and if you don't have any better editor, notepad will do just fine if you have Windows 10, otherwise I suggest using Notepad++ or something similar that is capable of handling line endings and won't put everythying in the same line)
4. Go to line 43 where it says location / {
5. Insert a new line following that so it's within the squiggly brackets and make sure the indentation matches the rest of the block, write the following: proxy_pass http://127.0.0.1:10080;
6. remove the following lines up to the closing squiggly bracket } (LEAVE THE SQUIGGLY BRACKET)
7. The block should look like this now:
Code:
        location / {
            proxy_pass http://127.0.0.1:10080;
        }

That's 8 spaces on the location line and 12 spaces on the proxy line
8. Save the file
9. Go up one folder to where you found the nginx.exe (green G icon)
10. Double click that file to run it (Windows will probably tell you this is dangerous because you downloaded it from the internet, in that case click the more information line in the dialog box and then click run anyways [or similar - my Windows is set to German language, the phrases here are called "Weitere Informationen" and "Trotzdem ausf├╝hren"])
11. Now run the SAM Reporter software, but don't make it open the browser for you (that doesn't work and only Spacial can fix that for you). Instead manually navigate to http://127.0.0.1 or http://localhost in your favorite browser (Chrome, Edge, Firefox, => If you're still using IE, you didn't have to go through the first 10 steps and could've just used port 10080 instead)

I've attached the modified nginx.conf file where I changed that stuff already (please note: The Spacial forum only allows uploading txt files, so the file attached is called nginx.conf.txt and must be renamed to just nginx.conf before you can use it. If your Windows is set to hide file extensions, please for your own safety turn that feature off. It's super dangerous and you can't change the file extension by renaming the file in that case.)


Attachments:
nginx.conf.txt [2.69 KiB]
Downloaded 144 times

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode
Top
 Profile  
Reply with quote  
PostPosted: June 1st, 2021, 6:46 pm 
Offline
New User
New User

Joined: January 2nd, 2021, 1:43 pm
Posts: 10
Since this has just happened, would it even be feasible to uninstall this new version of Chrome that is blocking Port 10080 and install a previous version of Chrome from before they "fixed" it? I am in a world of hurt as I must do a monthly Detail Report to create Proofs of Performance to go out with the invoices to our underwriters. I show them exactly when their spots play, to ensure that we are honoring our commitments to them.


Top
 Profile  
Reply with quote  
PostPosted: June 2nd, 2021, 9:20 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
Is it possible? Yes. Would I recommend using that version of Chrome for anything but the report generation? No!

I'm not using Chrome for anything other than testing websites I built. My main Browser is Firefox and there it's a simple setting to allow the port again.
The instructions for nginx might look scary, just because I detailed them very much. If you're already comfortable with editing text files and navigating the Windows Explorer (trust me: 75% of the people using SAM Broadcaster are not comfortable doing either of these, I sometimes wonder how they manage to work with a computer at all)

A shorter version is: Download nginx, extract it, replace the bundled nginx.conf with the one from the attachment, run the nginx.exe and then use http://localhost instead of http://127.0.0.1:10080 in your browser.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: June 2nd, 2021, 10:34 am 
Offline
New User
New User

Joined: January 2nd, 2021, 1:43 pm
Posts: 10
I'm comfortable editing text files and navigating Windows Explorer. I'm under the gun to get reports out to go with invoices, and looking for most expeditious way to handle this. I've been intending to go to Firefox, but this is my production SAM, running a radio station, and I'm hesitant to mess around too much! The computer running SAM is only used for that - no web browsing, no googling anything, no connecting to other services, etc. Even a reboot of that computer during the day is 'way less than ideal!

Not familiar with Firefox - is it as simple as installing it, then do this?:

(In Firefox you can find that in about:config with the setting network.security.ports.banned.override which you might need to create first and set to type string, then enter 10080 as the value)

No idea at this point how to configure Firefox, but more comfortable than introducing something else on that computer. Assuming after the port is configure, would need to set Firefox as default browser?


Top
 Profile  
Reply with quote  
PostPosted: June 2nd, 2021, 3:33 pm 
Offline
New User
New User

Joined: January 2nd, 2021, 1:43 pm
Posts: 10
Thank you very much for your suggestions. Firefox with port 10080 enabled allowed me to run my reports. As a precaution, I deleted that setting and will add it back only to run reports. With the SAM computer pretty much a single-app machine, I was comfortable doing that for the few minutes it took to run reports.


Top
 Profile  
Reply with quote  
PostPosted: June 2nd, 2021, 10:32 pm 
Offline
New User
New User

Joined: July 11th, 2020, 3:13 am
Posts: 4
Will their be an update with Sam broadcaster to move it to an allowed port?


Top
 Profile  
Reply with quote  
PostPosted: June 3rd, 2021, 6:50 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
It has been years since the last time someone from the company posted anything on the forums, so you better not hold your breath waiting for an official answer.
If you want to know their Roadmap / if there even is one, please contact Spacial directly through the help center/ticket system.

That said: Spacial has never backported fixes to older versions of SAM, so if this will be fixed in a future release, you need to have an active subscription.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: June 3rd, 2021, 10:16 am 
Offline
New User
New User

Joined: January 2nd, 2021, 1:43 pm
Posts: 10
I got the following this morning from Spacial support, in response to my ticket from Tuesday. Until I asked them to escalate to their manager, the first-line support person insisted it was a problem with my database, which I thought unlikely. I kept sending links to information about Google's, Firefox', and Edge response to port 10080.

Jasrah (Spacial Technical & Sales Support)

Jun 3, 2021, 4:27 CDT

Hello,

(From our Manager.)

It appears that the latest release of Google Chrome is preventing the option we previously provided to customers who were affected by this issue.

I would recommend switching to Firefox or Edge and investigating how to open unsafe ports. This link covers the now defunct Chrome option as well as the Firefox solution:

https://thegeekpage.com/err-unsafe-port/

The port required is 10080

I am sorry for the inconvenience this has caused and we are working on a permanent solution.

Kind Regards,

Jasrah
Support Specialist.


Top
 Profile  
Reply with quote  
PostPosted: June 3rd, 2021, 6:42 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
Yeah, the SAM Reporter hasn't seen any updates in years, so I guess they don't test that for every new release of SAM and most likely don't use Firefox at all (Firefox was the first to block Port 10080 in December 2020)

The first level support of Spacial is rubbish to say the least. It sometimes seems their only job is to keep actual support cases they have to investigate down to a minimum, even if that means just scaring/pissing people off until they give up.

Good to know you got through to someone capable at last and they're now working on a "permanent" fix.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: November 2nd, 2021, 6:17 am 
Offline
Senior User
Senior User

Joined: September 24th, 2007, 2:01 pm
Posts: 195
I found a workaround for this using the most recent version of Edge in Windows 11.

Within Settings, go to Default Browser

Select to allow sites to be reloaded in Internet Explorer mode

You will see Internet Explorer mode pages and an option to add specific pages to be opened in Internet Explorer mode.

Add your typical report address ie http://localhost:10080/reports/report.airplay.php

Now it will open the reporter in IE mode. The address may need updated every 30 days, but at least it works.


Top
 Profile  
Reply with quote  
PostPosted: November 3rd, 2021, 9:23 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
dblevins wrote:
I found a workaround for this using the most recent version of Edge in Windows 11.

The most recent Edge Version on Win10/11 is basically Google Chrome with a new Skin and some plugins by Microsoft.
So if you add the " --explicitly-allowed-ports=10080" to your Edge shortcut it should work as well without having to adjust the settings every few months.

I haven't tried this myself, but I believe SAM Reporter has no license checks, so you could just download the most recent SAM version, install it to a different directory so as to not overwrite your outdated version and then take the SAMReporter folder from that new SAM version instead.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: November 28th, 2021, 6:29 am 
Offline
Senior User
Senior User

Joined: September 24th, 2007, 2:01 pm
Posts: 195
Mastacheata wrote:

So if you add the " --explicitly-allowed-ports=10080" to your Edge shortcut it should work as well without having to adjust the settings every few months.


I tried this. It didn't work for me


Top
 Profile  
Reply with quote  
PostPosted: November 28th, 2021, 12:14 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8299
Location: Cologne (Germany)
It works just fine on Win11.

You can only use that trick with the "new" (came with a Windows 10 update in April 2021) MS Edge that's based on Chromium or any other Chromium based browser (i.e. Brave, Chrome, Chromium, Opera, ...). Not the old MS Edge that uses Microsoft's own Engine.
Attachment:
old-vs-new-edge.png
old-vs-new-edge.png [ 56.57 KiB | Viewed 805 times ]


You can also find the version via the 3 dots menu in the Browser, then open Help, then click Info on/about Microsoft Edge.
The version number should be in the 90s (The current stable version is 96-something). If you're still in Version 44 or even lower, you're most likely running an Enterprise version of Windows with disabled updates or explicitly rolled back to the old MS Edge.


You can find the link via the start menu and search for Edge then click "open ... location",
Attachment:
open location.png
open location.png [ 142.95 KiB | Viewed 805 times ]


then select the edge icon in the explorer Window that opens and select properties from the context menu
Attachment:
properties.png
properties.png [ 118.6 KiB | Viewed 805 times ]


, last but not least, edit the path in the link and append --explicitly-allowed-ports=10080.
Attachment:
link.png
link.png [ 14.81 KiB | Viewed 805 times ]


Et voila: It works.
Attachment:
works.png
works.png [ 76.28 KiB | Viewed 805 times ]


Disclaimer: I'm not 100% sure about all the context menu labels. Especially the open location one could be named completely different in English. The location of the buttons and context menus should be the same in every language, though. (Mine is German, obviously and all the Screenshots are from a German Windows)

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group