Flash plugin Error #2046 seems to be quite a nasty one.
There is a plethora of tutorials out there claiming to fix it with various methods.
There is consensus among license issues when there is an incorrect system date (differing from the actual date of +/- 5 years or more). The fix is as simple as ensuring your system date to be up-to-date (set it to automatically sync with timeservers).
Apart from this possible solution there are several other suggestions with a mixed feedback and which proved to be ineffective to me. Therefore I ended up trying to debug this issue by myself.
The quick answer is: remove the space in *all* profile directories path in /home/{user}/.mozilla/firefox/ for example change
/home/{user}/.mozilla/firefox/{random string}.Default User
into the following makes the trick
/home/{user}/.mozilla/firefox/{random_string}.default
It has been pretty hard to get till there because this bug:
- applies to selected websites only (for instance youtube and websites using flowplayer work well by default)
- applies to all versions of the flash plugin
- applies to all browsers you may have installed on your system (yes, the directory is related to mozilla firefox, however renaming the folder also fixes flash in Chrome, Chromium, Opera, etc.)
- applies also if your active profile is another one!
Should you have the following two profiles /home/{user}/.mozilla/firefox/daddy.Linux Box /home/{user}/.mozilla/firefox/mummy.linuxbox and "mummy.linuxbox" be the the active one, still it has problems with flash because of "daddy.Linux Box" being there!
This experience further proves closed source software (flash) not being superior in quality to open source one.