Hi Ketan, I was previously using this one: https://app.vagrantup. com/gocd/boxes/gocd-demo which I originally got from https://www.gocd.org/ 2015/08/05/Go-Sample-Virtualbox/ - however that box is an older version of Ubuntu that can't run the latest GoCD due to the Java 8 dependency.
I should only be running a single instance: ubuntu@ubuntu-xenial:~$ ps aux | grep go go 1323 0.0 0.1 47296 4656 ? Ss 10:54 0:00 /lib/systemd/systemd --user go 1327 0.0 0.0 63476 2124 ? S 10:54 0:00 (sd-pam) go 1367 71.4 22.2 3735732 899732 ? Sl 10:54 0:45 java -server -Djava.security.egd=file:/dev/./urandom -Xms512m -Xmx1024m -XX:MaxMetaspaceSize=256m -Duser.language=en -Djruby.rack.request.size.threshold.bytes=30000000 -Duser.country=US -Dcruise.config.dir=/etc/go -Dcruise.config.file=/etc/go/cruise-config.xml -Dcruise.server.port=8153 -Dcruise.server.ssl.port=8154 -jar /usr/share/go -server/go.jar go 1371 4.0 2.4 3440364 99820 ? Sl 10:54 0:02 java -jar /usr/share/go-agent/agent-bootstrapper.jar -serverUrl https://127.0.0.1:8154/go go 1803 187 4.3 2449576 177712 ? Sl 10:55 0:01 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Dcruise.console.publish.interval=10 -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -Dagent.plugins.md5=d972231b5a553fbf14f0939342257a59 -Dagent.binary.md5=PubINBE6cd1wLkXj8BvEcQ== -Dagent.launcher.md5=xt6jpMOq1AbvCqRWkaamCQ== -Dagent.tfs.md5=64stwdXndt019D6QtoWa6Q== -jar agent.jar -serverUrl https://127.0.0.1:8154/go -sslVerificationMode NONE Confusingly, this never happens on prod, just the stripped down Vagrant box I'm using to try and create a minimal test case. I'm not running the server on localhost, but on a Vagrant box, and then using the port forwarding feature, I'm unsure if that'll matter? I note this issue also exists on GitHub issues: https://github.com/ gocd/gocd/issues/3618 which suggests some environment issue to trigger this bug that we haven't figured out. Using incognito mode doesn't work for me, however... On 5 July 2017 at 11:43, Ketan Padegaonkar <ketanpadegaon...@gmail.com> wrote: > If all you want to do is quickly get a production like server up and > running with least amount of fuss, I've provided an example here along with > the config and password file. > > https://github.com/gocd/gocd/issues/3618#issuecomment-311545904 > > > On Wed, Jul 5, 2017 at 4:11 PM Ketan Padegaonkar < > ketanpadegaon...@gmail.com> wrote: > >> On Tue, Jul 4, 2017 at 7:17 PM Chris Northwood <cnorthw...@gmail.com> >> wrote: >> >>> Hi Aravind, >>> >>> I'm still having issues using the Vagrant box, and getting it set up >>> with 17.7. When I try to create a pipeline (before adding the authorization >>> plugin), I get a CSRF error. >>> >> >> That's usually an indication that you have another server running on the >> same host but different ports causing all sorts of weirdness. Could you >> confirm that you only have one server running on "localhost", or whatever >> you're using for development? >> >> >>> If I add the authorization plugin, I can never get past the login screen >>> (similar to https://groups.google.com/forum/m/#!topic/go-cd/Qe_tEdgQhTg). >>> I'm curious if there's any obvious environment issues between us, as the >>> Vagrant box should give us the same environment :/ Alternatively, could the >>> gocd demo Vagrant box get updated to the latest version of GoCD, so I can >>> use that as a base instead of rolling my own? >>> >> >> What demo vagrant box are you referring to? We use the box built out of >> the Vagrantfile <https://github.com/gocd/gocd/blob/master/Vagrantfile> >> checked into the gocd repository. Alternatively: >> >> docker run -it --rm -v $(pwd):/gocd -v $HOME/.gradle:/go/.gradle >> gocdcontrib/gocd-dev-build:v1.0.23 /bin/bash >> >> The docker example is a lot easier to work with, since it involves not >> having to download and install stuff on a network. If you run that docker >> command in the directory containing your gocd sourcecode, it's mounted in >> `/gocd` inside the docker container. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "go-cd" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/go-cd/la2lmt7C07U/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > go-cd+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.