good morning everybody. i am trying to run a pants...
# general
v
good morning everybody. i am trying to run a pants build from within a docker container and am getting the following error:
Copy code
Problem in nailgun protocol with nailgun server at 127.0.0.1:33755: TruncatedHeaderError(u"Failed to read nailgun chunk header (TruncatedRead(u'Expected 5 bytes before socket shutdown, instead received 0',)).",)
can anybody help with this? we are running a (very) old version of pants (
pantsbuild.pants==1.3.0
) which we plan on modernizing in the near future, but for now are just looking to get our current setup working in a containerized environment.
a couple of notes: • the reason for running in docker is because we need a specific version of python and java • logs right before this error:
Copy code
[zinc]
  [cache]                                        
    No cached artifacts for 40 targets.
     Invalidated 40 targets.
  [isolation-zinc-pool-bootstrap]
  [compile]
  [zinc]
    compile failed: Problem launching via NailgunClient(host=u'127.0.0.1', port=33755, workdir='/app') command org.pantsbuild.zinc.Main...Problem in nailgun protocol with nailgun server at 127.0.0.1:33755: TruncatedHeaderError(u"Failed to read nailgun chunk header (TruncatedRead(u'Expected 5 bytes before socket shutdown, instead received 0',)).",)
h
Oooof, 1.3.0 is so prehistoric, I doubt anyone here can help with that one
v
haha understandable.....do you have any resources that could help us get to 2.x from our prehistoric version?