none
Can not login into my server RRS feed

  • Question

  • Hi

    I  created my own server in Azure couple of weeks ago. I have put MySql database on it and i was able to login into it and add tables and insert things into these tables. But now, for some reason im unable to log in (im using same login and password) and im getting this message: "The X-CSRF-Signature header could not be validated.". I dont understand why, can someone explain me this?. Thank you for answers. I have free version of azure.

    Saturday, July 13, 2019 9:29 AM

All replies

  • Hi,

    Thanks for your feedback. As you mentioned it is free version. Could you please verify if the allotted amount is not consumed which may result in error while logging in.

    Hope this helps.

    Tuesday, July 16, 2019 8:50 AM
    Moderator
  • Hi

    I don't think it is a problem. I was able to change  my database before, then I left it for a week and then im unable to edit tables from azure site. I can however chage my database using  Microsoft SQL Server Management Studio 18 and using the same login and password. Also i want to add that i only have one server and one database on it with no tables thats all

    Wednesday, July 17, 2019 9:39 AM
  • Hi,

    Apologies for the delay. For a deeper investigation and immediate assistance on this issue, if you have a support plan you may file a support ticket, else could you send an email to AzCommunity @ Microsoft dot com with the below details, we would like to work closer with you on this matter. 

    Thread URL:
    Subscription ID:

    Tuesday, July 30, 2019 7:16 AM
    Moderator
  • Hi,

    I hope your concern has been resolved by support ticket. Could you please share the resolution for the same. So that if anyone is facing the same issue can also you the same resolution.

    Monday, August 26, 2019 6:16 AM
    Moderator
  • Hi Tadude

    This header is created and validated to prevent a certain type of attack against Azure SQL Servers.  Specifically, some web browsers can save your passwords which might then allow an attacker who doesn’t know the password to issue queries using the remembered password.  In order to prevent this type of attack, known as Cross Site Request Forgery (CSRF), Azure attach this little bit of extra data, called the “CSRF Signature”.  This signature proves that the credentials were known at the time of the request, not just remembered by the browser.

     

    This security mechanism requires that your clocks are synchronized to within 5 minutes of our servers, to prevent replay attacks with old CSRF signatures.

    Please ensure that your clock is set to the correct time, as this is the most likely cause for the error message you observed.

    Thanks
    Navtej S

    Thursday, August 29, 2019 7:05 PM
    Moderator
  • Hi TaDude,

    Is this SQL Server running on an Azure VM? Or did you provision an Azure VM with MySQL? Please clarify. This is a MySQL forum...

    Thursday, August 29, 2019 11:35 PM
    Moderator
  • Hi

    One of the customers completed an experiment and found the issue is with Proxy connection interaction with TLS.

    Here are the results:

    Also the product team is aware of the issue and will try to fix this by end of Sept 2019.

    Thanks
    Navtej S

    Thursday, September 12, 2019 4:36 PM
    Moderator
  • Hi 

    The issue was coming when customer use proxy network to open the portal and when TLS enabled.

    The issue is caused by a code bug, when signing X-CSRF Azure was using list of headers that was sent from customer and on Azure side it was checked again that list is the same. But some of the proxies and browsers can delete some of the request headers, so PG team deleted one of the request headers that was redundant and was sometimes cleaned by proxy or browser. The product group developers have made code fix for this issue and the fix will be deployed worldwide soon.  

    So if the issue has resolved for you, please mark this reply as an answer so it can help other users.

    Thanks
    Navtej S

    Tuesday, September 17, 2019 4:46 PM
    Moderator