After installing Titanium Studio on a Windows 7 pc I attempted to create a new mobile project but received an error indicating I was not logged in and the project was not created. Also note that this pc is behind a corporate proxy server so when it tried to create the new project it was attempting to communicate with Appcelerator servers to create a new GUID for this project. It was accessing the servers directly not using the corporate proxy.
When I open the Terminal and run the ti command ti status it returns I am not logged in. I then run the command ti login, enter my username/password and the result is[ERROR] Error: Error communicating with the server: Error: connect ETIMEDOUT
The Titanium CLI setting for httpProxyServer is empty so no proxy was being used. To verify this run this command and find the httpProxyServer attribute.
ti config
cli.httpProxyServer = ""
to set this attribute:
ti config --append cli.httpProxyServer http://enter-your-proxy-address-here.com:80
cli.httpProxyServer saved
now login:
ti login
Titanium Command-Line Interface, CLI version 3.2.0, Titanium SDK version 3.2.0.GA
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
Username: enter-your-userid-here
Password: **********
Logged in successfully
now you will be able to create a new mobile project.
Please note that this post is in regards to an issue that requires an http Proxy.
Related
I am trying to run hashicorp vault server as windows service in windows 10 system.
Vault server UI is showing as blank screen.
Please refer my configuration details.
config.hcl
ui = true
backend "consul" {
address = "127.0.0.1:8500"
path = "vault/"
}
listener "tcp" {
address = "127.0.0.1:8200"
tls_disable = 1
tls_cert_file = "c:/vault/config/certificate.crt"
tls_key_file = "c:/vault/config/privkey.key"
}
By default vault server is running in this (http://localhost:8200/ui/) local URL. When i navigate to this 8200 port , Blank ui screen is displayed.
Console log of Vault UI
But at the same time hashicorp vault server UI is loading if we run vault as container based application.
Windows service command I used to run vault service:
sc.exe create VaultAgent binPath= "C:\vault\vault.exe server -config=C:\vault\config\config.hcl" displayName= "Vault Agent" start= auto
Note: vault.exe is downloaded from vault windows amd64 version this url.
I am able to receive the response from vault server. Please refer the image.
vault server backend response
Note: Consul service is up and running. Please refer the image.
consul server up and running
How to bring up the Vault server UI up and running? Am i missing something.?
Note: Below are the Vault server UI console logs
unseal:1 Refused to execute script from 'https://localhost:8200/ui/assets/vendor-dd308e6ebdb070a5a829a0c0d6e74f61.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
unseal:1 Refused to execute script from 'https://localhost:8200/ui/assets/vault-8a8f62829e5ad33487e21f63af47c80d.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
unseal:1 Refused to execute script from 'https://localhost:8200/ui/sw-registration-1b862bc1e33e4a8a41781d56c3469209.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Latest version of the Hashicorp is having an bug and it is in opened stage. Please refer the url.
GitHub issue link
So you can little go back with old version(1.8.8) of vault and try to run it as windows service and UI should be up and running.
Note: v 1.8.8 is having it's own feature and not having all the features of the latest vault version.
Download the 1.8.8 vault for windows
I use Visual Studio Apache Cordova for a hybrid application. I try to connect a Mac computer using remote connection. I made settings correctly. A few days ago, ip address of Mac computer has changed. And ı can not connect Mac computer with remote connection. It gives below error:
Error: An error occurred uploading to the build server https://192.168.95.26:3000/cordova: Error: Hostname/IP doesn't match certificate's altnames: "IP: 192.168.95.12 is not in the cert's list , 192.168.95.87"
Try to do following steps.
First on Mac terminal give this command
remotebuild --secure false
Then find the IP address of the Mac.
Go to the Tools->Options of visual studio
In the Options dialog box, open Tools for Apache Cordova, and then choose iOS Configuration.
Give the IP of Mac in Host and Port as 3000. Then put secure mode to false
More details could be found from this link https://taco.visualstudio.com/en-us/docs/ios-guide/
Error: An error occurred uploading to the build server https://192.168.95.26:3000/cordova: Error: Hostname/IP doesn't match certificate's altnames: "IP: 192.168.95.12 is not in the cert's list , 192.168.95.87"
It is a known issue. When the IP address changed, the previously generated certificate become invalid. You can fix this by following steps:
Stop the remote agent on your Mac.
In terminal run remotebuild certificates reset.
In terminal run remotebuild certificates generate.
Change the VS remote build configurations in VS.
For details, you can refer to Possible issue 2: The host name or IP address of your Mac has changed.
WAS 8.5 full profile isn't officially supported on OSX by IBM so the only option to perform development from OSX is to install stub runtime and connect to WAS installed remotely. I'm trying to install such scenario but something done wrong and can't connect to my WAS.
There's my installation:
On OSX El Capitan Installed:
RAD 9.5 with WAS 8.5 stub runtime (WebSphere Application Server traditional V8.5 stub)
Installed Virtual Box with Ubuntu Desktop edition 14.04
Ubuntu's hostname: anatoly-ubuntu-vm and it's accessible from host, i.e. ping anatoly-ubuntu-vm works fine
On Ubuntu installed:
WAS 8.5 full profile at /opt/IBM/WebSphere
Created AppSrv01 profile at /opt/IBM/WebSphere/AppServer/profiles
WAS installed with root user, IBM Installation Manager required root permission when was started
My connection settings in RAD:
server name: WebSphere Application Server traditional V8.5 stub at anatoly-ubuntu-vm
hostname: anatoly-ubuntu-vm
Runtime environment: WebSphere Application Server traditional V8.5 stub
Connection type:
I've tried RMI 2809 and SOAP 8880 both options didn't work
Enable the server to start remotely is checked and Select the operating system running the remote server: checked Linux option with my username and password. I've tried my regular Ubuntu account and root, both option didn't work.
Server profile path defined as /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
When I try to start server I get the following exception:
The following problems has occurred when starting the server.
CTGRI0001E The application could not establish a connection to
anatoly-ubuntu-vm .
What am I doing wrong?
UPDATE 1:
After I've written this post I've figured out that SSH server isn't installed and configured at all as described here: Requirements for using Remote Execution and Access (RXA) Now, I've installed and it seems like connecting but stuck at 23% at stage Preparing launch delegate, after a while it throw the following error:
The following problems has occurred when starting the server. The
server may not be started in the correct mode. You can restart the
server to desired mode if it is started. CTGRI0075E A file transfer to
or from the system named [anatoly-ubuntu-vm] timed out before the
transfer could complete. The current timeout interval is set to 240000
milliseconds, and might need to be increased.
UPDATE 2:
As I can see despite error message server is started and I even can connect to web console anatoly-ubuntu-vm:9060/console/ibm but it looks that not SOAP connection, neither RMI connection don't work. When I run Test Connection from Settings overview page in RAD, I get the following error:
The connection failed after trying to use all the available connection
types.
Verify the port values are correct and the server has been started. If
the security of the server is enabled, verify the "Security is enabled
on this server" check box is selected, and the user ID and password
are provided. You can specify this in the server editor or when
creating a new server.
For a Technote with details on the most common server connection
problem, see http://www.ibm.com/support/docview.wss?uid=swg21266028.
The last connection attempt failed with the following exception:
ADMC0016E: The system cannot create a SOAP connector to connect to
host anatoly-ubuntu-vm at port 8880.
UPDATE 3
As #DanielBarbarian guessed I tried to run ./wsadmin.sh -port 8880 and it worked and returned
Connected to process "server1" on node anatoly-ubuntu-vmNode01 using SOAP connector; The type of process is: UnManagedProcess`
This is settings of my ports:
UPDATE 4
When I trying to run telnet anatoly-ubuntu-vm 8880 from OSX host I get the following response (ip address changed to non real due to privacy issue):
anatoly-mac:~ anatoly$ telnet anatoly-ubuntu-vm 8880
Trying 192.168.10.10...
Connected to anatoly-ubuntu-vm
Escape character is '^]'.
HTTP/1.1 408 Request Timeout
Content-Type: text/html
Content-Length: 117
Connection: close
<HTML><TITLE>408 - Request Timeout</TITLE><BODY>
<h1>408 Connection timed out while reading request</h1></BODY>
</HTML>Connection closed by foreign host
I have the following setup on Windows 7 Ultimate x64:
Eclipse Indigo 2.7.2 (Build: M20120208-0800)
Remote System Explorer 3.3.2 (see screenshot)
(Oracle/Sun) Java 1.6 Update 31 (x86)
Despite all my best efforts I am unable to connect to a remote system (a Centos 5.6 server on my local LAN) using a Remote System Explorer SSH connection - I've tried both password authentication and using my SSH private key.
Here is a screenshot of both the Eclipse error dialogue and what is logged in my /var/log/secure log file:
/var/log/secure:
Apr 1 12:00:21 nagios sshd[6176]: Received disconnect from 172.16.3.88: 3: com.jcraft.jsch.JSchException: Auth fail
When I connect for the first time I do get prompted to verify the authenticity of the remote host and the RSA key fingerprint. But that's as far as things go.
Performing the same operation with the same credentials on my Fedora Core 16 box (also running the same version of Eclipse and Java) to the same server (and other servers) is successful.
This leads me to believe that RSE SSH support on Windows is either broken or there's some piece of the SSH-on-Windows puzzle I'm missing. Is this the case?
It works on Windows 7 64bit - i am using it. Maybe there is a problem with 3.3.2? I have check my version and i am using 3.3.1
You should upgrade your eclipse. Indigo is deprecated.
I am working with heroku from the site http://devcenter.heroku.com/articles/java.
My OS is windows7.
When I am typing the command heroku in command prompt I am getting the following:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\HARIKA_RAM>heroku
Usage: heroku COMMAND [--app APP] [command-specific-options]
Primary help topics, type "heroku help TOPIC" for more details:
It is working fine.
When I am trying to login it is giving the following message:
C:\Users\HARIKA_RAM>heroku login
Enter your Heroku credentials.
Email: evsandeep#gmail.com
Password:
! Unable to connect to api.heroku.com
C:\Users\HARIKA_RAM>heroku update
-----> Updating to latest client... failed
! getaddrinfo: This is usually a temporary error during hostname
resolution and means that the local server did not receive a response from an
authoritative server.
Any help is appreciated. Thanks in advance.
Did you try setting your http_proxy if you are behind a firewall ?
eg. set http_proxy=proxy.mycompany.com:8080