Skip to main content

https for javascript and css includes


Our site bliep.nl is served on https, this means all imports (js, css) should also be on https otherwise browsers are complaining.


However When i change http to https in your include snippets, the side bar on our side does not load.


This has to do with that fact that your https is not setup correctly:


In chrome and firefix:

https://assets.freshdesk.com/widget/freshwidget.js


This is probably not the site you are looking for!
You attempted to reach assets.freshdesk.com, but instead you actually reached a server identifying itself as*.s3.amazonaws.com. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of assets.freshdesk.com.
Did this topic help you find an answer to your question?
This topic has been closed for comments

7 replies

Hi


If you are trying to use Freshdesk's Feedback Widget with SSL Encrypted pages, make sure you are fetching the feedback widget from our secure server(https://s3.amazonaws.com/assets.freshdesk.com) . Please refer to the sample code below which can be used in https website.

 

<script type="text/javascript" src="https://s3.amazonaws.com/assets.freshdesk.com/widget/freshwidget.js"></script>
<style type="text/css" media="screen, projection">
</style> 
<script type="text/javascript">
FreshWidget.init("", {"queryString": "", "buttonText": "Support", "buttonColor": "white", "buttonBg": "#006063", "alignment": "4", "offset": "235px", "url": "https://yourwebsite.freshdesk.com", "assetUrl": "https://s3.amazonaws.com/assets.freshdesk.com/widget"} );
</script>

regards

vijay


This still does not work for me. I still get the message

"Blocked loading mixed active content "http://savethatname.freshdesk.com/loading.html?ver=2"" in my browsers javascript console.


  • Contributor
  • 61 replies
  • August 21, 2015

Could you please help me the URL of the site in which you have hosted the feedback widget script Jesse. 


  • Community Debut
  • 3 replies
  • November 13, 2015

I have the same problem:

"Blocked loading mixed active content "http://mycompany.freshdesk.com/loading.html?ver=2"" in my browsers javascript console.



  • Contributor
  • 61 replies
  • November 13, 2015

Hi Stefan,


If your website is running on HTTPS, Please replace the URL you are using in the feedback widget code with your freshdesk URL ( https://yourcompany.freshdesk.com) since it has a SSL certificate by default. However, The custom URL you are using does not have an SSL certificate and is running on HTTP. 




  • Community Debut
  • 3 replies
  • November 14, 2015

Thank you,

It fixed the issue!



  • Community Debut
  • 1 reply
  • November 19, 2015

I had the same problem but I got resolved it by professional. I will post the solution in my next post.



This is probably not the site you are looking for!


Thanks


Tapsi Sarkar



Tapasi Sarkar