Error sending request to Azure

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
brendondavis
Posts: 3
Joined: Mon Jul 17, 2023 1:59 am

Mon Jul 17, 2023 2:10 am

Hi, I've been using the StarWind migration tool for some time on these servers but I've just started recieving the following error message with the sign-in process. Once I've selected the migration type with the destination as Azure it now shows me the following error message when I push the 'Get Subscription' button.

ERROR: StarWind V2V Converter
Text: Error sending request to Azure.
Incorrect Content-Type: must be textual to extractstring,JSON to extract_json.
[OK]

I've tried to generate a new secret, I've checked the values and made sure its only characters rather than any other formatting in the fields. I have tested this now on two different servers on different subnets that end up with the same error message. I'm concerned Azure changed something with the auth process that the tool no longer matches or supports. I've not yet tried to re-create the App Registration.

Let me know if you need me to check any other of the system configurations.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Jul 17, 2023 10:53 am

Hi,

Thanks for your update. It looks like Azure did some "magic" on their side with subscriptions and now we need to "rework" our end.
We are actively working on it.

Can I please get the conversion logs to investigate this one in detail?
brendondavis
Posts: 3
Joined: Mon Jul 17, 2023 1:59 am

Mon Jul 17, 2023 12:54 pm

I've PM'ed you the log informaiton - key details are:
7/17 10:24:32.654 14c8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eTypeP2V
7/17 10:24:34.880 14c8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVolumeSelectVM
7/17 10:24:35.697 14c8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
7/17 10:24:38.212 14c8 Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eAzureConnectionTo
7/17 10:24:52.834 14c8 Facility ???ERROR: TRY_CATCH: HTTP GetToken - Incorrect Content-Type: must be textual to extract_string, JSON to extract_json.
7/17 10:25:04.224 14c8 Facility ???WARNING: CPPAzureConnection::OnClickedBnAdvanced: connect Error sending request to Azure.
Incorrect Content-Type: must be textual to extract_string, JSON to extract_json.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Jul 17, 2023 1:43 pm

Hi,

Thanks. Will work on it internally.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Fri Jul 21, 2023 1:21 pm

Greetings,

Can you please let me know if your license is Free Start or Pay-as-you-go?
brendondavis
Posts: 3
Joined: Mon Jul 17, 2023 1:59 am

Mon Jul 24, 2023 7:57 am

We use Cloud Services Provider (CSP) Azure subscriptions, not free or PAYG or Enterprise. The account used to create the app registration is a subscription owner.
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Jul 24, 2023 9:51 am

Greetings,

Thanks for your update. I will keep you posted. Thanks!
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Thu Aug 17, 2023 7:59 am

Sorry for such a delay.
My colleagues suspect REST service to be inaccessible. Can you try using your credentials with any REST client (e.g., Postman)?
Post Reply