-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do i locate the issue of One2OneBidiFlow$OutputTruncationException? #1028
Comments
Can you show how you start the server? The only reason I can think of that this would happen is if you use |
Thanks @jrudolph . Yes, I do use
The problem with the error message above is I don't know where to locate the issue, as there is not a helpful hint in the error what request caused it. In this concurrent context, it is especially difficult to identify the cause. I just wonder if there is a way to include any extra useful information into the exception - OutputTruncationException, for example, request information, route information of the flow and so on. My routes construction code as follows:
Thanks, Cheng |
@jrudolph , It seems this issue was resolved in v10.0.6. I upgraded to v10.0.6 some days before. It seemed there were no more errors of this kind in my log. But in v10.0.6 Release notes, I did not see anything related? |
It might have been accidentally fixed. |
Thanks, @jrudolph . Close for now. |
I'm seeing the exception on 10.0.7, also using |
Not found root cause yet, but it happens in the following scenario. We're implementing an http routing proxy, with akka-http both on the server and client side. The error occurs when passing an incoming I'll see if it is reproducable on a smaller test-case. |
@jypma can you post a snippet of how the connection is made through the proxy? Could it be related to idle timeouts triggering as I suggested in #1028 (comment)? |
For me, using Kamon was the culprit. Removing Apperently their I'll raise an issue there. |
@jrudolph As I wrote above, it luckily wasn't timeouts for us, "just" the I know it's outside of akka-http scope, but if you can spot the issue in FlowWrapper within a minute, it'd be much appreciated :-) Somehow it indeed triggers a completion of the wrapped flow, but I don't understand yet how, since it doesn't explicitly even call |
Got it. Was missing all the "finish" directives. |
@jrudolph I faced similar exception and co-incidentally the cause of this exception is always traceless. I had to literally debug line by line to find the issue. The issue was related to Base64 to utf conversion bug. Thanks anyways for always being there to support us. :) |
Hi,
I am using akka-http 10.0.5 with akka 2.4.17. Now in my server log, I occasionally received the following errors. I have looked through the related issues in the repository, but I still have not come up an idea of identifying the cause. I am using both http and websocket. As the error stack has no clue about what request is related to the error, I am having difficulty in locating the issue. Could you please give me some clue? Thanks.
The text was updated successfully, but these errors were encountered: