title: Akka-http illegal request header
body: <p>I have exposed a simple endpoint that takes in two query parameters. When I test the code locally I don't have any problems. But when deployed to prod I see the following message:</p>
  
  <pre><code>a.a.ActorSystemImpl Illegal request header: Illegal 'cookie' header: Invalid input '/', expected tchar, '\r', WSP or '=' (line 1, column 186): ...
  </code></pre>
  
  <p>As you can see I'm not doing any cookie parsing</p>
  
  <pre><code>import akka.actor.{ActorSystem, Props}
  import akka.http.scaladsl.Http
  import akka.http.scaladsl.server.Directives._
  import akka.stream.ActorMaterializer
  import akka.stream.scaladsl.Sink
  
  object MainApp extends App {
    implicit val system = ActorSystem()
    implicit val materializer = ActorMaterializer()
  
    private val config = system.settings.config
  
    private val server = Http().bind(config.getString("akka.http.server.interface"), config.getInt("akka.http.server.port"))
  
    private val route = {
      path("replay") {
        get {
          parameters("fromDate", "toDate") { (fromDate, toDate) =&gt;
            complete {
              &lt;some other code&gt;
            }
          }
        }
      }
    }
  
    val bindingFuture = server.to(Sink.foreach {
      connection =&gt;
        connection handleWith route
    }).run()
  }
  </code></pre>
  
  <p>Any suggestions would be appreciated!</p>