-
Notifications
You must be signed in to change notification settings - Fork 27
Make JSON decoder buffer size dynamic #130
Comments
Fixed by PR #135 when merged. |
Wow! So awesome, did not realize #135 is merged - going to test now. |
I have tested the the latest Here is the 12k LOC file it happened on I would be happy to just skip such files, but after this error - server hangs forever 😞 |
Very odd since that message is not in the SDK code anymore, I'll try with the docker image (but that SDK code is really used in the drivers which also have new versions compiled against the latest SDK). |
I can't reproduce it. Steps I took (using the workaround posted on Slack for the problem with the current server and env variables):
I tried again with several consecutive requests just in case it was hanging at the second request like in server bug #36 but it works perfectly. |
Ok, I was missing But this does not explain why |
Actually, I should be using the version from Dockerhub to test it, let me test again without that. |
I didn't use --transport=docker-daemon. I just tried without the workaround (since @abeaumont fixed that and published the new image) and it worked again without problems: docker rm (docker ps -a -q)
docker rmi --force (docker images -q)
docker run --privileged -p 9432:9432 --name bblfsh bblfsh/server
docker run -v (pwd):/work --link bblfsh bblfsh/server bblfsh client --address=bblfsh:9432 /work/shit.java |
Closing since the fix was merged. |
Ok, after more digging - the reason I was getting this is that if you do not use transport - by default all the runtime, that includes driver containers, is cached under AFAIK there are plans to add I'm removing it manually and it should work now. |
Oooooh yes, I totally forgot about that, I also lost many hours with that the other day with that cache... |
A better solution for this kind of problems: #127
The text was updated successfully, but these errors were encountered: