Page 1 of 1
No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 9:41 am
by mawitti
Hi together,
on a Windows Server 2016 I had installed a PA 2.0.49 and the workspace.
After several Problems during the installation I got the workspace started.
But when I try to open the Tree in the Databases I am getting an error message:
"Abrufen der Funktionen für den Server ... nicht möglich.
Die Sitzung kann für den Server ... nicht aufgebaut werden.
500 (Internal Server Error) javax.crypto.BadPaddingException: Given final block not properly padded"
On previous Installations on other servers I know Error 500 but always in an other context. I've tried to change the IPAddresV4 config field without changes on the message.
Do you have experience with this Message?
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 9:55 am
by HighKeys
Hi,
is it a fresh installation on this machine?
Try to clear your cookies and browser cache.
BR
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 9:59 am
by mawitti
Hi,
yes it is a fresh installation on a new Server.
Now I tried to delete the cache and the cookies in the browser.
same result - same error.
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 10:19 am
by HighKeys
Do you got some infos in the browser console?
Which browser are you using?
Whats happen if you try it in the browser at the server directly?
If everything working just the Database Tree not?
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 12:11 pm
by mawitti
here is the message that I am getting.
- 2020-04-23 12_31_01-Window.png (18.12 KiB) Viewed 7229 times
Only the UI of paw is working. But nothing regarding the data. After I click on the message I only can see the servers.
I am using Firefox. What do you mean with trying in the browser at the server directly? The browser is running on the Windows 2016 Server where I have installed PA. On this Server I also installed PAW.
In the Browser Console I found nothing special
- 2020-04-23 14_08_55-Window.png (103 KiB) Viewed 7229 times
.
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 12:47 pm
by MarenC
I would narrow down the focus to security and Certificates. I wish I could be more specific!
Maren
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Thu Apr 23, 2020 5:39 pm
by dr.nybble
Try to restart redis. Something wrong with the encryption of TM1 credentials that are stored in redis. May also be that the encryption key generation didn't work right due to your installation problems.
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Fri Apr 24, 2020 8:24 am
by Martin Erlmoser
did you add a firewall exception for configured HTTPPortNumber, if you have a fw active?
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Tue Apr 28, 2020 8:23 am
by mawitti
Hi together,
the firewall is disabled at the moment (for testing).
I've tried to restart redis and also I restarted paw, even the windows server - no success.
My next step will be a new installation of TM1 and PAW.
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Wed Apr 29, 2020 8:58 am
by mawitti
Now I've tried to reinstall TM1 and Workspace with the same message
Does anyone know how to check the certificates?
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Wed Apr 29, 2020 11:46 pm
by a1m80t
If PAW/PA are installed on the same server, then you need to specify the IP4 or IP6 in TM1s.cfg
IPAddressV4="10.109.241.121"
https://www.ibm.com/support/knowledgece ... m1cfg.html
IPAddressV6="0ff1:aa00:4125:2:a05:f7b1:61c2:a341"
https://www.ibm.com/support/knowledgece ... m1cfg.html
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Mon May 04, 2020 1:00 pm
by dr.nybble
Look in the config/ssl directory. You should see some small key files in there. Make sure they are not empty directories instead (which can happen if Docker has some problems).
Those key files get mounted into wa-proxy and other services who need it. wa-proxy encrypts credentials and stores them in redis, other services fetch and decrypt the credentials to log into TM1 Servers.
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Mon May 04, 2020 1:21 pm
by mawitti
In the paw base-folder there are the following files:
cookie_secret.key
credential_store.key
pa-workspace.pem
In the ProgramData\docker\config folder there are only the files:
daemon.json
key.json
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Mon May 04, 2020 2:26 pm
by dr.nybble
OK and the credential_store.key is actually a file of non-zero size and not a directory?
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Tue May 05, 2020 2:22 pm
by mawitti
yes, the file has 512 Bytes
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Tue May 05, 2020 2:39 pm
by dr.nybble
You'd best contact support. I don't work at IBM any more so my ability to help is now limited!
Re: No Data Tree in PAW 2.0.49 with error 500 javax.crypto.BadPaddingException
Posted: Wed May 27, 2020 3:07 pm
by mawitti
Now I have made a new Installation on a new Windows with the same settings and it worked fine.