Page 1 of 1

Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: January 30th, 2010, 3:29 am
by feerlessleadr
Hi All,

I opened up my firefox today and I get a popup window that says "SSL peer reports incorrect message authentication code."

I figured it had to do with SAB and having https enabled.  I clicked through the prompts and attempted to connect to the sab interface and I received the following error:

http://cid-a1fc32b01cf40704.skydrive.li ... 0Error.png

I then deleted the server certificate from my firefox preferences, then navigated back to the sab interface and re-added the exception, and the same error opened up.

I can connect to sab no problem in IE, so I am assuming that something is amiss with firefox and sab.

Any ideas on the problem and how I might fix it?

::EDIT:: and just like that, after waiting 15 minutes, I can connect to the web interface again.  My question stands however if anyone knows why I got that error.

::EDIT 2::  and the error is back.

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: January 30th, 2010, 10:26 am
by shypike
Sorry, I have no idea.
Are you using a official Firefox release or a Beta?

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: January 30th, 2010, 10:38 am
by feerlessleadr
I am using the official firefox 3.6 release.

Now that I think about it, do you think Mozilla Weave (an extension to sync your firefox settings, history, passwords, bookmarks, basically everything but your extensions) could be causing the problem?

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: January 30th, 2010, 11:11 am
by shypike
I don't think Weave interferes with the low level SSL encryption.
We'll keep an eye open for more reports.

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: January 30th, 2010, 11:14 am
by feerlessleadr
Well the problem has just spread to my other laptop running firefox after weave finished syncing.

I am going to try creating a new firefox profile, sans weave, and see if that solves the problem.

I will report back

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: January 31st, 2010, 6:22 pm
by tehgooch
I am also getting the same behaviour occasionally. If I kill the SABnzbd process and run it again the issue goes away for a while. It seems to happen randomly; I haven't been able to pin down a pattern.

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: February 1st, 2010, 8:54 pm
by feerlessleadr
tehgooch wrote: I am also getting the same behaviour occasionally. If I kill the SABnzbd process and run it again the issue goes away for a while. It seems to happen randomly; I haven't been able to pin down a pattern.
This actually did the trick for me.  Hopefully it happens infrequently enough that it won't annoy me to just RDP to my HTPC and restart SAB.

If i ever figure out a pattern I will come back to this thread and post it.

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: April 11th, 2011, 5:05 am
by pandaking
One other person who's also getting this error. Every so often when I try to connect to SABnzbd it comes up with this error.
I have to kill the process and restart it.

Firefox gives me:
Secure Connection Failed
An error occurred during a connection to xxxxx.

SSL peer reports incorrect Message Authentication Code.

(Error code: ssl_error_bad_mac_alert)
Chrome gives me:
This web page is not available
The web page at xxxxxxxx might be temporarily down or it may have moved permanently to a new web address.
Error 126 (net::ERR_SSL_BAD_RECORD_MAC_ALERT): Unknown error.

I had this problem before and recompiling/installing fixed it, but seems to have come back again now.
Running on Debian Lenny, and SABznbd version 0.5.6

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: April 11th, 2011, 10:04 am
by shypike
Do other browsers give the same problem?

Re: Receiving Error " ssl_error_bad_mac_alert" RC3

Posted: April 11th, 2011, 10:54 am
by lennardw
Maybe a silly remark, but given the error code (ssl_error_bad_mac_alert), can you please try and stop SABnzbd, purge all of your local firefox cache, restart SABnzbd and try and reload?

(if you have not already done so)

The error basically says that the remote server reported to the browser that the Message Authentication Code it sent is invalid. If Firefox for some reason is caching this incorrectly, you may recieve these kind of errors.