How to specify proxy credentials for lagom / activator / sbt? -


i trying out lagom lightbend, using my-first-system template gettingstarted page.

i on windows 10, , behind corporate proxy.

activator fails download dependencies due missing credentials proxy. have set http_proxy environment variable.

the following error reported activator:

[info] updating {file:/e:/projects/lagomhelloworld/my-first-system/project/}my-first-system-build... [info] resolving com.lightbend.lagom#lagom-sbt-plugin;1.0.0 ... [error] server access error: connection timed out: connect url=https://repo.typesafe.com/typesafe/ivy-releases/com.lightbend.lagom/lagom-sbt-plugin/scala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml [error] server access error: connection timed out: connect url=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.lightbend.lagom/lagom-sbt-plugin/scala_2.10/sbt_0.13/1.0.0/ivys/ivy.xml [error] server access error: connection timed out: connect url=https://repo1.maven.org/maven2/com/lightbend/lagom/lagom-sbt-plugin_2.10_0.13/1.0.0/lagom-sbt-plugin-1.0.0.pom [error] unable find credentials [ @ <proxy-ipv4-addr> ]. [warn]  module not found: com.lightbend.lagom#lagom-sbt-plugin;1.0.0 

note: error message contains actual ipv4 address, not substitute show above.

where should specify user id , password proxy?

how can in secure way?

activator should check system properties, in case

#-dhttp.proxyuser=put proxy user here #-dhttp.proxypassword=put proxy password here 

in file ~/.activator/activatorconfig.txt.

this described in detail in faq section on https://www.lightbend.com/activator/docs

scroll down section "behind proxy".


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -