Fork me on GitHub
#dirac
<
2016-08-24
>
giles02:08:44

definitely using [powerlaces/boot-cljs-devtools "0.1.1"] - should I create an issue in binaryage/dirac though? as it's specific to dirac

richiardiandrea03:08:25

@giles for the second error probably yes

richiardiandrea03:08:54

@darwin: maybe this point is not that clear to me either, is it enough to pass config to dirac for normal usage or I am missing something in boot-cljs-devtools?

giles04:08:40

the first problem I had, with changing where DevTools looks for the agent, it was easy enough to adjust the dirac agent host configuration by following the Configuration section at binaryage/dirac, eventually (I was being a bit dense at first, but at least I knew what I was looking for) - but the problem I have now, the bootstrap error coming from the nrepl-tunnel-server, I have no idea what the cause could be, whether it's just another configuration problem or not, and if it is, I don't know what is misconfigured

darwin08:08:22

@giles: hi, I will be able to assist tomorrow. Today I'm away (mountain biking). You can try to enable debug logging via env variable on agent side - just to see if agent is getting the bootstrap message

darwin08:08:47

Btw you are probably the first one trying to connect to a remote agent. Usual setup is to run everything on localhost

giles09:08:57

it must be an ip config problem somewhere...

giles09:08:23

everything's going along fine, but then I don't get # [WeaselREPLEnv#1] Waiting for promised response...

darwin20:08:18

@giles: I just re-read your post, it looks like your dirac nrepl middleware does not connect back to Weasel (running remotely)

darwin20:08:24

some docs on weasel are here: https://github.com/tomjakubowski/weasel some docs dirac nrepl middleware is a fork of https://github.com/cemerick/piggieback

darwin20:08:01

if you don’t want to set env property and your nrepl config should be project-specific, you should be able to configure it via runtime config: https://github.com/binaryage/dirac/blob/master/src/runtime/dirac/runtime/prefs.cljs#L31

darwin20:08:24

but this is considered advanced setup, first try baby steps with hardcoded env properties and validate that your nrepl middleware really got proper config (by setting DIRAC_NREPL_LOG_LEVEL to “debug” and/or DIRAC_AGENT_LOG_LEVEL to “debug” and observing logs)