1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Something is wrong with xenforo.com

Discussion in 'General XenForo Discussion and Feedback' started by Luxus, Jul 24, 2015.

  1. Luxus

    Luxus Well-Known Member

    First and foremost, this is going on for months and is not an issue on my end. Most of the time when I access xenforo.com I see this:


    And this:


    The site loads slow and as the two pictures show, CSS and Javascript are not or partially loaded. I'm not sure myself but this could be an indicator of high load as the server fails to serve me with CSS and Javascript files. Could it be that xenforo is a target of an DDoS attack?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I access the site hundreds of times a day and never encounter that.
  3. Amaury

    Amaury Well-Known Member

    No issues here, either.
  4. rwm1962

    rwm1962 Active Member

    I don't get that but many day's it errors on my mobile & just won't load but other sites are fine including other sites running Xenforo. Laptop & PC are fine. Working fine just now however!
  5. Luxus

    Luxus Well-Known Member

    I took a picture of the Resources page right now and some images are missing:

  6. Brogan

    Brogan XenForo Moderator Staff Member

    It sounds like an ISP or routing issue between the xenforo.com server and you.
    Flying Anonymoose likes this.
  7. Solidus

    Solidus Well-Known Member

    Try using OpenDNS or Google DNS.
  8. HWS

    HWS Well-Known Member

    This is -again- a common problem with the "base" tag XenForo uses in all it's pages. This tag is known to have problems in many situations with all of the browsers. Just search Google.

    We also encounter such problems in our server logs daily. There is not much you can do about except reloading the page or using another browser. Many of our users have complained about it and I also see this issue from time to time myself.
    BoostN likes this.
  9. rwm1962

    rwm1962 Active Member

    I was checking the forums new posts on my phone today & it happened again. I couldn't get back on although I could browse other sites fine & my own XF forum.

    I'm able to access now several hours later.

    Screenshot_2015-07-25-12-48-08[1].png Screenshot_2015-07-25-12-45-14[1].png
  10. HWS

    HWS Well-Known Member

    Our solution was to explicitly set the js and data urls to the regular forum URL in config.php and to create an add-on to move the CSS files to the data path also and serve them from there.

    After this was done the "base" tag was no longer involved with those important links and all complaints have stopped.
  11. Luxus

    Luxus Well-Known Member

    Here is a screenshot of the current thread. I'm not going to mess with my DNS settings just for one website.

  12. Mike

    Mike XenForo Developer Staff Member

    It's unlikely to be DNS. That appears to be part of the CSS not loading properly, which would point to a network issue. I don't know of any issues in the network (in terms of SoftLayer's), so there could be something between you and them that is causing sporadic packet loss. Unfortunately, there's unlikely to be much we can really do to prevent it.
  13. Kevin

    Kevin Well-Known Member

    I've also had this happen at work when going through our corporate network & proxy. For whatever reason the page content is presented in the browser but not the corresponding CSS and/or JS. Usually refreshing the page loads fine.

    Since it is likely related to our network caching & settings it is something I just live it with since there is nothing that can be done about it from the site side (it's not just XF.com it happens on when at work).
  14. HWS

    HWS Well-Known Member

    It would be fine if in a future version of XF the dependence on the "base" tag could be removed. This would help a lot with several such issues (CSS, JS, etc).
  15. Mike

    Mike XenForo Developer Staff Member

    That's really unrelated to this issue though. The CSS is still going to fail to load with a network issue independent of whether a base tag is needed.

    The base tag is in the source of the page, so if you get the page, the tag will be respected regardless of other network failures; if something accessing the page ignores the base tag, that's an issue with that agent.
  16. HWS

    HWS Well-Known Member

    I do not know exactly why, but it seems that several agents have problems with the "base" tag occasionally. It looks like they've a harder job when the base tag is there and this job fails sometimes.

    As said, we had a lot of complaints about js and css not being loaded and all that stopped after we circumvented the base tag with the js data url in config and a special solution (like "[bd] Cache") for the CSS.

    It may improve XF and help agents/browsers to do their job correctly if you want to take a deeper look into that. The base tag has a history of making it harder for agents to render the page correctly.
  17. HWS

    HWS Well-Known Member


    Such lines in the web server error log are a clear indication, that the "base" tag is the culprit of those problems (even if it is hard to believe):
    2015/08/01 11:16:34 [error] 9698#0: *3262134 open() "/var/www/*****/threads/650086/styles/rogue/xenforo/avatars/avatar_m.png" failed (2: No such file or directory), client: **.112.80.150, server: *****, request: "GET /threads/650086/styles/rogue/xenforo/avatars/avatar_m.png HTTP/1.1", host: "*****", referrer: "http://*****/threads/650086/page-2"
    Please grep your own error log and you'll see yourself...
  18. Mike

    Mike XenForo Developer Staff Member

    I'm not debating that things like that happen. It's just likely orthogonal to this particular issue.
    Divvens likes this.
  19. JamesBrown

    JamesBrown Well-Known Member

    I had to look up orthogonal :oops: :)
    wedgar, Pfaul and abbychase like this.
  20. Moshe1010

    Moshe1010 Well-Known Member

Share This Page