-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
balancer: fix message parsing error -- invalid type: string "true"
#1339
Comments
I would like to work on this. |
I was able to reproduce this again using the
I'm more inclined to think that there is something wrong with the monolith than the balancer. Full steps:
|
I have docker working both on my desktop and laptop. Can confirm I'm getting the same error. I haven't tried it with K6 yet, but I will tomorrow. To me, this isn't really indicative of where the error might be in the code base. How can I troubleshoot more to try and track it down? |
ah well if you're getting it without k6, don't bother. We need to track down where |
Never mind. Can't recreate it without k6 now. Do I have to run the entire load test or is there a way to slow down the logs in the terminal to better see whats going on? They fly by really fast and you can't get any meaningful information from them. I'll also start trying to mess around with the debugger. |
you can reduce the number of vus |
I've found an easier repro:
with body {
"name": "foobar",
"isTemporary": "true"
} This should get the log message to show up again. |
By default, k6/http will encode post requests as `x-www-form-urlencoded`. This can result in boolean values getting interpreted by the monolith as strings. Related: #1339
Think you have some free time at any point today or tomorrow to go over some of this? I've been trying to use the debugger but haven't been making much progress. |
By default, k6/http will encode post requests as `x-www-form-urlencoded`. This can result in boolean values getting interpreted by the monolith as strings. Related: #1339
Current Behavior
Started seeing this log message from the balancer
Expected Behavior
All messages from monoliths should be valid json, and the balancer should be able to parse them.
Steps To Reproduce
docker-compose -f docker/with-balancer.docker-compose.yml up -d --scale opentogethertube=10
docker-compose -f docker/with-balancer.docker-compose.yml logs -f --tail 1
Environment
Anything else?
I think this has something to do with the
M2BGossip
mesageThe text was updated successfully, but these errors were encountered: