hello all. i managed to deploy the example ring project but when I visit the URL i’m getting {"message": "Internal server error"}
. in the AWS lambda logs it says Error loading class portkey.LambdaStub: java.lang.ExceptionInInitializerError Caused By: com.esotericsoftware.kryo.KryoException: Unable to find class: instaparse.core.Parser
. have you seen this issue before?
agh, I remember seeing this also, might be similar issue as this one https://github.com/portkey-cloud/portkey/issues/41
I should mention that i ran the project via windows subsystem for linux, not sure if that matters
i also tried manually adding instaparse as a dependency but still no bueno. does portkey copy everything on the classpath? i guess i don’t actually know how it works 🙂
so I think we run into dark Java magic when trying to serialize the contents of Instaparse Parser var :)
We need an easy way to add such cases as tests.
so I had in mind to do just lein run -m here.comes/trouble
so one can ship deps for a test with project.clj
. I think CircleCI build is configured against my AWS account so deployment can be done as well as invocation (can even a curl thing)
so to have separate Leiningen projects as test
which is what people might actually have
but narrowed for tests to make the thing utter it's secrets for the masters
How hard would it be to retrieve logs for a given invocation?