Return 504 Gateway TimeOut when access exchange service by domain/user and password

hi,
here is the scenario: a user of our app is in ntdev domain, and his exchange server located at apj.cloudmail.microsoft.com. our backend api is deployed at the Azure servers at US West.
our api get 504 Gateway Timeout when calling the
FindFolders API of exchangeService. does anyone know how to fix this issue? the following is the core code:
var
service = newExchangeService(ExchangeVersion.Exchange2010);
service.Credentials =
newNetworkCredential(username,
password, domain);
service.AutodiscoverUrl(emailAddress, RedirectionUrlValidationCallback);
service.FindFolders(
WellKnownFolderName.Root,
newFolderView(1));

That doesn't sound like its an EWS issue more an issue with the Network path your trying to traverse to the Exchange Server. My suggestion is that you test EWS using the EWSeditor
https://ewseditor.codeplex.com/ (eg it sounds like you may have proxy server that expecting authentication etc.).
Cheers
Glen

Similar Messages

  • BSOD when starting MSMQ service as domain user Windows server 2012

    Hi
    We have a problem with a server getting BSOD when we start a service related to MSMQ. We get the attempted execute of noexecute memory BSOD whenever we start the service as a User on the domain. When we start the service as a system local it starts without
    problem. I got the crashdump here:
    ************* Symbol Path validation summary **************
    Response                         Time (ms)     Location
    Deferred                                       SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Microsoft (R) Windows Debugger Version 6.3.9600.17298 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    Loading Dump File [C:\170\120314-11828-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available
    ************* Symbol Path validation summary **************
    Response                         Time (ms)     Location
    Deferred                                       SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is: 
    Windows 8 Kernel Version 9200 MP (4 procs) Free x64
    Product: Server, suite: TerminalServer SingleUserTS
    Built by: 9200.16912.amd64fre.win8_gdr.140502-1507
    Machine Name:
    Kernel base = 0xfffff800`48476000 PsLoadedModuleList = 0xfffff800`48742aa0
    Debug session time: Wed Dec  3 14:41:01.892 2014 (UTC + 1:00)
    System Uptime: 0 days 0:04:09.904
    Loading Kernel Symbols
    Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
    Run !sym noisy before .reload to track down problems loading symbols.
    Loading User Symbols
    Loading unloaded module list
    *                        Bugcheck Analysis                                    *
    Use !analyze -v to get detailed debugging information.
    BugCheck FC, {7f982e340e0, 791000010fdb1025, fffff8800485a5e0, 80000005}
    Probably caused by : mqac.sys ( mqac!ACCreateQueue+a77 )
    Followup: MachineOwner
    1: kd> !analyze -v
    *                        Bugcheck Analysis                                    *
    ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (fc)
    An attempt was made to execute non-executable memory.  The guilty driver
    is on the stack trace (and is typically the current instruction pointer).
    When possible, the guilty driver's name (Unicode string) is printed on
    the bugcheck screen and saved in KiBugCheckDriver.
    Arguments:
    Arg1: 000007f982e340e0, Virtual address for the attempted execute.
    Arg2: 791000010fdb1025, PTE contents.
    Arg3: fffff8800485a5e0, (reserved)
    Arg4: 0000000080000005, (reserved)
    Debugging Details:
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT_SERVER
    BUGCHECK_STR:  0xFC
    PROCESS_NAME:  mqsvc.exe
    CURRENT_IRQL:  0
    ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) amd64fre
    TRAP_FRAME:  fffff8800485a5e0 -- (.trap 0xfffff8800485a5e0)
    NOTE: The trap frame does not contain all registers.
    Some register values may be zeroed or incorrect.
    rax=000007f982e0c950 rbx=0000000000000000 rcx=0000005dff1fecd0
    rdx=0000005dff34e988 rsi=0000000000000000 rdi=0000000000000000
    rip=000007f982e340e0 rsp=fffff8800485a778 rbp=fffff8800485ab80
     r8=fffffa800e623980  r9=0000000000000521 r10=fffffa800ec547a0
    r11=0000000000000006 r12=0000000000000000 r13=0000000000000000
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei pl nz na pe nc
    000007f9`82e340e0 ??              ???
    Resetting default scope
    LAST_CONTROL_TRANSFER:  from fffff80048661ef1 to fffff800484d0540
    STACK_TEXT:  
    fffff880`0485a408 fffff800`48661ef1 : 00000000`000000fc 000007f9`82e340e0 79100001`0fdb1025 fffff880`0485a5e0 : nt!KeBugCheckEx
    fffff880`0485a410 fffff800`48588980 : fffff880`0485a5e0 ffffd8e9`9e6056e2 fffffa80`0ec547a0 00000000`00000000 : nt! ?? ::FNODOBFM::`string'+0x33f2d
    fffff880`0485a450 fffff800`4850aabd : fffff880`0485a500 00000000`c0000016 fffffa80`0e603b00 fffffa80`0e623980 : nt! ?? ::FNODOBFM::`string'+0x33e85
    fffff880`0485a4a0 fffff800`484cdfee : 00000000`00000008 00000000`00000000 00000000`00000000 fffff880`0485a5e0 : nt!MmAccessFault+0x3ed
    fffff880`0485a5e0 000007f9`82e340e0 : fffff880`00dc5297 fffffa80`0ec54770 00000000`00000000 fffff8a0`011ce7c0 : nt!KiPageFault+0x16e
    fffff880`0485a778 fffff880`00dc5297 : fffffa80`0ec54770 00000000`00000000 fffff8a0`011ce7c0 fffff980`00000000 : 0x000007f9`82e340e0
    fffff880`0485a780 fffff880`00dc60d7 : 00000000`00000000 0000005d`ff34e988 00000000`00000000 00000000`00000000 : mqac!ACCreateQueue+0xa77
    fffff880`0485a7f0 fffff800`488ab127 : fffffa80`0e5ed520 fffffa80`0d50ecf0 00000000`00000521 00000000`00000000 : mqac!ACDeviceControl+0x62b
    fffff880`0485a890 fffff800`488c02f6 : 00000000`00000000 fffff8a0`00000080 00000000`00000000 00000000`00000000 : nt!IopXxxControlFile+0x7e5
    fffff880`0485aa20 fffff800`484cf553 : 00000000`00000000 00000000`0000000c fffff6fb`7dbed078 fffff6fb`7da0ff30 : nt!NtDeviceIoControlFile+0x56
    fffff880`0485aa90 000007f9`8a702c1a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13
    0000005d`ff34e928 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x000007f9`8a702c1a
    STACK_COMMAND:  kb
    FOLLOWUP_IP: 
    mqac!ACCreateQueue+a77
    fffff880`00dc5297 85c0            test    eax,eax
    SYMBOL_STACK_INDEX:  6
    SYMBOL_NAME:  mqac!ACCreateQueue+a77
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: mqac
    IMAGE_NAME:  mqac.sys
    DEBUG_FLR_IMAGE_TIMESTAMP:  5010abc2
    IMAGE_VERSION:  6.2.9200.16384
    BUCKET_ID_FUNC_OFFSET:  a77
    FAILURE_BUCKET_ID:  0xFC_mqac!ACCreateQueue
    BUCKET_ID:  0xFC_mqac!ACCreateQueue
    ANALYSIS_SOURCE:  KM
    FAILURE_ID_HASH_STRING:  km:0xfc_mqac!accreatequeue
    FAILURE_ID_HASH:  {d1daca31-6256-358c-65b5-69af54392880}
    Followup: MachineOwner

    Hi,
    For BugCheck FC, it indicates that an attempt was made to execute non-executable memory. For more details,
    please refer to following article.
    Bug Check 0xFC: ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY
    à
    whenever we start the service as a User on the domain
    . When we start the service as a system local it starts without problem
    Did you mean that just use a standard domain user account to start the service, then encounter the issue? If
    configure Log on as Local System account, will no BSOD issue occurred? Just a confirmation, thanks for your understanding.
    Please check if you install all necessary Windows Updates on the server.
    In addition, as you know, troubleshoot this kind of kernel crash issue, we need to analyze the crash dump file to narrow down the root cause of the issue. However, it is
    not effective for us to debug the crash dump file here in the forum. If this issues is a state of emergency for you. Please contact Microsoft Customer Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
    To obtain the phone numbers for specific technology request, please refer to the web site listed below:
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
    Hope this helps.
    Best regards,
    Justin Gu

  • 504 gateway timeout

    Is anyone else getting a gateway timeout when trying to download anything from creative.adobe.com.
    Update actions were failing this morning so I ran the Adobe Cleaner App and now I can't download and install anything.

    Please refer to the following forum thread for solution for resolution.
    Creative Cloud - Download error - stubborn error
    Update to CC 2014 Failed
    I install at the new update cc2014 but for some reason in my computer appear double app the old one and the new  but the new dose not gave the setup that I have in my old version! What happen ?
    Hope this helps.
    Thanks and Regards,

  • Unable to access Runtime Services with admin user

    Hi all,
    Trying to access runtime services with admin user returns a "Authentication Denied
    The username or password has been refused by Runtime Services. Please try again."
    Credentials are correct. It seems to be some kind of lockout. I´ve copied this admin user entry in ldap and named it admin2, this "new" user can perfectly log.
    As it could be a lockout I have unlocked the user although the proper tab said there was no locked user.
    The realm is in a openldap.
    Any hint would really be appreciated.

    Hi all,
    Trying to access runtime services with admin user returns a "Authentication Denied
    The username or password has been refused by Runtime Services. Please try again."
    Credentials are correct. It seems to be some kind of lockout. I´ve copied this admin user entry in ldap and named it admin2, this "new" user can perfectly log.
    As it could be a lockout I have unlocked the user although the proper tab said there was no locked user.
    The realm is in a openldap.
    Any hint would really be appreciated.

  • When creating self service request contains attachments and it's approved

    when creating self service request contains attachments and it's approved  is the attachments automatic transfer to the applet form or not?

    resolved

  • Can't write my user and password when accessing OV...

    Hi all,
    can somebody help me to resolve my issue
    when i access OVI, i am requested to  enter user and password, but when i write my user and password, it looks like i am writing in white caracters , i can't see what i am writing.
    thx for all and regards

    are you using predictive text ?what phone have you ?you can use the hash key to change characters
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • External Web Service - User and password in HTTP header

    Hi!
    How is it possible to add user and password in the HTTP header in a external web service call? 
    I have created a "Portal Service from WSDL file - Client side" with the wizard in SAP Developer Studio.  I following the Java Development Guide - Web Service Security, and use the <i>secured service connection</i>.  I have also created a new <i>System Landscape</i>, but should the new system be based on HTTP, my own PAR or what?
    How can I check that the user and password is added to the HTTP header or the SOAP envelope? Do I have to scan http traffic with a proxy as Paros or can I find the request sent from SAP EP in the logs?
    Cheers
    Asle

    Hello All,
    I have been struggling a bit while putting a reasonable security framework on a jax-rpc style web service. I'm using JWSDP1.2 to set up the webservice. I've tried to outline my problem below. Please correct me where I'm wrong.
    I've been through the Sun's WS tutorials, but they are not really clear on security. However, from them I surmised that there are two decent authentication techniques. HTTP Basic and mutual authentication (MA) . Both have their drawbacks though. HTTP Basic suffers from poor encryption while MA is a bit difficult to set up on both client and server sides. Another problem with MA is that there is no central repository for users/passwords.
    OK, what I would really like to do is use my own user database to verify users/passwords i.e. use a HTTP Basic like authentication (but at application level) but run it over SSL for encryption. It seems simple, but is it possible?
    Also, I have noted that when I use HTTP Basic on the service side, and use a java client, then setting username/password has no effect. In other words, I can always access the web-service, even with wrong username/password.
    Sorry for the long post. Hope someone can help. Thanks.

  • The server at Mac OS X Server Web Services requires a username and password

    I am running SL Server 10.6.2, wiki works but when a person clicks an attached file in a wiki and then selects "open" they get a login popup with the notification The server at Mac OS X Server Web Services requires a username and password. It doesn't matter what they put into the login/pass it comes back. If they hit cancel then the document opens. If they click save then it saves with no issue. I can type in the admin login/pass of the server and it works. Does this mean the security settings to the location of the files is wrong? Any help is greatly appreciated!

    By the way they are using Internet Explorer 7 when opening these documents.

  • Photosmart 7520 Embedded Web Services Administrator log in and password

    I have a Photosmart 7520 and I am trying to use Embedded Web Services to modify some settings.
    When I do so a screen pops up asking me to enter the User and Password. I dont recall setting this up.
    I have tried:
    1. User: admin password: [blank]
    2. User: admin password: admin
    3. User: admin password: password
    I repeated the same but typed in Admin instead of admin for the above 3 options. 
    None of these work. I have searched everywhere for a solution but nothing.
    I then tried to see if I could reset the printer into a state that is was in when I first unboxed it to start again. The only guidance on this for my printer is to turn the printer off by pushing the off button, unplugging it, waiting for a minute and starting again. That did not solve the issue either. The printer did not fully reset to the default when it was first unpacked and none of the above user password options worked.
    There is nothing in the user manual on this.
    Extremely frustrated having spent 3 hours of a Sunday trying to resolve this. Very poor!
    This question was solved.
    View Solution.

    I am facing the same issue with my 7520. If you could send me that information I'd appreaciate it.

  • Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other devices.

    Just got new air and trying to set up. When I put in my Apple ID and password it comes up with error message 'can't sign in because of server error. Try again signing on.' Trying again does not fix. I know my ID and PW are right as work on other apple devices I have.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • HT201441 hi freinds i bought a 4g iphone second-hand i earsed the phone but now when i open it requsting an email and password of the privous owner to be active what can i do in this case i don't now the the iphone's owner please help

    hi freinds i bought a 4g iphone second-hand i earsed the phone but now when i open it requsting an email and password of the privous owner to be active what can i do in this case i don't now the the iphone's owner please help

    Then there's nothing you can do.  Only the previous owner can help you.  They must either provide the ID and password, or erase the phone and remove it from their account as explained in the article you were reading.  There's no way around this.

  • HT1600 I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing? I am able to get the 'Home sharing' 'user and password on my Mac.

    I have an Apple TV 2nd Gen, iPad 2 and can't get the icon to appear when i swipe from left to right. What am I missing?
    I am able to get the 'Home sharing' 'user and password on my Mac.
    Also using IPad 2 I am able to get the ITunes to accept the user name and same password as the Mac.
    However, the only way I can see the 'Home sharing; icon is in Music on the Ipad. When I tap on the Icon it asks for a password.
    When I give the same password, it is rejected.
    Help!!!!
    Jaxxdiggs

    Personally I think the iOS devices are poor at reconnecting  - Airplay establishes that a link is available but when the iPhone/iPad has been away from the house and rejoins the network i think AppleTV already thinks it's connected with a different IP address and fails to recognise it has joined the network again with new credentials.
    Something along those lines anyway.
    I find that a combination of restarting AppleTV, router and iOS device tends to fix it, but not for everyone.
    AC

  • How to pass user and password in workspace when open a bqy

    hello,
    how to pass user and password of workspace when refresh a bqy for a query in DB2.
    I don't know where to insert the properties in order to use user and password of workspace,
    I want to use user of login of workspace,
    I don't want to make to appear the mask of login newly when the user refresh the query.
    I don't want to set a default user and password
    thanks
    massimo

    Dear Friend,
    What you mean?
    1. Do you mean how to pass login page on workspace ?
    2. or Do you mean how you can use a connection file to connect to db that is hide from user?
    3. or You mean how to use user & password to login to doc on workspace
    Answer for 1:
    use link
    http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy?user=admin&pass=password
    Answer for 2:
    a) Upload or import connection file ( MyConn.oce ) to DB2 into workspace,
    b) for IR doc properties change file connection ( MYConn.oce )
    Answer for 2:
    use link without user & pass parameter
    http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy <?user=admin&pass=password>
    regards
    siyavuş

  • Downloaded music apps o.k.  Says login failed when I put in user and password. No trouble when getting any other apps.

    Downloaded music apps o.k.  Says login failed when I put in user and password. No trouble when getting any other apps.

    Sounds like you may have deleted something you shouldn't have. Boot to an OS X DVD or a bootable backup, and using Disk Utility, do a repair disk, and while there repair permissions. Disconnect any peripherals, and reboot. If you get the same startup behavior, do a safe boot, by holding the shift key down when booting. If that works, try a normal boot. If neither step helps, you may need to relaod your operating system.

  • When I click "Run as current user" and continue , Nothings happening~

    When I click "Run as current user" and continue , Nothings happening~

    Check that you do not run Firefox as Administrator.
    Right-click the Firefox desktop shortcut and choose "Properties".
    Make sure that all items are deselected in the "Compatibility" tab of the Properties window.
    * Privilege Level: "Run this program as Administrator" should not be selected
    * "Run this program in compatibility mode for:" should not be selected
    Also check the Properties of the firefox.exe program in the Firefox program folder (C:\Program Files\Mozilla Firefox\).

Maybe you are looking for

  • Can I launch a vi when TS launches

    I am looking for a way to launch a vi in its own thread when TestStand launches. Is there a way to do this in the process model or before any sequence files are loaded. Here's my use case... I have a test station with removable test heads for differe

  • ORA-00922: missing or invalid option

    I am using oracle 10g datbase. and trying to create a list of tables of 300 tables - a sampel is given below CREATE TABLE "SCHM1"."HOLIDAYS" ( "DATE" DATE NOT NULL ENABLE, "DESCR" VARCHAR2(40), "EXTRA_HOURS" NUMBER(2,0), "HOLIDAY_GROUP" VARCHAR2(5) N

  • How do you un-disable your iPhone online?

    i accedently typed my password in wrong too many times and now it is disabled for an hour and i finally figured out the right password but i dont know how to un-disable it. i thought you could do it online. HELP.

  • Parsing a string to formula and executing to int value

    Hi , I have a String from the database which will hold symbols + - etc. Eg: String a =((((2+5)/(80*76)) -65)*)The above shows a string with operators and numeric values. I need to execute this String and obtain a integer value. How i can accomplish t

  • W540 - Failure due to missing i/o HD light

    Word of warning about TuneUp utilities AVG Zen. Yesterday I got the offer to upgrade my license to the new PC-Tune from AVG.  Failed on the W540 with error @AVGMSI_Error1729 [0xC00706C1]. Advised to run repair file AVG_BFEfix.exe Program says "WORK I