alan-morey / force-meta-backup

A tool to help download Salesforce.com Metadata
43 stars 22 forks source link

Failed to login: Encountered HTML Content when looking for http://schemas.xmlsoap.org/soap/envelope/:Envelope #86

Closed rmerrellgr closed 1 year ago

rmerrellgr commented 1 year ago

Hello.

On May 6th, 2023, this backup process stopped working for us. We've seen two variations off this error, which I'll explain. I should also point out that our instance has not received the Summer 23 update yet.

/opt/force-metadata-backulp/build.xml:42: The following error occurred while executing this line:
/opt/force-metadata-backup/build/folders-build.xml:20: Failed to login: Encountered HTML Content when looking for http://schemas.xmlsoap.org/soap/envelope/:Envelope

This was the first occurrence. So I logged into the user account we use for this and discovered that it was requiring us to set up MFA, which I did. According to their docs, MFA shouldn't affect anything using REST or SOAP.

But after setting up MFA, it now fails with the same error, but in a different spot and in about half the amount of time:

/opt/force-metadata-backulp/build.xml:38: The following error occurred while executing this line:
/opt/force-metadata-backup/build/bulk-retrievable-target.xml:131: Failed to login: Encountered HTML Content when looking for http://schemas.xmlsoap.org/soap/envelope/:Envelope

Upon inspecting our login history, I confirmed there are no listed login failures. In fact, we see hundreds of successful logins from our backup tool every time we run it. Any idea what's happening?

rmerrellgr commented 1 year ago

It started working again overnight, so possibly something wrong on the SF end.