HTTP Request returns success, but does not work in azure

I created a simple worker role project that sends an HTTP GET request to the weather underground site to update my weather stats from my weather station. The data it sends is pulled from a SQL database stored on Azure.
The solution works perfectly when I run it on my local emulator.  When I deploy it to staging in azure it runs without error.  I even get an HTTP success as the response to my GET.  However, my weather underground stats don't get updated. 
I connected the VS debugger to azure and can step through the code and it all seems to work as expected.  I get back an appropriate HTTP response.
Thoughts???
Thanks,
McP

I figured it out.  Upon close inspection I noticed that the date and time value that I was setting in my query string was off by 4 hours.  See, azure uses UTC time.  The service I was calling expects the datetime to be UTC as well.  So,
I was doing a simple conversion to UTC time in my code.  However, because the time was being stored in the database as local time, when I would call the conversion in code it was basically adding 0 hours to it because the azure instance was already running
in UTC.  So, I ended up doing a little time zone math to calculate the difference between my zone and UTC and then added that to the time coming from the database.
The reason it was returning success was because the service allows you to update older records.  However, if you are just looking at current weather conditions you would think that it wasn't being updated.
So remember - Azure runs on UTC time!!!

Similar Messages

  • My camera is working but does not work on skype how do I turn the camera on for Skype

    My camer is working but does not work on skype how do I turn the camera on.

    See this thread:
    https://discussions.apple.com/thread/5306216?tstart=0
    FIX: 
    1. You need Time Machine
    2. Go to folder /Library/CoreMediaIO/Plug-Ins/DAL/
    3. Copy AppleCamera.plugin to good place (usb memory stick is the best place).
    4. Go to Time machine in date that skype work fine.
    5. Change AppleCamera.plugin with file from Time Machine
    6. Restart system, Now skype need to work with camera.
    If that doesnt pass,
    Suggest looking here, much success has been found:
    http://community.skype.com/t5/Mac/OS-X-10-8-5-broke-Video-on-MacBook-Air/td-p/18 91729/page/4

  • I have a Serial Number which worked fine on my MacBook Pro but does not work on my desktop PC (Win 7).  What is the problem?

    I have a Serial Number which worked fine on my MacBook Pro but does not work on my desktop PC (Win 7).  What is the problem?

    You haven't identified the version so I can't tell if offering you contact options for Adobe Support will be of use to you.  But they will likely be your only hope of getting resolution unless you just happen to be using the wrong number as the serial number.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    Phone support | Orders, returns exchanges
    http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • I am trying to open a service request and the site does not work.

    I am trying to open a service request and the site does not work with ANY browser. I get the page https://getsupport.apple.com/GetParts.action which says "Send in for service. We just need a little more information." The continue button does not work. I've seen this problem before trying to file support requests. It's as if Apple simply does not want you to create requests.

    I just went through several screens and had no problems.  Try clearing your browser's cache and/or history.

  • I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • Java bean, works in Integration Engine but does not work in Adapter Engine.

    In connection to the following thread:
    PayloadZipBean - variable filename inside the archive
    I am trying to use the same bean.
    However I can see, that the bean is working correctly when I use Integration Engine.
    But if I am using ICo (AAE) and using the same bean in the receiver, I can see, that the bean gets called but does not work correctly.
    The audit log added to my bean shows, that the bean could read the filename correctly from the Dyanic Config in the message, but it cannot write the same into the message.
    Could you please help on this?

    Your above posted system details show multiple Java Console extensions.
    You can uninstall (remove) the Java Console extensions and disable the Java Quick Starter extension, you do not need them to run Java applets.
    See http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    See also http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0
    Disable the Java Quick Starter extension: Tools -> Addons -> Extensions
    Control Panel -> Java -> Advanced tab -> Miscellaneous -> Java Quick Starter (disable)
    You can try a direct connection: <br />
    Control Panel > Java > General tab > "Network Settings...": "Direct Connection" (enable)

  • Adobe flash player downloads but does not work

    Hi,
    When I download the flash player is says to click on active x and I do and allow and then it downloads and says complete but does not work when I try to watch you tube videos.  It says download flash player which I have already done.  Please help.

    cheri wrote:
    I can see the description box at the top but there is another white box with an x in the corner in about the middle of the screen
    You should see a flash animation if the Flash player was installed properly.  That you aren't seeing it means that it hasn't been.
    Adobe has a link to a troubleshooting page:
    http://kb2.adobe.com/cps/191/tn_19166.html
    Work through the suggestions.

  • My iphone 4s is factory unlocked purchased in the U.S., but does not work in carriers of Brazil

    I bought my iphone 4s unlocked factory from U.S., but does not work in carriers of Brazil.
    Displays the following message:
    Only compatible SIM cards from a supported carrier may be used to active iPhone. Please insert the SIM card that came with your iPhone or visit a supported Carrier's store to receive a replacement SIM card.
    What can I do?
    Thanks.

    Return your phone for a refund, because you did NOT purchase an officially unlocked iPhone 4S. There are no officially unlocked iPhone 4S's being sold, in the US, anywhere but Apple's online store. If you didn't get your phone through Apple's online store in the US, it is NOT officially unlocked.

  • I have downloaded the latest Adobe Flash - it says successful but will not work. It says to 'Manage Plug-ins but the Plug-in says it is enabled but it will not work at all. I have tried disabling and then enabling - no success.

    I have downloaded the latest Adobe Flash - it says successful but will not work. It says to 'Manage Plug-ins but the Plug-in says it is enabled but it will not work at all. I have tried disabling and then enabling - no success. Please help!

    There's two different versions of Flash. The ActiveX version for IE, and the Plugin version for other browsers. Did you install the correct version? This forum's software doesn't thing that Flash is installed for Firefox or the Plugin is disabled.
    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    4. Start Firefox and test your installation here: https://www.adobe.com/software/flash/about/
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

  • I have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    i have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    Hi guillermospain,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network
    http://support.apple.com/kb/ht3500
    OS X Mountain Lion: Set up a printer
    http://support.apple.com/kb/PH11145
    OS X Mountain Lion: Reset the printing system
    http://support.apple.com/kb/PH11143
    Cheers,
    - Judy

  • HT4113 ipad password is giving me problems, works on wallpaper to unlock but does not work for restrictions or reset

    ipad password is giving me problems, works on wallpaper to unlock but does not work on reset or restrictions

    You can try to remember or get the passcode somehow. If not, the only other option is to wipe the device clean and restore it to factory settings.
    Follow the instructions in  iOS: How to back up your data and set up your device as a new device http://support.apple.com/kb/HT4137 to restore the device to factory settings.
    Once you have setup the device as a new one, you can then sync it back with your iTunes account and all your music, apps, contacts and any other content sync'ed with iTunes will be loaded on the device. Any content that is stored only on the device and not sync'ed with iTunes, like app logins or data, will be lost during this process. Be forewarned that this is a long process and can take a couple of hours or more to complete. This can be painful, but it is necessarily so to prevent users from working around the security settings. After the restore is complete, you can setup a new Restrictions passcode. Make a note of the passcode to avoid this situation in future.
     Cheers, Tom

  • HT4995 My iPad 2 Location Service works fine but does not work on my home Airport router. How can I fix the problem?

    My iPad 2 Location Service works fine but does not work on my home Airport router. How can I fix the problem?

    lbryan1987 wrote:
    I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
    You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
    there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
    Seriously? It's physically broken!

  • Thumbnail preview works in adobe reader 9 but does not work in adobe 8.0

    I have small issue. Thumbnail works in adobe reader 9 but but does not work in adobe acrobat 8.0 in win xp

    Anyone going to tell me how to do this uninstalling and installing??????????
    I don't want to mess things up even more! Geez--I'm almost 60 years old,
    need to work and this might be costing me a job. I'm not 20 and text and
    e-mail etc every day. I'm just asking for a little help that as I see it ,
    is due to a "glitch" with Adobe's software. They can easily in their
    technological minds put a warning on anything before someone downloads
    anything such as "If you download this and you  have already downloaded
    that,, then it won't work." How tough would that be??? They, like most other
    major corporations, are in it for the money. What has happened to customer
    service???
    I need a step by step with my hand held and so it won't screw up things even
    MORE. Adobe...get your customer service and your software together...This is
    draining. I may lose a job over it. I need to have my computer running well
    at this point in time as there is no extra time to spend dealing with
    software issue that are a result of Adobe's software incompatibility.
    I was on the phone for TWO hours last night telling people exactly what was
    going on. I even read the error message word for word. No one would help me
    unless I coughed up the money that I don't have...and in addition I will
    lose a job that might get me some money. This is why I am so upset. Why is
    dealing with Adobe always so difficult??? Of course, I am upset. I'm
    actually a lovely person. It is just that this stuff rattles my nerves.
    Especially when there is a jobwith a raiseinvolved that I may lose as a
    result.
    Now I had better get dressed and ready for the job I have now before I am
    late for work and lose that job, too.....

  • I am trying to trigger a custom event using a program but does not work ..

    HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
    below is the code...
    {Key = '0010001115'. "Sales Order Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = 'ZXXXXXXXF'
        objkey                        = KEY
        event                         = 'ZEVENT'
      CREATOR                       = ' '
      TAKE_WORKITEM_REQUESTER       = ' '
      START_WITH_DELAY              = ' '
      START_RECFB_SYNCHRON          = ' '
      NO_COMMIT_FOR_QUEUE           = ' '
      DEBUG_FLAG                    = ' '
      NO_LOGGING                    = ' '
      IDENT                         =
    IMPORTING
      EVENT_ID                      =
      RECEIVER_COUNT                =
    TABLES
      EVENT_CONTAINER               =
    EXCEPTIONS
      OBJTYPE_NOT_FOUND             = 1
      OTHERS                        = 2}
    Please guide me if i am missing something.

    Hi Sunny,
    I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             =  'ZXXXXXXXF'
        OBJECT_KEY              = key
        EVENT                   = 'ZEVENT'
    *   COMMIT_WORK             = 'X'
    *   EVENT_LANGUAGE          = SY-LANGU
    *   LANGUAGE                = SY-LANGU
    *   USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    IMPORTING
       RETURN_CODE             = rcode
       EVENT_ID                = event_id
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    Regards,
    Saumya

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

Maybe you are looking for