Fork me on GitHub
#portkey
<
2018-06-08
>
sekao16:06:25

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?

viesti16:06:05

agh, I remember seeing this also, might be similar issue as this one https://github.com/portkey-cloud/portkey/issues/41

sekao16:06:51

I should mention that i ran the project via windows subsystem for linux, not sure if that matters

sekao17:06:52

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 🙂

viesti19:06:15

so I think we run into dark Java magic when trying to serialize the contents of Instaparse Parser var :)

cgrand19:06:32

We need an easy way to add such cases as tests.

viesti19:06:23

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)

viesti19:06:07

so to have separate Leiningen projects as test

viesti19:06:27

which is what people might actually have

viesti19:06:22

but narrowed for tests to make the thing utter it's secrets for the masters

cgrand20:06:03

How hard would it be to retrieve logs for a given invocation?