Iframe not loading - Help



  • Good day,

    Loving nodebb

    I have put nodebb in an iFrame at http://lifewithtech.net/forum
    It works great and responsive on the desktop

    However, on my iPhone 6s the iFrame comes up black.
    I have tested with other urls and they seem to work fine, but using nodebb it displays a black screen

    Any thoughts on what may be causing this.

    Thanks



  • This post is deleted!


  • I am totally lost here. I have no? Why this is happening. Any help would be appreciated.

    Any thoughts would be very helpful.

    For some reason my home compter/network is loading it fine through the iFrame.
    I've come to the conclusion it has something to do with the DNS.

    Home DNS I use is 156.154.70.1 (main) this one loads the iframe fine.
    If I change it to google 8.8.8.8 it does not load any longer
    On my iphone if I turn off wifi it also dosn't load using ATT cellular

    Is this some ISP's restricting something about the forum.

    Again I've tried leaving the iframe code in tacked and changed the url to my buddys website and loaded fine in all cases.

    Is there something in NodeBB code that is preventing this to work on some ISPs

    I'm grasping at straws as to a reason this is happening any help would be appreciate

    More specifics
    Domains are hosted with hover.com
    Main site is hosted at squarespace (lifewithtech.net)
    NodeBB is living locally as a VM on a Xenserver at port 4567 the domain forum.lifewithtech.net it's A record is pointing to my local IP and my Untangle firewall is port fowarding 4567 to it.


  • Admin

    @tfraley Did you say it didn't work on Lavender only?

    Possibly Google Web Fonts don't load through iframes...


  • GNU/Linux

    Visiting http://forum.lifewithtech.net:4567/?wmode=opaque directly works just fine.

    This is a wild guess, but have you tried setting

    ACP -> Settings -> Advanced -> "Set ALLOW-FROM to Place NodeBB in an iFrame:" to lifewithtech.net?

    I highly doubt though, that this is your problem, since this seems to happen at an earlier stage - like you said while resolving the DNS request. I think you'll have to go through your server's logs and figure out where exactly the request dies off.



  • @julian and @rbeer

    Thanks.

    Ok
    I did have lifewithtech.net in the set allow-from section

    Currently I have the Persona theme enabled
    With this theme iFrame works on desktop and does NOT on iPhone
    With the Lavender theme (Which I perfer) in iFrame it does NOT work on desktop and does NOT work on iPhone
    I also get a strange issue when replying ie the comment box does not pop up

    Any thoughts?


  • Admin

    Make sure the composer-default plugin is enabled



  • @rbeer said:

    I highly doubt though, that this is your problem, since this seems to happen at an earlier stage - like you said while resolving the DNS request. I think you'll have to go through your server's logs and figure out where exactly the request dies off.

    I'm not sure how to go about looking over the server logs lifewithtech.net is hosted over at squarespace so don't have access to it's logs. And again I could put another site in the iFrame and it works fine.

    Realy got me stumped

    Ok had to wait 10min to make another post didn't have rep.

    OK curretnly Lavender is enabled, I did not have the composer plugin installed. I installed that and it seemd to fix the comment thing.

    Hoever lavender is still not accessiable in ifram on desktop or mobile.
    I leave this theme up until I hear back



  • We can close this top..

    I'm not realy sure how I fixed it.
    I went into my DNS host changed the domain to another one, tested then switched it back and seems to have shaken something lose in the dns

    Thanks for the help


Log in to reply
 

Suggested Topics

| |