Authentication ERROR: Could not get security token
-
I have tried resetting the Encryption info on all of my hosts and have tired to find some other method to get things to work again. But so far old and new hosts are getting this message and won’t work. I’m running Trunk 8271
.6/16/2016 1:12 PM Client-Info Version: 0.10.6 6/16/2016 1:12 PM Client-Info OS: Windows 6/16/2016 1:12 PM Middleware::Authentication Waiting for authentication timeout to pass 6/16/2016 1:12 PM Middleware::Communication Download: http://IT-FOGSVR/fog/management/other/ssl/srvpublic.crt 6/16/2016 1:12 PM Data::RSA FOG Server CA cert found 6/16/2016 1:12 PM Middleware::Authentication Cert OK 6/16/2016 1:12 PM Middleware::Authentication ERROR: Could not get security token 6/16/2016 1:12 PM Middleware::Authentication ERROR: The data is invalid. 6/16/2016 1:13 PM Middleware::Communication POST URL: http://IT-FOGSVR/fog/management/index.php?sub=requestClientInfo&authorize&newService 6/16/2016 1:13 PM Middleware::Response Invalid security token```
-
Server issue. @Tom-Elliott
-
I’m not seeing any issues with resetting the encryption data.
-
What should i be doing here? I can get the srvpublic.crt and it seems ok.
-
You need to reset encryption data for the host.
-
I don’t see where to do that at. I did use this to reset all clients data:
mysql
use fog
UPDATE hosts SET hostPubKey=“”, hostSecToken=“”, hostSecTime=“0000-00-00 00:00:00”; -
Please update to latest and see if the issue is still present.
-
Did you get an error when you manually entered the information?
-
When i manually entered the info? I updating right now.
-
Taking a really long time to get to the hosts page. I was trying to setup and image a new host pretty quickly but its taking its time.
-
@Stilty said in Authentication ERROR: Could not get security token:
I don’t see where to do that at. I did use this to reset all clients data:
mysql
use fog
UPDATE hosts SET hostPubKey=“”, hostSecToken=“”, hostSecTime=“0000-00-00 00:00:00”;@Tom-Elliott think I should remove or obscure that in the wiki? Oh, I have a better idea. Right above it I’ll picture the reset button. I’ll do that sometime tonight.
-
I’m still trying to get to the Hosts page. I’m used to the webui being slow but its never taken 7+mins to get to another page.
-
@Stilty this would indicate server problems. Look at apache error logs, look at server load. I’d suggest doing these things via CLI since the web interface is affected.
-
Now I can’t capture any image. I just tried and it skips right past the part in the PXE boot where it normally goes in that direction and not just booting up.
-
@Stilty Probably caused by this issue https://forums.fogproject.org/topic/7935/r5767-host-is-not-registered-invalid-mac-after-i-set-an-image/3
-
Ok so to sum it up, it’s a server problem and I need to read the logs of Apache to figure this out. Is that for the slow ui or the Cert problem from clients?
-
-
I’m still getting this error, anyone have some futher ideas/help?
-
@Stilty update, and all should work hopefully.