please help me out in this one. I'm using Ngrok for the https request.
I can't use localhost directly so converted my url to https with the help of ngrok. I have filled all the required details and checked the permission. All seems to be accurate. Can someone help me out that where I had gone wrong?
Today only I heard about the Thoughtworks GO and started the installation configuration. Windows Installation is went well and I am able to run the server over HTTP using 8153 ports.
Then I have installed agent in the same box using the localhost. What i am not able to figure out is how to connect the agent automatically using HTTP ? I am getting error in the go agent log that is trying to access the https : //localhost :8153 I am right now not concerned with HTTPS and all. all I want to register the Agent.
One more thing just for FYI. I have enabled user authentication file based. that is working fine.
Please suggest if there is alternate way to change the URL Protocol to HTTPS.
Finally I run the manual installation by downloading the zip for the go server and then I got the server running with both HTTP and HTTPS without any additional efforts.
This answer will be useful is the installation is having issue with the windows installer. Use the zip.
Thanks.
Praveen
I'm trying to use Rally Lookback Java API and it throws exception saying
com.rallydev.lookback.LookbackException: org.apache.http.conn.HttpHostConnectException: Connection to https://rally1.rallydev.com refused
at com.rallydev.lookback.LookbackQuery.execute(LookbackQuery.java:61)
I could figure out that this error was due to Inaccessibility to rally server due to corporate proxy setup.
Unlike rally rest API which gives setProxy() method to set proxy server which works for me, there is no provision for Lookback API to set proxy and throws this error.
I'm trying this out on windows machine,and expecting any workaround or solution for the same platform.
Thanks,
Sagar
I have forked the repo and have made some changes. I have an open pull request that will be reviewed shortly and then we'll get it pushed to the main repo.
Here's a link to the branch.
https://github.com/trevershick/Rally-Lookback-Toolkit/tree/S72258
If you want to clone that repo and 'mvn package' the source it will generate a .jar file for you that you can use. It's the same interface as the one you're probably using now but has setProxyServer and setProxyCredentials for authenticating against a proxy server via basic auth. If you cannot use basic auth to authenticate against the proxy server then you may need to inject your own instance of DefaultHttpClient (see the Readme). You should be able to add for example an Ntlm Credentials object to the Credentials provider if necessary.
Fee free to ask any questions you may have and i'll update this answer once I get the PR merged in.
i am building a web service on eclipse using Apache AXIS 2 Webservice runtime using Apache Tomcat server (apache-tomcat-7.0.23) while running it on tomcat server it sucessfully shows that the web service is running...
But while creating Webservice client to test the web service and using the wsdl url in the server definition (http://localhost:9090/Axis2WSTest/services/Converter?wsdl), this gives below mentioned error and not letting me to create Webservice client:
The service definition selected is invalid
Can you please suggest me the error and possible solution for it?
The problem could be that your wsdl needs http authentication. I was getting the same error in eclipse, but it was because the server I was connecting to needed authentication and was returning a 401 error, so eclipse was saying it wasn't a wsdl. Eclipse doesn't seem to have the functionality to prompt for authentication, I was able to generate a client in netbeans using the same wsdl url because netbeans knows to ask for authentication.
Generate client from http authenticated wsdl
I was searching for the whole day for an answer for this,generally localhost will be added in your bypass proxy list and hence you will not encounter an error.
Go to windows--> preference-->general--> network-connection and see whether localhost is listed in your proxybypass list.If you are trying to access a external wsdl link and you under
some corporate network having proxy firewall you have to set http proxy/https proxy.
Is this how you are trying to generate client stub ?? If yes, just simply create a java project in eclipse, click on it, then press Ctrl+N, select web service client and enter your wsdl url. (make sure you have made sure you can access the wsdl url, by simply giving it in a browser).
Try replacing localhost with the actual IP address. I was facing the same problem and it worked for me this way
I had exactly same situation. For me the following worked:
I got the lead from rdp's response - "Try replacing localhost with the actual IP address. I was facing the same problem and it worked for me this way"
Using IP didn't work for me. What worked for me:
Instead of - http://servername/SomeWebService/Service.asmx?WSDL
putting FQDN for servername. For example -
http://servername.my.company.com/SomeWebService/Service.asmx?WSDL
I had the same issue and I was able to generate the stubs using soapUI. Please follow the this post. Which contains GENERATING CLIENT JAVA CODE FOR WSDL USING SOAP UI – AXIS2 WSDL2JAVA. Before that please download apache axis2 binary from here and extract it.
I have a GAE/GWT server web application using OAuth 2.0.
Locally (GWT development mode) it works fine (user is being redirected to the access confirmation page, I get a token and I can call google API using this token).
But when I deploy the application to appspot, it fails. Confirmation page looks differently, token returns in different format and google API doesn't work with this token.
Does appspot support OAuth 2.0? Does anybody experience this?
I've been struggling a lot to find out the issue.
In my case I had normally set my appspot url on the console as an authorized URI just as the localhost one, downloaded the json file and had the same redirect_uri_mismatch error.
The solution was to set an http version of the url. For some reason, it won't work if you set only the https one.
Appspot does not suport OAuth http://groups.google.com/group/opendatakit/browse_thread/thread/45ecd1401867154f/0b83b359c2504a74?show_docid=0b83b359c2504a741