Exchange 2013 Autodiscover issue with all versions of Outlook. Request Entity Too Large.

Having an issue with Exchange 2013 and Autodiscover.  Have a GoDaddy cert with mail.domain.org and autodiscover.domain.org.  Have all the URLs pointing to those.  Have Outlook Anywhere setup correctly.  OWA and ECP work fine with no cert warnings.  Have split DNS internally for the domain.local and domain.org.  Everything resolves correctly.  Getting a weird error with Outlook when setting up a profile.  It uses autodiscover and throws a cert redirect warning then throws a error " The connection to Exchange is unavailable. Outlook must be online or connected to complete this action".  Everything is online.

On the server I run:
Test-OutlookWebServices -Identity:username@domain.org -MailboxCredential:(Get-Credential domain\username) | fl >> C:\TestResult.txt

Results:
 [2015-11-05 15:54:31Z] Autodiscover response:
                      System.Net.WebException: The remote server returned an error: (413) Request Entity Too Large.
                         at System.Net.HttpWebRequest.GetResponse()

Also get something similar running the Outlook - Test connection .

Any thoughts?
LVL 1
ClearBlueTechnologiesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SteveCommented:
I believe its likely to be an issue with the virtual directories as that error is http related, not exchange specifically.

try rebuilding the virtual diretcories.

otherwise check the urls you have set for the autodiscover & ews folders to check you are pointing internal clients to the correct IPs for autodiscover.domain.org & mail.domain.org (not domain.local as you cant get SSLs for that these days.)
0
ClearBlueTechnologiesAuthor Commented:
I think it is a web issue too.  How do I rebuild the virtual directories?
0
ClearBlueTechnologiesAuthor Commented:
I ran the test-OutlookWebServices cmdlet from the Powershell and am getting these results.  

Source - ServiceEndPoint - Scenario - Result

server.domain.local - server.domain.local - Autodiscover: Outlook Provider - Failed
server.domain.local - server.domain.local - Exchange Web Services - Failed
server.domain.local -                                     - Availability Service - Skipped
server.domain.local - server.domain.local - Offline Address Book - Failed

The odd thing is I have all the virtual directories, DNS, SCPs, etc...pointing to the mail.domain.org address.  Not sure why these are still displaying the old address.  Not a 100% sure which is correct at this point either.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

SteveCommented:
0
ClearBlueTechnologiesAuthor Commented:
The URLs seem to be fine.
0
SteveCommented:
your test of the webservices suggested otherwise though.

Could you post the results of the 'get' commands from the links I provided so we can double check them please?
0
ClearBlueTechnologiesAuthor Commented:
Turned out to be a DNS issue on the Exchange server itself.  Someone pointed the secondary DNS server on the Exchange server to 8.8.8.8.  That was causing all kinds of problems.  Once removed, everything settled down.

Thanks for all the suggestions.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ClearBlueTechnologiesAuthor Commented:
None of the others fixed the issue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.