Comments (6)
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.
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.
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.
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.
This is still happening. Looks like a nice first contribution to return a 400 message with a proper error message.
from akka-http.
I'd give it a try
from akka-http.
Related Issues (20)
- Cannot Unmarshall Seq[String] Outside HOT 1
- Release 10.6.0-M1
- Release 10.6.0-M2
- CVE-2023-44487 HOT 3
- Release 10.5.3
- Release 10.6.0
- Failed: Http2ClientSpec should send RST_STREAM if entity stream is canceled HOT 2
- Failed: Http2ServerSpec send RST_STREAM if entity stream is canceled
- Remove dependency on `sbt-dependency-graph` HOT 1
- Release 10.6.1
- Failed: Native image tests HOT 1
- SSE (and maybe more) marshalling/unmarshalling require classic system HOT 1
- fail: CI is failing to publish docs HOT 2
- The akka.http.cors package is not exist HOT 1
- Release 10.6.2
- failed: JwtDirectivesSpec HOT 4
- Failed: OutOfMemoryError HOT 1
- Release 10.6.3 HOT 1
- Explicit typed actor system to Http.apply does not compile on Scala 3
- `Content-Disposition` header parsing for `form-data` doesn't follow RFC7578 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka-http.