I've install my CF on http://paas.azure4j.us
Now I want to use an eclipse plugin for CF , but when I add my CF server an error occured it said
The currently selected server type does not support remote hosts
But it works when I test it to api.vcap.me / my local CF.
Any solution ?
This looks like a similar issue addressed in a git change;
https://github.com/SpringSource/eclipse-integration-cloudfoundry/pull/2
I am not really an Eclipse user, so this is a bit of a stab in the dark!
I think Dan is correct here. At the moment you create your Cloud Foundry connection against 'localhost' (which doesn't make much sense from an Eclipse point-of-view) and in the new panel you specify your actual API target, username, password etc. Is that what you are doing?
I was able to connect to your Cloud Foundry instant without any problem using STS. First I used vmc to register for a account. Once I registered an account, I went to STS and on the server tab I right clicked, and choose Cloud Foundry from my vmware folder.
When you choose the Cloud Foundry option on the server tab, keep the Server's host name the same (which is localhost). Give a name to your Server Name and keep the Server runtime environment the same as well. Click Next to move to the next screen. On the next screen you should see Email, Password and URL. Email and password are pretty straight forward and those should be your information which you registered with your Cloud Foundry instance. For the URL section, click on the Manage Cloud... button and then the Add... button. You should get a window popup which have Name and URL. For name put whatever name you want and for URL put in "http://paas.azure4j.us", then click on Finish. Now you have your custom Cloud URL added to the list so go ahead and click on the OK button again. Now you should be on the New Server window where you have the Email, Password and URL options. For the URL option go ahead and choose the newly added url you just created and then click on "Validate Account" to see if everything is validated. You should get a "Account information is valid" message. then click on Next and continue with the wizard until you are done and you have your Cloud Foundry instance added to your servers list.
Again I have performed the same exact steps I mentioned above and I was able to have your Cloud Foundry instance added to my servers tab.
I've done this issue , so I edit my cloud_controller.yml and uaa.yml on
~/cloudfoundry/.deployment/devbox/config
Then change uaa uri at http://uaa.cloudfoundry.com to http://paas.azure4j.us:8080/ to redirect it to own uaa.
Thanks for all solutions :))
Related
This question's answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions.
It's unclear from the API how to get the token that can be used to clone http repositories.
From the documentation here:
http://doc.gitlab.com/ee/ci/api/README.html
It should be possible to GET this url:
http://gitlab.com/ci/api/v1/projects?private_token=QVy1PB7sTxfy4pqfZM1U&url=http://demo.gitlab.com/
I'm not sure where the url parameter is taken from but even with just my private token, it receive a 404 error page.
I tried with the ci subdomain but it simply redirect me to gitlab.com.
That said, I'll explain a bit more the reason why I need that. I have a server that could have multiple projects. Each projects will contain a list of repositories private/public each project has to be cloned/pulled and whatever regularly. Unlike github, gitlab doesn't provide a oauth2 token that is sitewide and instead provide a CI-token for each project. I could make sure that the user enter the token for each project but that is way more complicated than entering the private token.
On the other hand, I could generate SSH keys for each users and add the public key to their account and this way it would be possible to fetch/clone with ssh instead of http. But that is a bit more work on my end than just fetching a token and cloning with a basic auth url
git clone https://gitlab-ci-token:token#gitlab.com/project.git
You can find the token by doing the following from gitlab.com
Click on the project you are working on from the starting screen
Click "Settings" on the left hand navigation
Scroll down to the bottom and click "CI / CD" which is nested in Settings
Under the "Runners" section click expand
Token is hidden here.
Took me 10 minutes to find this... not documented anywhere.
According to new Gitlab CI Build Permissions Model, HTTPS is now a requirement to clone all the sources. So that rules out the SSH option.
Now to clone any private repo you can just do:
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}#gitlab.com/<group_name>/<repo>.git
Also, you DONT need to specify the value for CI_JOB_TOKEN. It is taken automatically. So, just fill in the <group_name> and <repo>.
Also, remember that gitlab.com can be replaced by gitlab.xyz.cloud (your private gitlab enterprise) and this will still work.
Needless to say that you would never actually require the value of CI_JOB_TOKEN
The url to retrieve your token is located under the following path /profile/account.
Or you can just navigate to Profile Settings -> Account
Also make sure you are using the right version of the api. At the time of this response is currently on v3 /api/v3/projects?private_token={my_private_token}
gitlab-ci-token can be found at [Go to left side panel -> settings -> ci/cd->runners]
I would say to check the type of token you want.
Private token?
Navigate to Profile Settings -> account.
A token can be generated if you want to trigger a new CI/CD pipeline and this can be done by navigating to Project Settings-> CI/CD pipelines -> Create a token
Also, It is important that you have the right privileges to Git.
I'm trying out the Logic App in Azure. I created the logic App and then added the sFTP connector. I entered the Server Address,server port and changed the "Accept Any SSH Server HostKey" to true. I'm leaving the "SSH Server HostKey", Root Folder and "Encrypt Cipher" fields as blank since they are optional and I don't have that information. See https://azure.microsoft.com/en-gb/documentation/articles/app-service-logic-connector-sftp/
With all that above information entered I'm not able to save the logic app.A message "Incomplete Changes You have added or edited 'sftpconnector' but have not completed your changes. Click OK to discard your changes." id displayed when I click on Save.
Any help on adding the sFTP connector to the logic will be greatly appreciated.
Thanks
As shown in the screenshot, You need to click "OK" after modifying the Package Settings. Make sure you have selected an appropriate App Service Plan too.
I'm having troubles setting up the API username/password from VoIP Innovations in my RestComm AMI.
I've followed the steps described here but the AvailablePhoneNumbers api call returns an empty list.
Then I accessed the instance via ssh and checked for the restcomm.conf file in the standalone folder. My VoiceRSS key was there but the not the VI credentials. I spent some time looking at the other files in $RESTCOMM_HOME and I found one of particular interest: $RESTCOMM_HOME/bin/restcomm/autoconfig.d/config-restcomm.sh
In that file the configVoipInnovations method call was commented and even if it wasn't commented it requires a third argument (the VI endpoint ID, which I'm not sure if it refers to the VI Endpoint Group ID or something else) that wasn't mentioned in the link above.
I also tried editing $RESTCOMM_HOME/standalone/deployments/restcomm.war/WEB-INF/conf/restcomm.conf directly with
<voip-innovations>
<login>my VI Api username</login>
<password>my VI Api password</password>
<endpoint>my VI endpoint group id</endpoint>
<uri>https://backoffice.voipinnovations.com/api2.pl</uri>
</voip-innovations>
But it didn't seem to work. The AvailablePhoneNumbers still returned an empty list.
What am I missing?
#nbermudezs,
In order to send/received SMS you should register an SMS enabled DID. Unfortunately you cannot register such DID via the Admin UI (in contrast with voice DIDs). You should go to your VoipInnovations account dashboard and search for SMS enabled DIDs there. Register the SMS enabled DID of your choice first in VoipInnovations back office and then simply go to Restcomm Admin UI -> Numbers -> +Register Number. From the drop down menu choose US as Country, select the area code for the DID of your choice and in the Number field enter the actual number (without the area code in front of it) then click register. After that you should be able to send/receive SMS from/to your newly registered DID.
#nbermudezs,
Sorry that you are having problems configuring Restcomm for Voip Innovations. When you are using Restcomm AMI, it already comes pre-configured with a default (Demo) Voip Innovation account that will automatically provision DIDs and allow you to choose an Area Code in the United States. Because the configuration script will automatically default to the pre-configured Voip Innovations account, modifying the restcomm.xml file will not work work as expected. Did you try to provision DID using the Admin UI?
On the AMI, this is how to set your VI information
Go to the directory /opt/telestax/restcomm/current/bin/restcomm
edit the file restcomm.conf
Go to the section below and fill out your VI account details. The must be set to PROVISION_PROVIDER='VI'
# DID Provision provider variable declarations
PROVISION_PROVIDER='' # values: VI (VoipInnovation), BW (Bandwidth), NX (Nexmo), VB (Voxbone)
#Username and password for all supported DID provision providers
DID_LOGIN=''
DID_PASSWORD=''
# VoipInnovation Endpoint ID
DID_ENDPOINT=''
Save your changes
You must restart Restcomm as follows
restcomm_stop
restcomm_start
I am getting this error:
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
When browsing to this page.
https://www.facebook.com/dialog/oauth?response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fusers%2Fauth%2Ffacebook%2Fcallback&scope=email%2Cuser_about_me&client_id=clientid&type=web_server
I ofcourse googled around and found this topic:
Facebook API error 191
It says that add your page URL to facebook. I have been going through all tabs in facebook under my created App and there is no input box for page URL.
I also see that this answer is from early 2012 and possibly outdated, how should it be done in 2013?
If you go to "http://developers.facebook.com" you should be able to login, click on "Apps" at the top. From there you can click on "Edit Settings" for the app that you are testing (or creating). I took a screen shot of what that looks like:
My guess is there is an error in the field "App Domains", or in the "Site URL" field. You will want to make sure that your url and domain(s) are correct. Hopefully this helps or at least sets you on the right track.
One more suggestion - it looks like you are testing using "localhost". If you are developing on a windows system you can improve the quality of your tests by editing the hosts file and registering your actual host name. OSX or other operating systems have similar mechanisms for registering a host name. Once you have done this you can bind IIS or Apache to that host by creating a new site (or using the virtual hosts option). After that you should be able to type in a more real looking host name which makes the Facebook authentication work that much better. Best of luck!
hi all i have made a app using appsgeyser.com the app is for railway access point that i have made on google maps now i have saved the url as a bookmark on my phone and when i open it all works well .but that is because it askes me when i open it do i want to use internet or maps so i choose maps ..so i have now added this url to appsgeyser and downloaded app to phone but when i open the app its not using google maps so when i click on a access it does not show direction or any info //
so basicle how do i make the url of my google maps open up by default on my phone
railway access points
Leah from AppsGeyser here. Did you make sure to enable Geolocation on your app?
To do it, you need to go to your AppsGeyser Dashboard, go to the Edit tab, choose the Advanced tab, and then choose the checkbox that says 'App can get location data.' You'll need to hit Create again, and download the app again to see the change. If that doesn't help, feel free to drop me an email Leah (at) AppsGeyser.com
Leah