Some icons wont load in Jenkins

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Some icons wont load in Jenkins

Vishnu V Potti
Hi All,

 I have a Jenkins accessed via Netscaler endpoint. https://company.internal.com/jenkins.    
 Earlier I used to access via host:8080 format. i.e http://host:8080/jenkins and everything was working.    It stil lworks fine when accessed like that. 
 
At Netscaler side, we set "x-forwarded-proto" = https header and http to https redirection. Functionality wise works ok. Now I am seeing issues where the login screen logo wont load and some plugin icons wont load.      

Images below.


image.png

I debugged as seen below. I navigated to the url which was formed. The image doesn't exist in that location. But if I access via the host then it can be accessed. The two urls are below.

`https://company.internal.com/jenkins/static/e0c7cecc/plugin/credentials/images/24x24/credentials.png` Doesnt work
`http://host:8080/jenkins/static/e0c7cecc/plugin/credentials/images/24x24/credentials.png` Works

image.png



image.png

Any idea what's going wrong and how can I resolve these issues? Although these doesnt impact functionality I would like to fix them.

  What i did so far w.r.t debugging.
1) Referenced this link https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy  and made some modifications. Nothing worked.
2) Installed Simple Theme Plugin and could resolve jenkins logo issue in the inner pages ,but not in the login page.


Thanks in advance.
Vish

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/15396cd0-f7f5-4cc8-b036-54150bd7296co%40googlegroups.com.