Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0928C200C63 for ; Thu, 11 May 2017 12:21:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 07B97160BC7; Thu, 11 May 2017 10:21:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4E34F160BB2 for ; Thu, 11 May 2017 12:21:07 +0200 (CEST) Received: (qmail 83202 invoked by uid 500); 11 May 2017 10:21:06 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 83191 invoked by uid 99); 11 May 2017 10:21:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 May 2017 10:21:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1B8A818060B for ; Thu, 11 May 2017 10:21:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id WuA0XFmh64D1 for ; Thu, 11 May 2017 10:21:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BBB8E5FCAC for ; Thu, 11 May 2017 10:21:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 55CB6E0641 for ; Thu, 11 May 2017 10:21:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0F9C521E08 for ; Thu, 11 May 2017 10:21:04 +0000 (UTC) Date: Thu, 11 May 2017 10:21:04 +0000 (UTC) From: "Steve Gill (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12782) [Windows] Install cordova plugins from private gitlab repository failed with status code 406. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 May 2017 10:21:08 -0000 [ https://issues.apache.org/jira/browse/CB-12782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006203#comment-16006203 ] Steve Gill commented on CB-12782: --------------------------------- Probably related to https://issues.apache.org/jira/browse/CB-12756 > [Windows] Install cordova plugins from private gitlab repository failed with status code 406. > ---------------------------------------------------------------------------------------------- > > Key: CB-12782 > URL: https://issues.apache.org/jira/browse/CB-12782 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli, cordova-plugins, cordova-windows > Affects Versions: 7.0.0 > Environment: Windows 7 > node v6.10.3 > npm v3.10.10 > cordova 7.0.0 > Reporter: Xu Chao > Labels: plugins > > When I install a cordova plugin from a private gitlab repositroy in Windows, I get a HTTP 406 error. > However, the same plugin can be installed successfully in Mac. > I also tried the other two windows PC, but without luck. > The command I used: > {quote} > cordova plugin add http:///XXX/cordova-plugin-statusbar.git > {quote} > The errors from the console: > {quote} > Error: Failed to fetch plugin http://XXX/cordova-plugin-statusbar.git via registry. > Probably this is either a connection problem, or plugin spec is incorrect. > Check your connection and plugin name/version/URL. > Error: cmd: Command failed with exit code 1 Error output: > npm ERR! fetch failed http://XXX/cordova-plugin-statusbar.git > npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 406 > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org