web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

(0) ShareShare
ReportReport
Posted on by 590

Hi,

Iam using CRM 2013 online version(not a trial version).I was trying to create a new plugin in CRM 2013, so i have installed CrmDeveloperToolsVS12_Installer.My system have all the required softwares installed i.e WIF(3.5), Silver light 4. So when i try to connect to Dynamics CRM server iam getting an error i.e. "The remote server returned an error: (504) Gateway Timeout". So i tried to connect to CRM 2013 online using Plugin Registration tool, then also it is showing the same error "The remote server returned an error: (504) Gateway Timeout".

What it means and how to connect to CRM 2013 online via Visual Studio 2012 ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Saroj Das Profile Picture
    3,355 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Siva, Thank you very much for your time and the detail. I got the point. Thank you again.

    Saroj.

  • SIVA NARAYANA REDDY DWARAMPUDI Profile Picture
    590 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Saroj,

    Thanks a lot for helping me.

    Actually iam trying to develop a plugin in CRM 2013 using developer tool Add-on in Visual Studio 2012.The developer tool asks for the credentials to connect to crm 2013, so when i have given the servicce name and when i try to connect it is throwing me "(504) Gateway Timeout" error.
    This error occured to me in office where we try to send a request to CRM using proxy server,So i tried at home and now i could able to connect to CRM.
    Due to this i stopped using Crm Developer tool for Visual studio and i manually developed the plugin to deploy it in CRM using Plugin Registration Tool.The main advantage with Crm Developer tool is no need to generate early bound classes, no need to write a lot of code and no need to deploy again in our solution, it reduces a lot of work. But it is not fetching me here so i opted for Plugin registration tool.
    While connecting with Plugin Registration tool first thing i did is i got Admin privileges.If you get that privilege then you can also develop the plugin using Crm Developer tool in Visual studio.
    With Plugin Registration Tool i checked the Radio button "Online" Instead of "Office 365", so i got the above error i.e
    "Error : You don't have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CRM region and try again. Otherwise check with your CRM administrator."

    The Subscription that our company took is Office 365, so when i checked "Online" it didn't worked. So i done done as mentioned below

    Now it is working :)

     

    If you are Satisfied with my solution the make it as Suggested Answer

     

  • Saroj Das Profile Picture
    3,355 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Siva. it's great you resolved the issue. Could you please spend your time to get the reason why it was not working in Online option and how it is working in Office 365 option. Please share your view.

    Thanks,

    Saroj

  • Verified answer
    SIVA NARAYANA REDDY DWARAMPUDI Profile Picture
    590 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi All,

    My problem is solved, I just checked the Office 365 radio button and i tried to login, now iam able to login.

  • SIVA NARAYANA REDDY DWARAMPUDI Profile Picture
    590 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi All,

    How this problem can be solved..?

  • SIVA NARAYANA REDDY DWARAMPUDI Profile Picture
    590 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Alen George/All,

    I tried at home and now its is working i.e. now i could able to connect to CRM Organization. so i asked my company network people so they have give me some admin privileges and now iam getting this error

    Source : Not Provided

    Method : Not Provided

    Date : 04-12-2014

    Time : 12:07:50

    Error : You don't have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified. If you're not sure which region your organization resides in, choose "Don't know" for the CRM region and try again. Otherwise check with your CRM administrator.

    Stack Trace : Not Provided

    ======================================================================================================================

  • SIVA NARAYANA REDDY DWARAMPUDI Profile Picture
    590 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Alen George,

    Thank you for responding

    Ya it may be a network related problem, i will try connect the plugin registration toll from outside of company and i will let you know.

    No Proxy devices devices are used in our company, i also checked it in Lan Settings in IE.

  • Community Member Profile Picture
    on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Siva,

    The 504 does indeed suggest a network problem where the CRM plug is regn tool is unable to establish network connectivity with the servers.

    To isolate if this is indeed a network issue, why not try to connect the plug in registration tool from outside the company network? maybe you could test from your home computers. This will tell us if the cause is network related.

    If it is network related, i would take a look at the proxy servers used.

    Are you using any proxy devices in your company? If you go to IE settings > Internet options> connections > LAN settings> do you see if any option is checked? Is a proxy server specified here?

    -Alen

  • SIVA NARAYANA REDDY DWARAMPUDI Profile Picture
    590 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Saroj Das,

    I tried out all the options, still the same error.

  • Saroj Das Profile Picture
    3,355 on at
    RE: The remote server returned an error: (504) Gateway Timeout in CRM 2013 while connecting to CRM server

    Hi Siva, Please select the region and check the checkbox Display list of available Organization.

    Thanks,

    Saroj

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans