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

Emoticon not working after enabling https

krishna vaitla March 11, 2019

Emoticons not working it is pointing to http instead of https

When i add emoticon and save it in logs it is redirecting to "http" while my base URL is https://xxxxxx:8443

http://xxxxxxx:8443/emoticons/star_red.svg

 

CURRENT OUR CONFLUENCE VESRION :6.14.1

I don't understand what did  i missed please check below if my configuration is correct below.

 

vim server.xml: 

  1. Connector port="8443" maxHttpHeaderSize="8192"
    SSLEnabled="true"
    maxThreads="150" minSpareThreads="48"
    clientAuth="false"
    scheme="https"
    secure="true"
    keystorePass="changeit"
    keystoreFile="/test/server.pkcs12"
    keystoreType="PKCS12"
    protocol="org.apache.coyote.http11.Http11Nio2Protocol"
    enableLookups="false" sslProtocol="TLSv1.2"
    sslEnabledProtocols="TLSv1.2" disableUploadTimeout="true"

vim /etc/httpd/conf.d/server.xml

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

<VirtualHost *:443>
ProxyPreserveHost On
ProxyRequests Off
ServerName confluence.com
ServerAlias confluence.com
SSLEngine On
SSLCertificateFile /app/scm.pem
SSLCertificateKeyFile /app/scm.key
Redirect Permanent / https://xxxxxxx:8443/
Redirect Permanent /synchrony https://xxxxxx:8443/synchrony
</VirtualHost>

3 answers

0 votes
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 7, 2019

Same issue here with 6.15.2.. When i look at the markup of the page, all emoticons are using a http-url as opposed to https that i see everywhere else..

In my case i also noted a reversed proxy issue where "http://our.confluence.installation/s/en_US/8100/4410012ac87e845516b70bc69b6f7a893eabaa5a/_/images/icons/emoticons/warning.svg" was rewritten to "http://our.confluence.installations/en_US/....." (so basically stripping the 3rd / which makes the site not resolve at all..)

 

No matter if this rewrite issue is caused by our reverse proxy or not, the url should not be http either way. Yes, my server.xml and server url in the UI is all right, it works absolutely perfect in all other urls, uris..

 

Really hoping this will not mean i will have to spend another weekend to upgrade confluence as we should not be paying arms and legs to get to beta-test your software.

0 votes
Ronny Weil April 30, 2019

Same problem without HTTPS in Confluence Version 6.15.3.

No Emoticons.

Normann P_ Nielsen _Netic_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2019

I have upgraded from 6.15.1 to 6.15.3 - no Emoticon icons.

 

They are in the filesystem:

 

root@atlassian01:/pack/confluence/confluence# find . -name lightbulb.svg
./images/icons/emoticons/lightbulb.svg
root@atlassian01:/pack/confluence/confluence# find . -name check.svg
./images/icons/emoticons/check.svg
root@atlassian01:/pack/confluence/confluence#

 

And its not http/https:

 

Screenshot 2019-05-02 at 07.43.14.png

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2019

Hello there Krishna! Thanks for reaching out.

It looks like that you are using Apache as a mean to implement SSL in your environment. If that is the case, there are a few things missing. You might want to check our documentation on this:

Securing your Atlassian applications with Apache using SSL

Check all the mandatory fields in your server.xml from Confluence and Apache. They still need to have some settings added.

Let us know if the documentation helps you out!

krishna vaitla March 14, 2019

@Diego : Thanks i will verify that and get back to you.

Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2019

Thanks Krishna!

Let us know about your findings.

Like René Kaufmann likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events