Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Torrent "file list" - JavaScript error - SSL certificate access
09-22-2013, 09:01 AM,
#1
Torrent "file list" - JavaScript error - SSL certificate access
While checking the file list for a torrent, Firefox's DOM Inspector reported the following error:

Timestamp: 22/09/2013 12:50:58 AM
Error: klappe_torrent is not defined
Source File: http://concen.org/tracker/torrents-details.php?id=31071
Line: 1

This has appeared even with a random sampling of more recent torrents:

Timestamp: 22/09/2013 12:52:50 AM
Error: klappe_torrent is not defined
Source File: http://concen.org/tracker/torrents-details.php?id=33986
Line: 1

Timestamp: 22/09/2013 12:53:09 AM
Error: klappe_torrent is not defined
Source File: http://concen.org/tracker/torrents-details.php?id=33969
Line: 1

I had a look into this and the source page references:

<script type="text/javascript" src="https://concen.org/tracker/backend/java_klappe.js"></script>

Attempting to load the noted .js file took me to an SSL confirmation page (it appears the certificate was likely generated through OpenSSL). Clicking the "Add Exception" button produced no results though. It functioned fine when confirming from the main https://concen.org page.

(Viewing the .js file, the function is defined, so the certificate exception page isn't generated by at least my version of Firefox, 13, under some circumstances like for .js files.)

Recommendation: have PHP detect whether the connection is already secure and issue the HTTP:// or HTTPS:// scheme prefix accordingly. It's a kludge, but for users who don't care if their connection is secure or not it creates continuity in their truth-seeking experience. :>

Now that I've successfully enabled SSL for ConCen, the file list displays regardless of whether I'm accessing the the secure page or not.
Truth appears in many forms. Find those that resonate with you.

- "If we do not believe in freedom of speech for those we despise, we do not believe in it at all." - Noam Chomsky
- "Humans are not a rational animal, but a rationalizing one." - Leon Festinger

http://avaaz.org - The World In Action
Reply
09-22-2013, 12:26 PM,
#2
RE: Torrent "file list" - JavaScript error - SSL certificate access
Either someone is working on it now or you broke the tracker thokling.

Suspicious
[Image: Signature2.gif]
Reply
09-22-2013, 10:51 PM,
#3
RE: Torrent "file list" - JavaScript error - SSL certificate access
I have not been able to replicate the error, thokling.

I do know that Firefox in particular has been changing the way they deal with SSL and non-SSL elements lately. There are definitely issues we know of but I haven't come across this one.
It is working for you now, correct?
“Today’s scientists have substituted mathematics for experiments, and they wander off through equation after
equation, and eventually build a structure which has no relation to reality. ” -Nikola Tesla

"When the power of love overcomes the love of power the world will know peace." -Jimi Hendrix
Reply
09-22-2013, 11:40 PM, (This post was last modified: 09-22-2013, 11:42 PM by JFK.)
#4
RE: Torrent "file list" - JavaScript error - SSL certificate access
I am using firefox 23.

This is a screen grab of what I see...
http://z3.ifrm.com/309/115/0/p485192/tracker.png

Sorry about the size, I am on my HTPC from across the room at the moment. ( Ctrl + works great ) Blush

Edit to add - I can download torrents OK, but the file list is not working at all here.
[Image: Signature2.gif]
Reply
09-22-2013, 11:51 PM,
#5
RE: Torrent "file list" - JavaScript error - SSL certificate access
JFK, this appears to be the way Firefox is currently dealing with non-SSL elements on an SSL page. I had the same issue in FF23 but it appears to be resolved in FF24.

There are still similar issues with the Forum (MyBB) on SSL pages.
“Today’s scientists have substituted mathematics for experiments, and they wander off through equation after
equation, and eventually build a structure which has no relation to reality. ” -Nikola Tesla

"When the power of love overcomes the love of power the world will know peace." -Jimi Hendrix
Reply
09-23-2013, 12:40 AM,
#6
RE: Torrent "file list" - JavaScript error - SSL certificate access
(09-22-2013, 11:51 PM)Easy Skanking Wrote: JFK, this appears to be the way Firefox is currently dealing with non-SSL elements on an SSL page. I had the same issue in FF23 but it appears to be resolved in FF24.

There are still similar issues with the Forum (MyBB) on SSL pages.

That's strange, I just updated to FF24 and there is no change here...

http://z3.ifrm.com/309/115/0/p485194/tracker1.png

And it was working fine with FF23 for me last week. < shrugs >
[Image: Signature2.gif]
Reply
09-23-2013, 12:48 AM,
#7
RE: Torrent "file list" - JavaScript error - SSL certificate access
A couple of things to try, if you would.

Forced reload and not from browser cache...
Try logging out/back in...
Clearing the ConCen cookies...
“Today’s scientists have substituted mathematics for experiments, and they wander off through equation after
equation, and eventually build a structure which has no relation to reality. ” -Nikola Tesla

"When the power of love overcomes the love of power the world will know peace." -Jimi Hendrix
Reply
09-23-2013, 01:28 AM, (This post was last modified: 09-23-2013, 02:01 AM by JFK.)
#8
RE: Torrent "file list" - JavaScript error - SSL certificate access
No joy.

narrowing the scope, a peek at the source code for the file list reads:
Code:
<b>File List:</b>&nbsp;<img src='images/plus.gif' id='pic1' onclick='klappe_torrent(1)'>
<div id="k1" style="display: none;">
    <table align=center cellpadding=0 cellspacing=0 class=table_table border=1 width=95%>
        <tr>
            <td class=table_head align=left>&nbsp;File</td>
            <td width=80 class=table_head>&nbsp;Size</td>
        </tr>
<tr><td>001_Spirit Science 1 ~ Thoughts.mp4</td><td>93.26 MB</td></tr>
<tr><td>002_Spirit Science 2 ~ Chakras.mp4</td><td>62.81 MB</td></tr>
<tr><td>003_Spirit Science 3 ~ Channeling.mp4</td><td>110.09 MB</td></tr>
<tr><td>004_Spirit Science 4 ~ Male and Female Energy.mp4</td><td>70.82 MB</td></tr>
<tr><td>005_Spirit Science 5 ~ The Keys of our Past.mp4</td><td>80.96 MB</td></tr>
<tr><td>006_Spirit Science 6 ~ The Flower of Life.mp4</td><td>83.94 MB</td></tr>
<tr><td>007_Spirit Science 7 ~ Dimensions.mp4</td><td>84.93 MB</td></tr>
<tr><td>008_Spirit Science 8 ~ Meditation.mp4</td><td>68.30 MB</td></tr>
<tr><td>009_Spirit Science 9 ~ Astral Projection.mp4</td><td>116.87 MB</td></tr>
<tr><td>010_Spirit Science 10 ~ Math of God.mp4</td><td>93.30 MB</td></tr>
<tr><td>011_Spirit Science 11_1 - Evolution.mp4</td><td>114.56 MB</td></tr>
<tr><td>012_Spirit Science 12 ~ The Human History Movie.mp4</td><td>512.67 MB</td></tr>
<tr><td>013_Spirit Science ~ Happy New Years!.mp4</td><td>13.30 MB</td></tr>
<tr><td>014_Spirit Science 13 ~ The Crystal Movie.mp4</td><td>306.92 MB</td></tr>
<tr><td>015_Spirit Science 14 ~ Insights of Ascension.mp4</td><td>78.90 MB</td></tr>
<tr><td>016_Spirit Science 15 ~ Power of the Heart.mp4</td><td>120.91 MB</td></tr>
<tr><td>017_TrueRest ~ The World of Floating.mp4</td><td>78.57 MB</td></tr>
<tr><td>018_Spirit Science ~ Meaning.mp4</td><td>65.72 MB</td></tr>
<tr><td>019_Spirit Science 17 ~ Universal Geometry.mp4</td><td>163.33 MB</td></tr>
<tr><td>020_Spirit Science 18 ~ The Four Elements.mp4</td><td>124.36 MB</td></tr>
<tr><td>021_Spirit Science 19 ~ Cosmic Connections.mp4</td><td>162.29 MB</td></tr>
<tr><td>022_Spirit Science 11_11 ~ Dna Activation.mp4</td><td>127.09 MB</td></tr>
<tr><td>023_Spirit Science 20 ~ Water.mp4</td><td>212.56 MB</td></tr>
    </table>
</div>

So the list is there, it is just not expanding on click.

As far as the missing images, they are all named "blank.gif" in the source.

Edit to add - All fixed now on my end.
What I had to do is try to open "java_klappe.js" manually which brought up the following error to which I responded by adding an exception...

[Image: java_klappe.png]

The URL for the .js file is
https://concen.org/tracker/backend/java_klappe.js
[Image: Signature2.gif]
Reply
09-23-2013, 06:56 AM,
#9
RE: Torrent "file list" - JavaScript error - SSL certificate access
Well done JFK. I was thinking somehow some supplemental css or js file was SSL blocked. You appear to have forced the issue, I'll have to remember that.

If anyone else is having issue, there might be a cache of rememberance on these SSL exceptions and whether or not they were accepted; I have no idea how to clean them but a good cookie cleaner+ app like ccleaner might sweep some of that data up.
There are no others, there is only us.
http://FastTadpole.com/
Reply
09-23-2013, 07:58 AM,
#10
RE: Torrent "file list" - JavaScript error - SSL certificate access
Good work, fellows.

The method I used to open the .js file was by first viewing the page source, then clicking java_klappe.js. The exception dialog appeared, but clicking "I Understand the Risks" produced no further interaction.

Once I accepted the certificate through accessing https://concen.org, all was working fine.
Truth appears in many forms. Find those that resonate with you.

- "If we do not believe in freedom of speech for those we despise, we do not believe in it at all." - Noam Chomsky
- "Humans are not a rational animal, but a rationalizing one." - Leon Festinger

http://avaaz.org - The World In Action
Reply
09-23-2013, 09:40 AM,
#11
RE: Torrent "file list" - JavaScript error - SSL certificate access
Hmmmm.

From https://wiki.mozilla.org/CA:FAQ

Quote: Why does SSL handshake fail due to missing intermediate certificate?

This type of error indicates that the web server is incorrectly configured. The web server itself has to send the intermediate certificate along with their own SSL cert to complete the certificate chain. Only root certificates or trust anchors are included in the Mozilla root store.
[Image: Signature2.gif]
Reply
09-23-2013, 12:18 PM,
#12
RE: Torrent "file list" - JavaScript error - SSL certificate access
Just an FYI - I'm seeing the same thing as JFK. I've been using Fx24 since it was released and these issues did not appear until yesterday.
Reply
09-23-2013, 12:30 PM, (This post was last modified: 09-23-2013, 02:07 PM by JFK.)
#13
RE: Torrent "file list" - JavaScript error - SSL certificate access
If I had to guess, I would guess that one of the "intermediate certificates" has expired thereby breaking the chain.

Either that or someone is hacking the tracker.

Edit to add-
Ummm, disregard the above, Concen's certificate is valid till 2/9/2014.

It appears that firefox has dropped it's native support for the "CA root signing authority"...
You need to download and install that certificate from here :
http://www.cacert.org/index.php?id=3

Then all should be good.
( I personally have not tried it yet )

Edit 2 -
I deleted the exception I created last night, cleared the cache, and installed the following certificates and all is now working.

Class 1 PKI Key - http://www.cacert.org/certs/root.crt
Class 3 PKI Key - http://www.cacert.org/certs/class3.crt
[Image: Signature2.gif]
Reply
09-23-2013, 02:39 PM, (This post was last modified: 01-17-2014, 06:22 AM by Orwell63.)
#14
RE: Torrent "file list" - JavaScript error - SSL certificate access
.....
Reply
09-23-2013, 03:27 PM, (This post was last modified: 09-23-2013, 03:39 PM by JFK.)
#15
RE: Torrent "file list" - JavaScript error - SSL certificate access
(09-23-2013, 02:39 PM)Orwell63 Wrote: It's messed up in IE too (not just Fire Fox.) I have to click something to show all the graphics for the forum theme (not every time though.)

Then you probably need
http://www.cacert.org/certs/CAcert_Root_Certificates.msi

If you decide to do that please let us know the results.

Edit to add - I just installed this from IE10 ( which I hate with a passion ) and the tracker now works flawlessly.
Before install it brought up a box at the bottom of the window asking if I wanted to view the secure content while displaying errors similar to FF.
[Image: Signature2.gif]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Could not upload 1.6mb torrent file c0n 10 3,391 04-24-2013, 07:04 PM
Last Post: c0n
  Trouble creating torrent comments? yeti 4 1,242 04-17-2012, 05:49 AM
Last Post: yeti
  I am releasing a Torrent right now and its showing 0 seeders. why? nico23 8 2,310 02-22-2012, 07:01 PM
Last Post: yeti
  You can access your uTorrent v3 Anywhere online datars 4 3,182 12-24-2011, 11:19 PM
Last Post: h3rm35
  Torrent order on Search Page infoseeker 1 774 10-31-2011, 01:23 PM
Last Post: yeti
  Enough with the generic torrent descriptions. burtlancast 9 2,141 06-18-2011, 03:07 PM
Last Post: icosaface
  File List code mistake eflactem 0 531 06-01-2011, 12:55 AM
Last Post: eflactem
  Poll results -- torrent rating bonus Guest 2 1,377 10-31-2008, 05:33 PM
Last Post: yeti
  Should we create a &quot;Waking People Up&quot; forum? yeti 6 1,912 04-28-2008, 11:05 PM
Last Post: yeti
  User search for torrent tracker geogaddi00 2 1,496 01-31-2008, 11:40 AM
Last Post: geogaddi00

Forum Jump:


Users browsing this thread: 1 Guest(s)