This question already has an answer here:
Deploy on heroku with dpl not working with new farady version
(1 answer)
Closed last year.
Gitlab fails to deploy to heroku when I push.
When I first encountered the issue I referred to this link for configuration guidance. however when I push gitlab throws a RuntimeError that "ensure adapter! ": An attempt
to run a request with a Faraday:: Connection without adapter has been made.
In the process of trying to fix the issue I landed on this repo. Can anyone enlighten me on this?
I had the same problem and I solved with this:
https://github.com/travis-ci/dpl/issues/1247
Mentioned in this topic:
Deploy on heroku with dpl not working with new farady version
Related
What worked so far: I installed sonarqube locally with mvn sonar:sonar I get the results on localhost:9000.
Now I want to do the same thing for our app that is hosted on heroku. I could successfully install the buildpack from NayaraCaetano with
heroku buildpacks:set https://github.com/ https://github.com/NayaraCaetano/heroku-buildpack-sonarqube.git/heroku-buildpack-sonarqube.git -a ourAppName
On heroku I saw that the buildpack was added.
Not working / unclear
So how am I now able to open the sonarqube findings from heroku, I didn't find any documentation on this but not shure if I am missing the point of what this buildpack is supposed to do
In the end we were able to use sonarcloud.io. Since our heroku app was anyway connected to github we just created an account at sonarcloud that was connected to our master branch.
It's not really the solution i hoped for, but it meet our goal to constantly monitor our code coverage on every commit to the master branch.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I am using Parse.com CloudCode to create some custom functionality for an iOS app.
To deploy a CloudCode app you use:
terminal% parse deploy
Everything was working fine and I was able to upload my cloud code to the backend but suddenly it stopped working and I absolutely don't know why. I am getting this response:
requested resource was not found
EDIT:
The main.js is there, that is the file that has the changes. I tried to delete and recreate the app. The config is also correct. I restarted my computer, reset the connection, but still getting that response. Here is the full Terminal response after running % parse deploy:
% parse deploy
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
Deploy failed. Retrying deploy...
Uploading source files
Uploading recent changes to scripts...
The following files will be uploaded:
/path/to/main.js
requested resource was not found
Did anybody have the same or similar problem? If yes, what steps helped to resolve this issue?
Thanks in advance.
The newly released update has fixed this problem for me. You can either update using parse udpate or use curl curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash
I´m using it on JavaScript and just spamming "parse deploy" till the main.js is update do the work.
Is not nice, but it works :)
I have not yet migrated my rails project to the cedar stack.
I want to push some bug fixes to my production app on heroku,
but here is the response:
$ git push heroku master
remote: ! bamboo-mri-1.9.2 stack not supported.
fatal: unable to access 'https://git.heroku.com/project.git/': The requested URL returned error: 400
Is it still possible to deploy legacy apps running on bamboo?
Thanks!
The problem is resolved by using git over ssh, instead of over https.
https transport is unsupported on the legacy bamboo stack. Here's
the heroku article:
https://devcenter.heroku.com/articles/git#ssh-git-transport
For ssh transport, you have to jump through a few hoops to bring up
your connection. I found this article very helpful.
We're using Teamcity 8.0.1 (build 27435). Having this exact same problem. Trying to connect to a bitbucket repo and getting the following exception intermittently:
Failed to collect changes, error: List remote refs failed:
org.eclipse.jgit.errors.TransportException:
https://username#bitbucket.org/myproject/project.git: -1 null
Behind a proxy server and I have added -Dhttps.proxyHost=XXX -Dhttps.proxyPort=1234 to the TEAMCITY_SERVER_OPTS environment variable. That didn't work. There was mention of trying to upgrade to Java7 on another forum but that also didn't help.
Unfortunately, we're not able to use SSH to bitbucket because of the company network rules.
Anyone solved this problem or have suggestions? Thanks for the help!
Im not sure if there a bug in Teamcity/Jgit, but HTTPS for Bitbucket is not working properly. The solution here was to use SSH, but thats not an option for me.
My solution for now is to clone the repo locally (git clone --mirror) and update it periodically in bash (git remote update). Then just point TeamCity to that local .git folder.
Environment: Windows 7
I go to Start | Run and type cmd.
I changed to my directory on my local hard drive and I was able to successfully clone the Github project:
git clone git://github.com/heroku/ruby-sample.git
I then change to the directory:
cd ruby-sample
I'm able to run the Heroku create:
heroku create
I log into Heroku via Firefox and I can see my App directory on Heroku. So far, so good. Then I try and push:
git push heroku master
and every time I get the same error:
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I've Googgled and looked at a number of similar questions; but unfortunately, I'll be the first to admin that Linux is a very weak area for me. I haven't found an answer that is specific to this setup on a Windows 7 environment. I do have the Heroku Toolbelt installed.
Thank you!
V
(I realized I assumed Rails here and you did not specify that. If you aren't using Rails, ignore the comment about RailsInstaller and RailsBridge.)
You may need to add your ssh key to your heroku setup with:
heroku keys:add
If you used RailsInstaller, that should just work. If not, and you don't have an ssh key pair, you'll need to look up how to do that first. You can use PuTTY to do that: http://kb.site5.com/shell-access-ssh/how-to-generate-ssh-keys-and-connect-to-your-account-with-putty/
For a full procedure that will get an app bootstrapped onto Heroku with a Rails app, see: http://installfest.railsbridge.org/installfest/installfest