STH-Comet installation - fiware

Recently I installed in a Fiware instance STH-Comet through the command:
git clone https://github.com/telefonicaid/fiware-sth-comet.git
cd fiware-sth-comet
npm install
Today I went to install again and when cloning the STH-Comet repository the following error arose:
Initialized empty Git repository in /etc/fiware-sth-comet/.git/
error: while accessing https://github.com/telefonicaid/fiware-sth-comet.git/info/refs
fatal: HTTP request failed**
Have there been any changes to the STH-Comet repository?

Maybe, it is due a permission denied. Try to set up your public key on github. Instructions here: https://help.github.com/articles/generating-ssh-keys/ and check it again. There were no changes in that repository.

Related

Problems integrating Jenkins and Mercurial

I am getting the next error:
java]Started by user anonymous
Building in workspace C:\Program Files (x86)\Jenkins\jobs\test1\workspace
$ hg clone --rev default --noupdate ssh://locahost/*/test1 "C:\Program Files (x86)\Jenkins\jobs\test1\workspace"
remote: Unable to open connection:
remote: Host does not existabort: no suitable response from remote hg!
ERROR: Failed to clone ssh://locahost/*/test1
ERROR: Failed to clone ssh://locahost/*/test1
Finished: FAILURE
In mercurial pluging from the jenkins console I have used
Repository URL: ssh://locahost/*/test1
The rest options are in default
Any idea?
Thanks
I don't know why you have a * character in your path to the remote repository, but that seems likely to be the culprit for this particular error (it generates similar errors against my own hg server).

Mercurial windows server 2008

I have the all-in-one download with TortoiseHg 2.6.1 and Mercurial 2.4.1 installed on windows server 2k8. I created a repository, served it on port 8000. There are no mercurial configuration files setup right now for this repository. No global config files either. When I try to clone this repos through eclipse (MercruialEclipse plugin) from a remote computer over the internet, I get:
abort: HTTP Error 404: Not Found
What does this mean?
Thanks.
Found the solution. The command syntax was incorrect. The incorrect syntax I was using was
hg clone http://www.xyz.com:8000/<dirname for the repo clone>
The correct command is:
hg clone http://www.xyz.com:8000/ <dirname for the repo clone>
Should also mention that I am using version 2.3.2(mercurial)

Redmine doesn't display mercurial repository

I connect repository in projects settings: set repository type as mercurial and set root directory as "/repositories/hg_test" and when i click Repository tab in project i get "The entry or revision was not found in the repository"
Repository separately works great, i can push and pull.
I try to drop tables "changes" and "changesets" in redmine database and do
ruby script/runner "Repository.fetch_changesets" -e production
I get some records in this tables again. Records from my 'hg_test' repository. I think this mean that redmine SEE that repository but cant DISPLAY it.
Why he cant, how to solve this problem? Maybe i must configure something in redmine.
PS OS - Ubuntu 10.04, webserver - nginx with passenger
If your repositories' directory is mounted via SSHFS, be sure to enable -o allow_other when mounting.
Redmine must have permissions to access to your repository. Add webserver's user (in my case it was www-data) in the group ownership of files and directories of repository.
this solution worked for me:
edit (copy *.yml.example if not created yet) file /opt/redmine/config/configuration.yml, and change this line with your hg executable path:
scm_mercurial_command: /usr/bin/hg
restart the webserver containing redmine (typically redmine itself or apache)
test

can not get sources from bitbucket

Windows XP, Mercurial 1.6.4
hg clone https://demas#bitbucket.org/demas/start.here
destination directory: start.here
requesting all changes
abort: error:
But if I use SSH all works fine
hg clone ssh://hg#bitbucket.org/demas/start.here
Debug info:
hg clone --debug https://demas#bitbucket.org/demas/start.here
using https://bitbucket.org/demas/start.here
http auth: user demas, password not set
sending between command
destination directory: start.here
sending heads command
requesting all changes
sending changegroup command
abort: error:
Why? And how I fix it?
Use a custom configuration to workaround the handling of self-signed certificates:
Note that per the default settings installed, connect to repositories with self-signed certificates fail with 1.7.3. You need to adjust the default configuration for that case.
References
CA Certificates in hg on Windows
hg import from a https URL fails

Can't clone Bitbucket repo via https

Can't clone Bitbucket repo via https on Debian. I always get error:
abort: authorization failed
Mercurial Distributed SCM (version 1.4.1), Python 2.5.2
Thru ssh and http(w/o pass) work fine.
After updating my own password on Bitbucket all works fine