title: How to increase `akka.http.server.parsing.max-method-length` in Akka HTTP?
body: <p>How to fix the increase max method length in Akka HTTP. I am getting the below issue in web socket connection service.</p>
  
  <pre><code>Illegal request, responding with status '400 Bad Request': Unsupported
   HTTP method: HTTP method too long (started with '￼ﾒ﾿vN'). Increase 
  `akka.http.server.parsing.max-method-length` to support HTTP methods with more characters.
  </code></pre>
  
  <p>I have added the <strong>akka.http.server.parsing.max-method-length</strong> in <strong>application.conf</strong>.
  After adding the <strong>max-method-length</strong> also am getting the same issue and my .conf file is:</p>
  
  <pre><code>    app {
    interface = "0.0.0.0"
    port = 7000
  }
  
  # Cors allowed origin configuration
  # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cors {
   allowed-origin = "http://127.0.0.1"
  }
  
  
  akka {
    http {
      server.parsing.illegal-header-warnings = off
      client.parsing.illegal-header-warnings = off
    }
  }
  akka.http.server.parsing.max-method-length =500
  </code></pre>