Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

null Error while starting a new container #1241

Open
dineshkumarsarangapani opened this issue Aug 26, 2021 · 0 comments
Open

null Error while starting a new container #1241

dineshkumarsarangapani opened this issue Aug 26, 2021 · 0 comments

Comments

@dineshkumarsarangapani
Copy link

Getting the following error in Mac Os.

null Error while starting a new container

Complete Stack trace.

04:49:49.974 [AutoStartProxyPoolPoller] WARN  d.z.e.z.p.DockeredSeleniumStarter - No container was created, will wait until request is processed again...
04:49:49.974 [AutoStartProxyPoolPoller] ERROR d.z.e.z.proxy.AutoStartProxySet - Failed to start container.
04:49:49.975 [AutoStartProxyPoolPoller] DEBUG d.z.ep.zalenium.util.Environment - Env. variable BUILD_URL value is not set, falling back to default:
04:49:50.033 [AutoStartProxyPoolPoller] WARN  d.z.e.z.c.DockerContainerClient - null Error while starting a new container
com.spotify.docker.client.exceptions.DockerRequestException: Request error: POST unix://localhost:80/containers/create?name=zalenium_e10Zbl: 400, body: {"message":"invalid reference format"}

	at com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:2835)
	at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2718)
	at com.spotify.docker.client.DefaultDockerClient.createContainer(DefaultDockerClient.java:737)
	at de.zalando.ep.zalenium.container.DockerContainerClient.createContainer(DockerContainerClient.java:391)
	at de.zalando.ep.zalenium.container.DockerContainerClient.createContainer(DockerContainerClient.java:287)
	at de.zalando.ep.zalenium.proxy.DockeredSeleniumStarter.startDockerSeleniumContainer(DockeredSeleniumStarter.java:311)
	at de.zalando.ep.zalenium.proxy.DockeredSeleniumStarter.startDockerSeleniumContainer(DockeredSeleniumStarter.java:266)
	at de.zalando.ep.zalenium.proxy.AutoStartProxySet.startContainer(AutoStartProxySet.java:446)
	at de.zalando.ep.zalenium.proxy.AutoStartProxySet.checkContainers(AutoStartProxySet.java:380)
	at de.zalando.ep.zalenium.proxy.AutoStartProxySet.lambda$0(AutoStartProxySet.java:124)
	at java.lang.Thread.run(Thread.java:748)
Caused by: javax.ws.rs.BadRequestException: HTTP 400 Bad Request
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:999)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:816)
	at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:92)
	at org.glassfish.jersey.client.JerseyInvocation$5.completed(JerseyInvocation.java:773)
	at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:198)
	at org.glassfish.jersey.client.ClientRuntime.access$300(ClientRuntime.java:79)
	at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:180)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340)
	at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:210)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	... 1 common frames omitted

Commands used,

docker run --rm -ti --name zalenium -p 4444:4444 \
      -e DOCKER=17.06.2-ce \
      -v /var/run/docker.sock:/var/run/docker.sock \
      -v /tmp/videos:/home/seluser/videos \
      --privileged dosel/zalenium start

and

docker run --rm -ti --name zalenium -p 4444:4444 \
      -v /var/run/docker.sock:/var/run/docker.sock \
      -v /tmp/videos:/home/seluser/videos \
      --privileged dosel/zalenium start

Docker version,

docker --version
Docker version 20.10.7, build f0df350
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant