How do I tell playframework to use my corporate proxy?

I am trying to get started with a web playback card and its support for scala,

Unfortunately, the β€œinstall scala” fails because the playback cannot get the module site.

I have my system settings correct for the corporate proxy, but the game does not seem to use them.

Is there a configuration file somewhere or some environment properties that I need to set for playback in order to raise them?

+7
proxy networking playframework
source share
4 answers

I assume that it only works with 1.1.1, which has not yet been released. See error 210 . I'm not sure, but I think the list modules and installation use the same code to get the proxy. You can install it manually.

+3
source share

The install command implemented in Python uses ulrlib backstage: https://github.com/playframework/play/blob/master/framework/pym/play/commands/modulesrepo.py#L73

The urllib library allows urllib to set the proxy server through the env var http_proxy : http://docs.python.org/library/urllib.html#high-level-interface

So, you can try to set the proxy through this ENV variable.

+5
source share

Are you sure that the location of the modules is not blocked by the proxy? Can you access the url through your browser, or if you are running on Linux using wget?

The url you want is http://www.playframework.org/modules/scala-head.zip .

If you can access it, you can simply download the file and unzip it directly into the game modules. In any case, the installation team does all this.

+2
source share

I would highly recommend using software such as Proxifier to work with corporate proxies without dealing with it at the application level. This will allow you to control the entire configuration of the proxy server in one place, and also work much more smoothly than trying to update individual software packages.

http://www.proxifier.com/

If you are using U * nx, try CNTLM instead.

http://cntlm.sourceforge.net/

+1
source share

All Articles