#5950 CSS styles are missing
Closed: Insufficient data 6 years ago Opened 6 years ago by vondruch.

It happens quite often, that I open Koji (and Koschei probably as well) and while it opens, it loads styled but almost immediately, the styles are dropped and the Koji is completely unstyled. Page reload always reloads the styles and the page looks ok. Any idea why this happens?
Snimek_z_2017-04-04_08-35-37.png


Are you using the EFF's Privacy Badger extension? I've seen it block our CSS file, it took me a while to figure it out.

Can you open https://koji.fedoraproject.org/koji-static/koji.css ?

No, I don't use any extension (to my knowledge) which should be blocking anything. Yes, I can open the CSS file.

Can you open the firefox tools->web developer -> network console, then reload the page when this happens and see if you can see any errors on any of the elements?

I can, but it never happens second time ....

I should mention, that I typicly access Koji by my browser "quick search" shortcut:

https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=%s

I.e. I just type "k foo" and it replaces the "%s" in the link above, so I actually access:

https://koji.fedoraproject.org/koji/search?match=glob&type=package&terms=foo

In this case, there happens some redirect, if that might have some impact ....

I tried that and still cannot see it here.

I'm pretty stumped... the resources all come from the same (virtual) host.

When it fails does it seem to take a long time to load? Or loading time is normal, just css missing?

Perhaps @mikem can think of something here...

The only time I've ever seen this is in strange development situations where the koji-static alias is not et up or not working. I've never seen it on koji.fp.o.

It would be interesting to see the firefox console log when this happens.

Might also be interesting to see the access logs from instance of this.

The stylesheet is href="/koji-static/koji.css", so if it's not loading, then the problem is between the browser and the web server.

How long has this been happening? I would suspect maybe something with the proxy setup.

The load time looks normal. Sometimes it is loading and the styles appears just to flick and disappear. I see this issues for quite some time now. I'd say may be even years.

I'd say may be even years

So I /think/ that eliminates the proxy as the problem (it's fairly new isn't it?)

It sounds like this happens regularly for you. Could you maybe try to replicate this with the web console up (ctrl-shift-K)?

Stupid questions: Does it currently happen on a RH network? Does it also happen on non-RH networks?

It definitely happens on RH network. Not sure if it happens outside ...

We've had our share of weird network issues on RH networks. Would you have a way to test this in a non-RH network?

You may also want/need to try with and without VPN as we observed that it could lead to strange results sometime

@vondruch any luck catching this with the web console up?

No, not yet. Actually as far as I remember, I have not observed the issue since my last comment. Will keep observing ...

This is still issue from RH network. I have not observed it outside of RH, but I don't use Fedora servers heavily outside of RH, so hard to tell ....

Any news on catching this with the network monitor up?

Sounds like this is a tricky one to catch. :sob:

@vondruch can you re-open this or file a new issue when you catch it again?

Thanks!

Metadata Update from @kevin:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata
Attachments 1