Mixed Content Issue "Https/Http" Error: SSLError; ssl.c:510

Sly

I don't break the rules I bend them.
Oct 28, 2016
246
38
An error I've been trying to resolve but no success, any ideas what could be causing this mixed content?
I have disclosed images below to assist further





jquery-latest.js
Code:
        // Support: Chrome 23+, Safari?
        // Target should not be a text node (#504, #13143)
        if ( event.target.nodeType === 3 ) {
            event.target = event.target.parentNode;
        }
 
Last edited:

JMS

Posting Freak
Aug 25, 2014
562
270
In your client.php - there is a line that follows this structure -
"client.allow.cross.domain" : "1",
change this too
"client.allow.cross.domain" : "0",
And you're good to go.
Merry Christmas :)
 

Sly

I don't break the rules I bend them.
Oct 28, 2016
246
38
In your client.php - there is a line that follows this structure -
"client.allow.cross.domain" : "1",
change this too
"client.allow.cross.domain" : "0",
And you're good to go.
Merry Christmas :)
I have done as you guided, and still the same..
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Lol guys, you're totally off has nothing to do with neither if what you have commented. @Sly make sure every source being handled is with https and not http inside both your client.php and all swf/gamedata files. That's how I fixed it. And in your .htaccess if using xampp, web.config if iis, enable that the website will be handled over https if the user tries to access through http.

Sent from my SM-G928F using Tapatalk
 
Last edited:

MayoMayn

BestDev
Oct 18, 2016
1,423
683
In your client.php - there is a line that follows this structure -
"client.allow.cross.domain" : "1",
change this too
"client.allow.cross.domain" : "0",
And you're good to go.
Merry Christmas :)
Bruh you even know what cross domain means?

Sent from my SM-G928F using Tapatalk
 

Sly

I don't break the rules I bend them.
Oct 28, 2016
246
38
Lol guys, you're totally off has nothing to do with neither if what you have commented. @Sly make sure every source being handled is with https and not http inside both your client.php and all swf/gamedata files. That's how I fixed it. And in your .htaccess if using xampp, web.config if iis, enable that the website will be handled over https if the user tries to access through http.

Sent from my SM-G928F using Tapatalk
They all are handled by https:// still same error. I don't the you guys are understanding the problem correctly
 
The crossdomain.xml file needs to be loaded over https
And how will I do that Ecko?
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
They all are handled by https:// still same error. I don't the you guys are understanding the problem correctly
 

And how will I do that Ecko?
Posting your files would probably give people a better overview of your problem m8, because all my sources are handled through HTTPS with no problem, so obviously something you are doing must be wrong.

Sent from my SM-G928F using Tapatalk
 
Try add this in your .htaccess file if you're using apache:
HTML:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]
 

Sly

I don't break the rules I bend them.
Oct 28, 2016
246
38
Posting your files would probably give people a better overview of your problem m8, because all my sources are handled through HTTPS with no problem, so obviously something you are doing must be wrong.

Sent from my SM-G928F using Tapatalk
 
Try add this in your .htaccess file if you're using apache:
HTML:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]
Im using IIS7
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
Im using IIS7
Try this inside your web.config file:
HTML:
<rule name="rule 1U" stopProcessing="true">
    <match url="^(.*)$"  />
    <action type="Redirect" url="/https://%{HTTP_HOST}/{R:1}"  />
</rule>
Dunno really why people using IIS, in my opinion its not really that great of a service, nor making any kind of differences, but well, its all preferences.
You must add the script above ^^
Mixed Content: The page at ' ' was loaded over HTTPS, but requested an insecure plugin data ' '.
This content should also be served over HTTPS.

As written multiple times, you must make sure NO sources on your website can be accessed through HTTP, by disabling HTTP accessing, that can either be done in your web.config file or in your DNS settings. Well, now I've clearly provided a fix for your problem, now it only requires that you fix it yourself. If you got any more questions just PM me.
 
Last edited:

Blasteh

big tits
Apr 3, 2013
1,157
521
You have to open up your habbo.swf with a decompiler and change the crossdomain link to https:// – by default it's http://

OR

You can add 'ads.domain' to your external override variables as well. This way is easier if you plan to upgrade your hotel or replace your swf.
 

Sly

I don't break the rules I bend them.
Oct 28, 2016
246
38
You have to open up your habbo.swf with a decompiler and change the crossdomain link to https:// – by default it's http://

OR

You can add 'ads.domain' to your external override variables as well. This way is easier if you plan to upgrade your hotel or replace your swf.
Thankyou mate worked well
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,399
962
Try this inside your web.config file:
HTML:
<rule name="rule 1U" stopProcessing="true">
    <match url="^(.*)$"  />
    <action type="Redirect" url="/https://%{HTTP_HOST}/{R:1}"  />
</rule>
Dunno really why people using IIS, in my opinion its not really that great of a service, nor making any kind of differences, but well, its all preferences.
You must add the script above ^^
Mixed Content: The page at ' ' was loaded over HTTPS, but requested an insecure plugin data ' '.
This content should also be served over HTTPS.

As written multiple times, you must make sure NO sources on your website can be accessed through HTTP, by disabling HTTP accessing, that can either be done in your web.config file or in your DNS settings. Well, now I've clearly provided a fix for your problem, now it only requires that you fix it yourself. If you got any more questions just PM me.
rewrite rules would not fix a mixed content error
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
rewrite rules would not fix a mixed content error
It would when the source is located on his website, and is being handled over HTTP, it would automatic cause a redirect using HTTPS. Ask him yourself, because I simply fixed 2 problems by providing him that solution. ;)

Sent from my SM-G928F using Tapatalk
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,399
962
It would when the source is located on his website, and is being handled over HTTP, it would automatic cause a redirect using HTTPS. Ask him yourself, because I simply fixed 2 problems by providing him that solution. ;)

Sent from my SM-G928F using Tapatalk
rewrite rules only affect HTTP requests, not local server requests. it has no affect on require(s)/include
 

MayoMayn

BestDev
Oct 18, 2016
1,423
683
rewrite rules only affect HTTP requests, not local server requests. it has no affect on require(s)/include
Why you want to discuss something that you clearly dont understand what does? This rewrite rule prevents people from accessing your website using port 80, and then redirects them to the desired location using HTTPS, and if the mixed content as described above, is on his website once its being included, it will get stopped by the rule and redirected using HTTPS, visit the link yourself and you'll see. Because thats how I fixed the problem myself, so dont speak of something you've never tried nor understand. Anyway there's no reason in using a SSL, if people can access your website using HTTP.

HTML:
<configuration>
<system.webServer>
<rewrite>
    <rules>
	<rule name="HTTP to HTTPS redirect" stopProcessing="true"> 
	<match url="(.*)" /> 
	<conditions> 
		<add input="{HTTPS}" pattern="off" ignoreCase="true" />
	</conditions> 
	<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>   
    </rules>
</rewrite>
</system.webServer>
</configuration>
Sent from my SM-G928F using Tapatalk
 
Last edited:

Users who are viewing this thread

Top