Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JSD portal spinning

Hi,

we have upgraded jira software to 8.10.1  and jira  service desk 4.10.1 from 8.4.2 and 4.4.2 accordingly on our test environment. We encountered no problem but running JSD portal which wants to start a http session(picture at1). We would expect a https over the ngix proxy. There is no portal response, the cursor is spinning (picture at2). Chrome console error:

Mixed Content: The page at 'https://jira-test3.marand.si/plugins/servlet/project-config/MAIN/notifications' was loaded over HTTPS, but requested an insecure frame 'http://jiratest3.marand.si:8080/servicedesk/customer/portal/301'. This request has been blocked; the content must be served over HTTPS.

We have also tried to upgrade to 8.11.1&4.11.1 with the same result. There was no problem in version 4.10.1. What is changed?

BR Andrej

 

 

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Aug 28, 2020

Hi Andrej,

I see that you have recently upgrade Jira and Jira Service Desk, but since that time you seem to be getting a mixed content error message where pages are not loading correctly.  This mixed content here will happen for a couple of different reasons:

  1. The Base URL in Jira is set to use the HTTP value, but the page you are directly requesting is the HTTPS one.  Check the base url setting to confirm.
  2. The other common cause here is that the $JIRAINSTALL/conf/server.xml could be missing some parameters in the connector tag.  You mentioned using nginx to proxy for Jira, and we see that there is an http connector on port 8080.  Find that connect in the server.xml file on port 8080 and then check to make sure this tag also has the correct proxyName, proxyPort, and scheme parameters.

I would expect that it would look something like this:

<Connector acceptCount="100" bindOnInit="false" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`&quot;&lt;&gt;" useBodyEncodingForURI="true"
proxyName="jira-test3.marand.si"
proxyPort="443"
scheme="https"/>

Without these last 3 parameters, Jira does not correctly understand that traffic to it is being proxied through another application.  Try making sure these values exist, save that file, and then restart Jira for any changes to take effect.

Let me know if this helps.

Andy

Hi Andy,

thank for your kind suggestion, but it does not solve the problem. All required parameters are set. In fact we use the same server.xml  as on version 4.4.2. which is working fine

The only thing I do not understand how is jira software resolving https correctly, but not JSD.  In the meantime I have noticed that also attachment are not served over https

Talk soon

Andrej

Andy Heinzer Atlassian Team Sep 01, 2020

I found one other case that appeared to have the same error, but it was not this version.  In that case the admin changed the connector port from 8080 to 8085 in both Jira's server.xml and in their proxy configuration as a means to resolve this.

Do you still have the 4.4.2 version up and running?  Are the hostnames different?  Perhaps if we can better understand the details of the previous configuration (both Jira and nginx) perhaps we can better understand the behavior here.

Thanks Andy. We had a typo error as there were two Connector on port 8080 defined in server.xml. Problem solved.

Like Andy Heinzer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

163 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you