Снова KEMP


Сидим никого не трогаем, медитируем и пьем чай, а парочка больших ящиков отказывается сотрудничать с нами и принудительно уезжать в теплушке в GULAG в облако.

Ошибки для интересующихся будут выглядеть следующим образом:

21/08/2018 00:16:12 [] Fatal error SourceMailboxAlreadyBeingMovedTransientException has occurred.

Get-MoveRequestStatistics “move identity” -IncludeReport -DiagnosticInfo Verbose | Export-CliXml movereport.xml

$r = Import-CliXml movereport.xml

Error: MigrationTransientException: The call to ‎’https://outlook-europe.com/EWS/mrsproxy.svc‎’ failed. Error details: The remote server returned an unexpected response: ‎(302)‎ Found. –> Too many automatic redirections were attempted.. –> The call to ‎’https://outlook-europe.com/EWS/mrsproxy.svc‎’ failed. Error details: The remote server returned an unexpected response: ‎(302)‎ Found. –> Too many automatic redirections were attempted.. –> The remote server returned an unexpected response: ‎(302)‎ Found. –> Too many automatic redirections were attempted.

Data migrated: 12.68 GB ‎(13,613,906,610 bytes)‎
Migration rate: 0 B ‎(0 bytes)‎
Error: MigrationMRSPermanentException: Error: The job encountered too many transient failures ‎(100)‎ and is quitting. The most common failure is CommunicationErrorTransientException/ProtocolException/WebException with the hit count 60. –> The call to ‎’https://outlook-europe.com/EWS/mrsproxy.svc‎’ failed. Error details: The remote server returned an unexpected response: ‎(302)‎ Found. –> Too many automatic redirections were attempted.. –> The remote server returned an unexpected response: ‎(302)‎ Found. –> Too many automatic redirections were attempted.

Fatal error TooManyTransientFailureRetriesPermanentException has occurred.

Data migrated: 8.58 GB ‎(9,212,741,044 bytes)‎
Migration rate: 0 B ‎(0 bytes)‎
Error: MigrationMRSPermanentException: Error: Couldn‎’t switch the mailbox into Sync Source mode. This could be because of one of the following reasons: Another administrator is currently moving the mailbox. The mailbox is locked. The Microsoft Exchange Mailbox Replication service ‎(MRS)‎ doesn‎’t have the correct permissions. Network errors are preventing MRS from cleanly closing its session with the Mailbox server. If this is the case, MRS may continue to encounter this error for up to 2 hours – this duration is controlled by the TCP KeepAlive settings on the Mailbox server. Wait for the mailbox to be released before attempting to move this mailbox again. –> An error occurred while saving the changes on the folder “UwAAAAAbVfogqmYRzZvIAKoAL8RaCQBIAExHUy1TUlYtRVgtMDIuZGh4bWVkaWEuY29tAMZvVCAIpYtGvpZWAOobBJhUnNXD2E3PTqnlqxAEg141/w==”. Error details: Failed, Property: [0x66180003] InTransitStatus, PropertyErrorCode: AccessDenied, PropertyErrorDescription: . –> Property: [0x66180003] InTransitStatus, PropertyErrorCode: System.Runtime.Serialization.TypeLoadExceptionHolder

Нам намекают, что надо бы подкрутить TCP Keep Alive на сервере, и делать это неплохо во время проверки соответствия сервера текущим рекомендациям.
У меня оказался другой случай, поскольку оба два сервера были за балансировщиком, настройку пришлось править именно на нем, ибо он был очень умный и полагал что всякие долгие подключения к нему из О365 как-то ему не нравятся.
Решение:
Изменяем  настройки Persistence mode для нашего VS  с  “Super HTTP” на Source IP”  устанавливаем таймаут равный 30 минут.

 

PS. Также ошибка может возникать если на площадке используется TMG. Открываем консоль, и в настройках Flood Mitigation добавляем в исключения IP адреса из диапазона О365.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.