Discussion:
SSL loading unsecured content Headache
James Tryon
2013-10-24 19:24:43 UTC
Permalink
Hi Everyone,

Not sure if I should be posting this here or not.
I'm also looking for help in the linode forums.

We are currently running 6 servers, but I think only 4 of them are set up as a cluster.
The Cluster is running as our hosting environment for our clients.
We are only hosting WordPress Sites. It's a Gentoo Base System release 2.1.

When ever I try to get SSL to work I get endless redirects or none of the css or JavaScript will load securely.
I have the sites url set to https in the settings file and checked the database, all https:
When you look at the page source most of the links are http:// still.

Now things get weird. I changed wp_home and wp_siteurl to https://test.com and reloaded the login page.
This only Worked b/c i was on the login page. If you tryed to go to a different link, It would take you to test.com.
Then I looked at the page source. Check out this screenshot:
https://www.dropbox.com/s/b367bnc7nttiz ... .28.53.png
Some links are http others are https and all set from the same value in the config file....

This is what is there now.
define('WP_HOME', 'https://skopospublishing.com');
define('WP_SITEURL', 'https://skopospublishing.com');

I have spent almost 20 hours chasing rabbits. I get the same problems with the default theme and no plugins.
The Contractor that has been working on the server swears its WordPress.
I think it has something to do with the server configuration and how he is serving the SSL's

Same problem on https://studentlaunchpad.com/

He also told he that "it's behind a proxy/SSL accelerator, home and siteurl contents are set up, and what we saw testing url generation"

I'm not sure what he means. I do know that no matter what I change the site urls in the config or database, or what I change in the .htaccess files
Something else is serving http:// in from of all the links...

I'm lost and looking for more insight. I'm happy to provide more information please let me know what you need.
If this is the wrong place for this type of question, please advise where to ask.

- James Tryon

Thank you for your time,
James Tryon, Creative Director

Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
Nikola Nikolov
2013-10-24 19:30:43 UTC
Permalink
Hi James,

Have you tried using a plugin like
http://wordpress.org/plugins/wordpress-https/ or
http://wordpress.org/plugins/ssl-insecure-content-fixer/ for instance?

By the way - the link to the screenshot seems broken - so I can't really
see what's still getting http instead.

Nikola
Post by James Tryon
Hi Everyone,
Not sure if I should be posting this here or not.
I'm also looking for help in the linode forums.
We are currently running 6 servers, but I think only 4 of them are set up as a cluster.
The Cluster is running as our hosting environment for our clients.
We are only hosting WordPress Sites. It's a Gentoo Base System release 2.1.
When ever I try to get SSL to work I get endless redirects or none of the
css or JavaScript will load securely.
When you look at the page source most of the links are http:// still.
Now things get weird. I changed wp_home and wp_siteurl to https://test.comand reloaded the login page.
This only Worked b/c i was on the login page. If you tryed to go to a
different link, It would take you to test.com.
https://www.dropbox.com/s/b367bnc7nttiz ... .28.53.png
Some links are http others are https and all set from the same value in the config file....
This is what is there now.
define('WP_HOME', 'https://skopospublishing.com');
define('WP_SITEURL', 'https://skopospublishing.com');
I have spent almost 20 hours chasing rabbits. I get the same problems with
the default theme and no plugins.
The Contractor that has been working on the server swears its WordPress.
I think it has something to do with the server configuration and how he is
serving the SSL's
Same problem on https://studentlaunchpad.com/
He also told he that "it's behind a proxy/SSL accelerator, home and
siteurl contents are set up, and what we saw testing url generation"
I'm not sure what he means. I do know that no matter what I change the
site urls in the config or database, or what I change in the .htaccess files
Something else is serving http:// in from of all the links...
I'm lost and looking for more insight. I'm happy to provide more
information please let me know what you need.
If this is the wrong place for this type of question, please advise where to ask.
- James Tryon
Thank you for your time,
James Tryon, Creative Director
Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Doug Stewart
2013-10-24 19:35:42 UTC
Permalink
Nikola is right -- you'll need to trick WordPress into using https
correctly.
Post by Nikola Nikolov
Hi James,
Have you tried using a plugin like
http://wordpress.org/plugins/wordpress-https/ or
http://wordpress.org/plugins/ssl-insecure-content-fixer/ for instance?
By the way - the link to the screenshot seems broken - so I can't really
see what's still getting http instead.
Nikola
Post by James Tryon
Hi Everyone,
Not sure if I should be posting this here or not.
I'm also looking for help in the linode forums.
We are currently running 6 servers, but I think only 4 of them are set up as a cluster.
The Cluster is running as our hosting environment for our clients.
We are only hosting WordPress Sites. It's a Gentoo Base System release
2.1.
Post by James Tryon
When ever I try to get SSL to work I get endless redirects or none of the
css or JavaScript will load securely.
I have the sites url set to https in the settings file and checked the
When you look at the page source most of the links are http:// still.
Now things get weird. I changed wp_home and wp_siteurl to
https://test.comand reloaded the login page.
Post by James Tryon
This only Worked b/c i was on the login page. If you tryed to go to a
different link, It would take you to test.com.
https://www.dropbox.com/s/b367bnc7nttiz ... .28.53.png
Some links are http others are https and all set from the same value in
the config file....
This is what is there now.
define('WP_HOME', 'https://skopospublishing.com');
define('WP_SITEURL', 'https://skopospublishing.com');
I have spent almost 20 hours chasing rabbits. I get the same problems
with
Post by James Tryon
the default theme and no plugins.
The Contractor that has been working on the server swears its WordPress.
I think it has something to do with the server configuration and how he
is
Post by James Tryon
serving the SSL's
Same problem on https://studentlaunchpad.com/
He also told he that "it's behind a proxy/SSL accelerator, home and
siteurl contents are set up, and what we saw testing url generation"
I'm not sure what he means. I do know that no matter what I change the
site urls in the config or database, or what I change in the .htaccess
files
Post by James Tryon
Something else is serving http:// in from of all the links...
I'm lost and looking for more insight. I'm happy to provide more
information please let me know what you need.
If this is the wrong place for this type of question, please advise where to ask.
- James Tryon
Thank you for your time,
James Tryon, Creative Director
Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
--
-Doug
James Tryon
2013-10-24 20:13:02 UTC
Permalink
Thanks your your help everyone.

And its fixed thank to this wonderful blog post.
http://snippets.webaware.com.au/snippets/wordpress-is_ssl-doesnt-work-behind-some-load-balancers/
https://gist.github.com/webaware/4688802

Thank you for your time,
James Tryon, Creative Director

Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
Post by Doug Stewart
Nikola is right -- you'll need to trick WordPress into using https
correctly.
Post by Nikola Nikolov
Hi James,
Have you tried using a plugin like
http://wordpress.org/plugins/wordpress-https/ or
http://wordpress.org/plugins/ssl-insecure-content-fixer/ for instance?
By the way - the link to the screenshot seems broken - so I can't really
see what's still getting http instead.
Nikola
Post by James Tryon
Hi Everyone,
Not sure if I should be posting this here or not.
I'm also looking for help in the linode forums.
We are currently running 6 servers, but I think only 4 of them are set up as a cluster.
The Cluster is running as our hosting environment for our clients.
We are only hosting WordPress Sites. It's a Gentoo Base System release
2.1.
Post by James Tryon
When ever I try to get SSL to work I get endless redirects or none of the
css or JavaScript will load securely.
I have the sites url set to https in the settings file and checked the
When you look at the page source most of the links are http:// still.
Now things get weird. I changed wp_home and wp_siteurl to
https://test.comand reloaded the login page.
Post by James Tryon
This only Worked b/c i was on the login page. If you tryed to go to a
different link, It would take you to test.com.
https://www.dropbox.com/s/b367bnc7nttiz ... .28.53.png
Some links are http others are https and all set from the same value in
the config file....
This is what is there now.
define('WP_HOME', 'https://skopospublishing.com');
define('WP_SITEURL', 'https://skopospublishing.com');
I have spent almost 20 hours chasing rabbits. I get the same problems
with
Post by James Tryon
the default theme and no plugins.
The Contractor that has been working on the server swears its WordPress.
I think it has something to do with the server configuration and how he
is
Post by James Tryon
serving the SSL's
Same problem on https://studentlaunchpad.com/
He also told he that "it's behind a proxy/SSL accelerator, home and
siteurl contents are set up, and what we saw testing url generation"
I'm not sure what he means. I do know that no matter what I change the
site urls in the config or database, or what I change in the .htaccess
files
Post by James Tryon
Something else is serving http:// in from of all the links...
I'm lost and looking for more insight. I'm happy to provide more
information please let me know what you need.
If this is the wrong place for this type of question, please advise where to ask.
- James Tryon
Thank you for your time,
James Tryon, Creative Director
Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
--
-Doug
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Nikola Nikolov
2013-10-24 20:21:01 UTC
Permalink
Congratulations on figuring it out. And thanks for sharing the article -
it's good to keep that in mind!
Post by James Tryon
Thanks your your help everyone.
And its fixed thank to this wonderful blog post.
http://snippets.webaware.com.au/snippets/wordpress-is_ssl-doesnt-work-behind-some-load-balancers/
https://gist.github.com/webaware/4688802
Thank you for your time,
James Tryon, Creative Director
Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
Post by Doug Stewart
Nikola is right -- you'll need to trick WordPress into using https
correctly.
Post by Nikola Nikolov
Hi James,
Have you tried using a plugin like
http://wordpress.org/plugins/wordpress-https/ or
http://wordpress.org/plugins/ssl-insecure-content-fixer/ for instance?
By the way - the link to the screenshot seems broken - so I can't really
see what's still getting http instead.
Nikola
On Thu, Oct 24, 2013 at 10:24 PM, James Tryon <
Post by James Tryon
Hi Everyone,
Not sure if I should be posting this here or not.
I'm also looking for help in the linode forums.
We are currently running 6 servers, but I think only 4 of them are set
up
Post by Doug Stewart
Post by Nikola Nikolov
Post by James Tryon
as a cluster.
The Cluster is running as our hosting environment for our clients.
We are only hosting WordPress Sites. It's a Gentoo Base System release
2.1.
Post by James Tryon
When ever I try to get SSL to work I get endless redirects or none of
the
Post by Doug Stewart
Post by Nikola Nikolov
Post by James Tryon
css or JavaScript will load securely.
I have the sites url set to https in the settings file and checked the
When you look at the page source most of the links are http:// still.
Now things get weird. I changed wp_home and wp_siteurl to
https://test.comand reloaded the login page.
Post by James Tryon
This only Worked b/c i was on the login page. If you tryed to go to a
different link, It would take you to test.com.
https://www.dropbox.com/s/b367bnc7nttiz ... .28.53.png
Some links are http others are https and all set from the same value in
the config file....
This is what is there now.
define('WP_HOME', 'https://skopospublishing.com');
define('WP_SITEURL', 'https://skopospublishing.com');
I have spent almost 20 hours chasing rabbits. I get the same problems
with
Post by James Tryon
the default theme and no plugins.
The Contractor that has been working on the server swears its
WordPress.
Post by Doug Stewart
Post by Nikola Nikolov
Post by James Tryon
I think it has something to do with the server configuration and how he
is
Post by James Tryon
serving the SSL's
Same problem on https://studentlaunchpad.com/
He also told he that "it's behind a proxy/SSL accelerator, home and
siteurl contents are set up, and what we saw testing url generation"
I'm not sure what he means. I do know that no matter what I change the
site urls in the config or database, or what I change in the .htaccess
files
Post by James Tryon
Something else is serving http:// in from of all the links...
I'm lost and looking for more insight. I'm happy to provide more
information please let me know what you need.
If this is the wrong place for this type of question, please advise
where
Post by Doug Stewart
Post by Nikola Nikolov
Post by James Tryon
to ask.
- James Tryon
Thank you for your time,
James Tryon, Creative Director
Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
--
-Doug
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
James Tryon
2013-10-24 19:44:19 UTC
Permalink
Hi Nikola,

I did try the two plugins you listed below with no luck.
I uploaded a copy of the screen shoot to a new location:
Loading Image...

It's very weird, no matter what i set the URL's to, something keeps swapping https of http...

I have used SSL and WordPress may times over the years on different server setups and never had this problem before.

Thank you for your time,
James Tryon, Creative Director

Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
Post by Nikola Nikolov
Hi James,
Have you tried using a plugin like
http://wordpress.org/plugins/wordpress-https/ or
http://wordpress.org/plugins/ssl-insecure-content-fixer/ for instance?
By the way - the link to the screenshot seems broken - so I can't really
see what's still getting http instead.
Nikola
Post by James Tryon
Hi Everyone,
Not sure if I should be posting this here or not.
I'm also looking for help in the linode forums.
We are currently running 6 servers, but I think only 4 of them are set up as a cluster.
The Cluster is running as our hosting environment for our clients.
We are only hosting WordPress Sites. It's a Gentoo Base System release 2.1.
When ever I try to get SSL to work I get endless redirects or none of the
css or JavaScript will load securely.
I have the sites url set to https in the settings file and checked the
When you look at the page source most of the links are http:// still.
Now things get weird. I changed wp_home and wp_siteurl to https://test.comand reloaded the login page.
This only Worked b/c i was on the login page. If you tryed to go to a
different link, It would take you to test.com.
https://www.dropbox.com/s/b367bnc7nttiz ... .28.53.png
Some links are http others are https and all set from the same value in
the config file....
This is what is there now.
define('WP_HOME', 'https://skopospublishing.com');
define('WP_SITEURL', 'https://skopospublishing.com');
I have spent almost 20 hours chasing rabbits. I get the same problems with
the default theme and no plugins.
The Contractor that has been working on the server swears its WordPress.
I think it has something to do with the server configuration and how he is
serving the SSL's
Same problem on https://studentlaunchpad.com/
He also told he that "it's behind a proxy/SSL accelerator, home and
siteurl contents are set up, and what we saw testing url generation"
I'm not sure what he means. I do know that no matter what I change the
site urls in the config or database, or what I change in the .htaccess files
Something else is serving http:// in from of all the links...
I'm lost and looking for more insight. I'm happy to provide more
information please let me know what you need.
If this is the wrong place for this type of question, please advise where to ask.
- James Tryon
Thank you for your time,
James Tryon, Creative Director
Easily Amused, Inc.
http://easilyamusedinc.com
P: (407) 278-5498 C: (407) 733-6473 T: easilyamused
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Loading...