"Not Authorized" after attempting to upload/deploy image to device on 1.5.0
-
@eruthon said in "Not Authorized" after attempting to upload/deploy image to device on 1.5.0:
Same problem here, happens only on UEFI 64bit and not on BIOS/Legacy systems. (didn't test UEFI 32bit)
I also tried it now on registered PCs, it shows right after login on both UEFI 64 and Bios.
I remembered there were some new MFA features. Tried turning them on and off in Admin settings and for users, but no luck.Also tried regenerating boot files, but no change.
-
Been trying to replicate this and so far unsuccessful. There must be some common denominator. Are you using an admin account or one with custom permissions?
-
Maybe it will help, though maybe it's a bug on its own:
I've got empty custom boot entries labeled "You are booted in <BIOS/UEFI> PXE"
These entries are correctly displayed in Boot Menu Editor for all menus, so in "default" files, too.But a year ago, when I started to use TOEM, I added "Test" boot menu entry just to see how it works, disabled it afterwards. It's still disabled, but shows in UEFI boot menu (BIOS boot menu shows its "You are booted in BIOS PXE").
I tried reenabling the new UEFI identification label and redisabling the Test label, though nothing happened on clients. As if the pxeboot.0 file is not updated with correct data.
-
@jwasilco I haven't tried setting the IP manually, I'm not sure if that's even possible. We do disable RAID and secure boot to get these to image.
-
@theopenem_admin All of our techs log in with a normal user account that are members of a group that gives them access to only image. Myself, I normally just log in with the admin account. I've had it happen to myself just once, but I've had at least three techs report they've had the problem, to the point where they retry 3-4 times and give up.
-
When you upgraded you verified .Net 4.8 was installed?
-
@eruthon I personally haven't messed with customizing the boot menu with Theopenem. I did back when we used Clonedeploy. This is on a new server.
-
@theopenem_admin I just doublechecked the server and .NET 4.8 is installed. I didn't make any changes to it before or after install theopenem 1.5.0.
-
@theopenem_admin Mine reported having 4.8 or newer already installed, too
-
Well, running out of ideas, still cannot replicate. You generated the global imaging token after install?
-
@theopenem_admin I did not regenerate any tokens. I can try this.
I just ran into the problem again with the admin account.
I tried changing the password for admin, same problem.
I tried one of our techs accounts, no change.
I tried using a newly created account and it worked.
-
I attempted again using the newly created account that worked before and it gave me "Not authorized" this time. I also regenerated the Imaging token under settings > security.
-
In your web.config files can you verify this line at the top of the files?
<compilation debug="false" targetFramework="4.8" />
Make sure it says 4.8 and not 4.6
-
@theopenem_admin Sure, here's a compilation of the web.config in each folder.
toec-API:
- web.config 4.8
Toems-API: - web.config: 4.8
- web.config.mysql: 4.6
- web.config.sqlserver: 4.6
toems-UI: - web.config 4.8
Should the web.config.mysql and web.config.sqlserver files be 4.8?
- web.config 4.8
-
@chornbeck
No that's fine. Those files don't do anything. Was hoping that was it. -
@theopenem_admin Is it possible that if a task is currently running, starting a new task will not start/queue up in the task list? We're suspecting this might be the case and are going to test it shortly.
Nobody is using the system right now and I've not had any problem getting in.
-
I think you are on to something.
-
@theopenem_admin I think we are on to something.
One of our techs started deploying an image. I tried to PXE boot and start a task and it is giving me "Not Authorized" again. It's only happening whenever 1 other task is running.
-
I see the issue. Looks like it only effects the LIE. I'll get this fixed ASAP.
-
@theopenem_admin Thank you!