alcea, German
@alcea@urusai.social avatar

@neatchee

I'm now convinced this instances is nonfunctional:

<iframe src="https://urusai.social/@alcea/111930128447596713/embed></iframe>

Works on all the other instances I know (mastodon.social, pb.todon.de , phpc.social)

But on urusai .. Fails ?

Is this a issue ?
I'm so 😿

(As you can see in that collection, I tried a embed test
It works on the other instances, but .. Not here)

neatchee,
@neatchee@urusai.social avatar

@alcea Can you give me a direct link to a page with a broken embed?

alcea,
@alcea@urusai.social avatar

Right this f.e. (readd https before copy paste)
<iframe src="urusai.social/@neatchee/111930750283341992/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe><script src="embed.js" async="async"></script>

They wont render "in iframe"
Which defeats their purpose.

I'll add @koyu maybe that one knows why.

koyu,
@koyu@kopimi.space avatar

@alcea Tell that instance admin to properly send iFrame headers. Misconfigured webserver. Also it’s quite annoying getting a mention almost every day, sometimes more than once in a row.

neatchee,
@neatchee@urusai.social avatar

@koyu @alcea thanks for the heads up! I will look into this ASAP

alcea,
@alcea@urusai.social avatar
alcea,
@alcea@urusai.social avatar

@neatchee @koyu

So..

What was the issue ?

*curious look :aquajiji:​ *

neatchee,
@neatchee@urusai.social avatar

@alcea @koyu Ayyy glad to see it's working.

tl;dr: cloudfront by default sets the X-Frame-Options header to "SAMEORIGIN" and doesn't allow you to set it to "ALLOWALL", only 'DENY' or 'SAMEORIGIN'. So I had to make sure the CloudFront response headers were set up to pass the value that it was receiving from the webserver, which also meant properly configuring nginx to ignore the header value sent through the proxy and set it to ALLOWALL manually

I don't know if that's the RIGHT way to do it, but it's working so it can't be that wrong :)

Let me know if it stops working again as I'm going to continue tweaking settings for security

alcea,
@alcea@urusai.social avatar

@neatchee @koyu
throws confetti

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • khanakhh
  • mdbf
  • InstantRegret
  • magazineikmin
  • everett
  • cubers
  • rosin
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • thenastyranch
  • JUstTest
  • modclub
  • Durango
  • GTA5RPClips
  • cisconetworking
  • osvaldo12
  • ethstaker
  • Leos
  • tester
  • anitta
  • normalnudes
  • provamag3
  • megavids
  • lostlight
  • All magazines