# SSRF Protection triggered

**URL:** <https://community.xibo.org.uk/t/ssrf-protection-triggered/38081>\
**Category:** Linux Player App\
**Created:** [June 9, 2026, 1:15pm UTC](https://community.xibo.org.uk/t/ssrf-protection-triggered/38081 "2026-06-09T13:15:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![odin1](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/o/eb9ed0/32.png) [@odin1](https://community.xibo.org.uk/u/odin1)\
**Post date:** [June 9, 2026, 1:15pm UTC](https://community.xibo.org.uk/t/ssrf-protection-triggered/38081/1 "2026-06-09T13:15:43Z")

</div>

### Player Version

Version: 4.4.3

## Issue

When trying to add a media URL in Library/Media to an internal website, I get “Unexpected Error, please contact support.”

I changed the log to Error level and get: SSRF Protection triggered. Blocked request to restricted IP: IP\_ADDRESS.

Xibo is installed with Docker on a Ubuntu Server with Apache, I can ping the hosting server for the internal website and the actual website after I added the local DNS both in the Docker and in Ubuntu.

What I have done so far:

- Added the DNS server to both Ubuntu and Docker which resolved the local.name
- Tried using IP address instead of the local.name in Xibo
- Changed in SafeClient.php: $stack-\>unshift(SsrfProtectionMiddleware::create([  
‘allow\_local\_network’ =\> $config[‘xibo’][‘allow\_local\_network’] ?? true  
]), ‘ssrf\_protection’); I copied it from the container, edited the file and added it to mount in the compose file and finally restarted. I have verified that the new file is mounted with the new changes.

I have tried to search for a solution and related to the SSRF but with no luck.

Thanks in advance for any help or guidance!

---

<div class="post-metadata">

**Author:** ![odin1](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/o/eb9ed0/32.png) [@odin1](https://community.xibo.org.uk/u/odin1)\
**Post date:** [June 10, 2026, 7:01am UTC](https://community.xibo.org.uk/t/ssrf-protection-triggered/38081/2 "2026-06-10T07:01:31Z")

</div>

I’m trying also different widgets when creating a Layout but that does not work. Important note here is that the internal webpages are PHP.

---

<div class="post-metadata">

**Author:** ![odin1](https://community.xibo.org.uk/letter_avatar_proxy/v4/letter/o/eb9ed0/32.png) [@odin1](https://community.xibo.org.uk/u/odin1)\
**Post date:** [June 10, 2026, 8:13am UTC](https://community.xibo.org.uk/t/ssrf-protection-triggered/38081/3 "2026-06-10T08:13:33Z")

</div>

I have resolved the issue. I need to use webpage widget but why some were not working was a CSS issue.

---

<div class="post-metadata">

**Author:** ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)\
**Post date:** [September 9, 2026, 2:13pm UTC](https://community.xibo.org.uk/t/ssrf-protection-triggered/38081/4 "2026-09-09T14:13:41Z")

</div>

Closed on September 9, 2026, 2:13pm UTC

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.
