a simple walkaround approach is directly modify
webapp/app/components/angular-chosen-localytics/bower.json

{
  "name": "angular-chosen-localytics",
  "version": "1.0.5",
  "main": "chosen.js",
  "ignore": [
    "src",
    "example"
  ],
  "dependencies": {
    "chosen": "http://127.0.0.1:8080/kylin/dl/chosen_v1.0.0.zip";,
            ==========>change the URL that is not blocked by GFW here
    "angular": ">=1.2.0"
  }
}

2015-03-06 16:30 GMT+08:00 hongbin ma <[email protected]>:

> For GFW reasons, if you want to build Kylin from code, you'll have to
> config proxies for lots of tools(git, maven,npm, etc..)
>
>
> On Fri, Mar 6, 2015 at 4:12 PM, dong wang <[email protected]> wrote:
>
> > I get the latest code from MASTER branch via:
> > https://github.com/KylinOLAP/Kylin/
> >
> > then build it, error occurs as below:
> >
> > bower chosen#*                                        retry Download of
> >
> >
> https://github.com/harvesthq/chosen/releases/download/1.0.0/chosen_v1.0.0.zip
> > failed with ETIMEDOUT, retrying in 1.8s
> > bower chosen#*                                        error Hostname/IP
> > doesn't match certificate's altnames
> >
> > Stack trace:
> > Error: Hostname/IP doesn't match certificate's altnames
> >     at SecurePair.<anonymous> (tls.js:1376:23)
> >     at SecurePair.emit (events.js:92:17)
> >     at SecurePair.maybeInitFinished (tls.js:979:10)
> >     at CleartextStream.read [as _read] (tls.js:471:13)
> >     at CleartextStream.Readable.read (_stream_readable.js:340:10)
> >     at EncryptedStream.write [as _write] (tls.js:368:25)
> >     at doWrite (_stream_writable.js:225:10)
> >     at writeOrBuffer (_stream_writable.js:215:5)
> >     at EncryptedStream.Writable.write (_stream_writable.js:182:11)
> >     at write (_stream_readable.js:601:24)
> >
>

Reply via email to