You are here

input is not a valid Base-64 string

5 posts / 0 new
Last post
Lincsat
Offline
Donator
Joined: 7 years
Last seen: 1 month
input is not a valid Base-64 string

I'm experimenting running Webgrab on Ubuntu. I've installed the latest beta v 3.1.8 and downloaded the latest siteini in a zip from the Git. It seems every siteini that is encrypted in v3 mode gives the following error -

[ Info ] found: /home/ubuntu/.wg++/./siteini.pack/radiotimes.com.ini -- Revision Unknown
[ Info ] encrypted in 'new (V3)' mode
[Warning ] Unable to decrypt!!
[Error ] fatal decryption error: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

[ Info ] found: /home/lincsat/.wg++/./siteini.pack/Australia/foxtel.com.au.EK.ini -- Revision 09
[ Info ] encrypted with userkey and expiry date in 'new (V3)' mode
[Warning ] Unable to decrypt!!
[Error ] fatal decryption error: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

It then fails with the following -
[Critical]
Object reference not set to an instance of an object
[Critical]
at  .
..ctor ( .  ) [0x0186e] in :0
at  .―.  (System.String[] ) [0x003ae] in :0
[Critical] Unhandled Exception

If I remove the v3 encrypted ini's then it completes fine

The same files work fine when using Webgrab in Windows, any suggestions what to check for?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 10 hours

http://webgrabplus.com/content/posting
anyway i think you shoud run from bin directory the SiteIni.Pack.Update.sh

Lincsat
Offline
Donator
Joined: 7 years
Last seen: 1 month

I didn't post the full config and log, thought I'd got the appropriate bits rather than making sure all passwords etc were removed.

I had not seen the update script, assumed the latest siteini would be loaded with the latest Beta install but will try that later - thanks

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 10 hours

First look seems that encryption broken, which could be caused by copy/paste or transfer not in binary mode. That's why is suggested to updated thru the script.

Lincsat
Offline
Donator
Joined: 7 years
Last seen: 1 month

The script update worked, thanks for that. I have a suggestion, put the script in the wg++ directory rather than wg++/bin/, easier for novices like me to find :)

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl