Search Unity

Bad method - The HTTP verb used is not supported

Discussion in 'Web' started by monark, Sep 29, 2017.

  1. monark

    monark

    Joined:
    May 2, 2008
    Posts:
    1,598
    I'm see this error in WebGL projects on Edge

    HTTP405: Bad method - The HTTP verb used is not supported
    (XHR) Options - https://config.uca/cloud.unity3d.com

    Is this something to do with unity analytics?
    Is it something to worry about?
     
  2. ValienteDS

    ValienteDS

    Joined:
    Apr 7, 2019
    Posts:
    3
    Bump. I'm having this problem when trying to log into my server that's on a cross domain. I've tried adding headers like;

    Code (CSharp):
    1.     Response.AddHeader("Access-Control-Allow-Origin", "*");
    2.    Response.AddHeader("Access-Control-Allow-Methods", "GET, POST, OPTIONS");
    3.    Response.AddHeader("Access-Control-Allow-Headers", "Accept, Origin, Content-Type, X-Access-Token, X-Application-Name, X-Request-Sent-Time");
    4.    Response.AddHeader("Access-Control-Max-Age", "1728000");
    5.    Response.AddHeader("Access-Control-Allow-Credentials", "true");
    But this didn't solve the issue. I'd appreciate any help.
     
  3. doctorpangloss

    doctorpangloss

    Joined:
    Feb 20, 2013
    Posts:
    270
    You must serve from https:// to deliver content to Chrome users, period full stop. There is simply no workaround.

    Regarding the other user's error, it is also likely, but hard to tell, if the user is serving from http.