This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CSS Formatting Issue through Sophos

Hello,

We are using a website for our finance system, and everything is working on the website, except it looks like the CSS is jumbled, and it's showing the background of the website in-front of many buttons/fields etc.

This is an image of what we see 

This is what we should see

We believe it's an issue with Sophos as it works normally when not using a network device. For example, it works fine on my mobile.

We're not sure what's causing this issue, if anyone has had this before?



This thread was automatically locked due to age.
Parents Reply
  • Often what happens is that a website loads an external resource which is either blocked or fails to load.

    For example the page
    domain.com/foo.html

    tries to load
    otherdomain.com/foo.css
    domain.com:8080/foo.css
    Maybe it is loading from another domain that is blocked by category, or it has hardcoded loading on other ports which you don't have a firewall rule for.

    I would go to the client browser, open a private window/incognito.  His F12 and bring up the network.  Load the page.  Wait several seconds.  Look at the browser networks tab to see if something was blocked (return 403) or did not load.

    Personally, I suspect ports.  If you don't want to do the F12 browser test, try making the firewall rule apply to Services All rather than HTTP/HTTPS.

Children
  • Hi Michael,

    I did do this, it came back with an error on the bootstrap.min.css saying '(failed) net:ERROR_CONNECTION_CLOSED' and goes to ajax.aspnetcdn.com, which is in my whitelist of domains already.

  • Connection closed means it is more likely you have a firewall rule problem than a web proxy problem.  I don't think that F12 tells you the port.

    Three things to try

    1)
    Go to the page and View Source.  Look for ajax.aspnetcdn.com.  Does it include a port?

    2)
    Use wireshark on the client to watch the packets.  You should see exactly where it is trying to go and what port.

    3)
    On SFOS look at Log Viewer.  I would try Detailed View so that you can see all the logs types together and then filter by source IP.  See if there is a log of the block.


    Firewall blocks can be for a variety of reason, I don't know your config. Port not allowed is a possibility, but then so is GeoIP blocking.  App control and IPS.

    Note: The default drop rule (the read only rule at the bottom of firewall rules) does not log - would be way to noisy.  If you are not getting anything in the log you can try adding your own Drop rule as the last firewall rule, with logging on.



  • Hi Michael,

    I had ran wireshark, as I couldn't see anything in the source, or the detailed version of the log viewer. Wireshark did bring up red fields, but I am quite limited with my knowledge of it, so I can't say for certain if they are coming from the website, but I can at least test them.

    So where should I go to try unblocking this port that I have?

  • Save the wireshark pcap and send it to me in a private message, I will take a look.