Offline activation fails with 0x1 errorAnswered

I have a customer using a server with no outbound access, so they want offline activation. I don't think we've ever had issues doing this before, but he's getting this response:

2023-07-06, 14:53:29 <notification>: Activation request file saved successfully.

2023-07-06, 16:37:01 <error>: Failed to activate.

2023-07-06, 16:37:01 <error>: Error code 0x1. Contact support or your system administrator.

The turbofloatserver binary is up to date, so I'm at a bit of a loss as to how to debug further! Normally I praise the log files for giving enough info to easily find a solution :)

Is there any info I need from him to help?

Answer

If the Response files and request file were generated within a few days of each other you should be fine.

Also, make sure you or they don’t modify the XML file at all. Either accidentally or deliberately.

So, it’s one of those 2 things:

  1. Request and response generated too far apart. You can test/verify by generating the request and then the response within the same day.
  2. Don’t modify the XML at all. Treat it as a binary blob.

Nope, done within a couple of hours - see timestamps above. We repeated the process twice, and I can't believe anything happened to the XML files. I literally saved the request one and uploaded it, without even opening. I'll check with the customer, but he seems pretty clued up and has no reason to touch the file!

Being a corporate server, is there a chance you're trying to save out any files that are part of the protection system into a location they don't have access to, or anything like that?

Well, some “upload processes” mangle text files (like FTP).

Also, make sure the customer is running the activation process in an admin-level console window (it should say “Administrator” in the title bar).

When I say “upload”, I only mean to your website to process the activation request file.

The customer tells me he's running it with admin privileges (he's their sysadmin). But I'll get him to confirm it's a “proper” admin console window.

So does this error code mean it's a problem parsing the XML file?

I have the same issue. Is there feedback on how to resolve the issue ?

Might not help in this case, but I have a vague memory we did something stupid :) It was something like the simple UI wrapper we had that shelled out to the command-line activation executable didn't pass the filename properly when it had a space in it.

Easy enough to fix when we realised, but constructive criticism: a more verbose error message that said “Failed to activate, cannot read file XXX” would have resolved it for us instantly!