Re: [Jib Users] Build image failed: Read timed out

510 views
Skip to first unread message

Q Chen

unread,
Jul 24, 2018, 12:18:32 PM7/24/18
to 楊剑飝, jib-...@googlegroups.com
Hi, 

I suspect that this could be fixed with a higher timeout. Can you try with the new `jib.httpTimeout` system property? For example, you can do:

mvn compile jib:build -Djib.httpTimeout=60000

Let me know if this helps!
Q


On Sun, Jul 22, 2018 at 11:54 PM Jenius_Yang <yjflo...@gmail.com> wrote:
Hi~ 

when I run mvn package jib:build ,it throws read time out  but i can docker login in locally, how to resolve it

INFO] Retrieving registry credentials for registry.hub.docker.com...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.407 s
[INFO] Finished at: 2018-07-23T14:52:41+08:00
[INFO] Final Memory: 32M/581M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.7:build (default) on project jibdocker: Build image failed: Read timed out -> [Help 1]


--
You received this message because you are subscribed to the Google Groups "Jib users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jib-users+...@googlegroups.com.
To post to this group, send email to jib-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jib-users/8e4639ac-48b7-4edd-8516-68dc129e1b9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages