Git Product home page Git Product logo

Comments (6)

akka-ci avatar akka-ci commented on August 26, 2024

Comment by ktoso
Wednesday Aug 24, 2016 at 08:30 GMT


Hm, what was the actual request?
I see how this could be instead interpreted as 400.

Possibly would require a change in exception type we use there, doable.

from akka-http.

akka-ci avatar akka-ci commented on August 26, 2024

Comment by ktoso
Wednesday Aug 24, 2016 at 08:31 GMT


You can always write a custom exception handler that would render this as a 400 btw

from akka-http.

akka-ci avatar akka-ci commented on August 26, 2024

Comment by francisdb
Wednesday Aug 24, 2016 at 09:34 GMT


We have no log of the actual request but let me try to reproduce this

from akka-http.

akka-ci avatar akka-ci commented on August 26, 2024

Comment by francisdb
Wednesday Aug 24, 2016 at 12:15 GMT


> telnet www.myserver.com 8088
Trying xxx.xxx.xxx.xxx...
Connected to www.myserver.com.
Escape character is '^]'.
GET htttp://foo.bar/test HTTP/1.1
Host: foo.bar

HTTP/1.1 500 Internal Server Error
Server: akka-http/2.4.9
Date: Wed, 24 Aug 2016 12:07:55 GMT
Connection: close
Content-Length: 0

Connection closed by foreign host.

Maybe some kind of crawler / hack tool tried this as a possible exploit? Would also be better if the log message contained the actual uri/schema.

Anyway, we don't want our logs polluted with 500 errors because of this stuff. Thanks for the workaround tip

from akka-http.

jrudolph avatar jrudolph commented on August 26, 2024

This is still happening. Looks like a nice first contribution to return a 400 message with a proper error message.

from akka-http.

shkoder avatar shkoder commented on August 26, 2024

I'd give it a try

from akka-http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.