Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id729811664
Content column
id729811666
Content block
id1324896416

On this page:

Table of Contents

Troubleshooting


Troubleshooting

The TWCloud installer is not started on Windows

If you run the installer file and the installer UI does not show up or receive the message: "Windows error 2", try the following workaround.

  1. Start the command prompt by selecting "Run as administrator".
  2. Start the installer from the command line and use the option LAX_VM followed by the location of java.exe. For example: 
    C:\> twcloud_190_beta_installer_win64.exe LAX_VM "C:\Program Files\java\jdk1.8.0_152\bin\java.exe"

I cannot uninstall TWCloud using uninstall.exe

If you run uninstall uninstall.exe and  and the uninstall UI does not show up or receive the message "Windows errors", try the following workaround.

  1. Start the command prompt by selecting "Run as administrator".
  2. Start Start uninstall.exe from  from the command line and using use the option LAX_VM followed by the location of java.exe. For example: 
    C:\> uninstall.exe LAX_VM "C:\Program Files\java\jdk1.8.0_152\bin\java.exe

TWCloud cannot connect to Cassandra

If the TWCloud server log shows the following message: 

INFO 
Content block
id729811665

This page provides answers to frequently asked questions and tips for troubleshooting your Teamwork Cloud (TWCloud) system.

tocFor additional frequently asked questions and tips regarding the authentication server check the following sections:

 

Children Display


Warning
titleWarning

When configuring cassandra.yaml, take note of the following:

  • There is a space before each IP address for parameters "listen_address" and "broadcast_rpc_address". The space is required for Cassandra to start.
  • When entering the parameters to configure cassandra.yaml, be sure that there is no '#' (pound sign) or 'space' before the parameter name. If there is a #, for example, #broadcast_rpc_address: 10.1.1.123, this value will become a comment. If there is a space before the parameter name, for example, <space>#broadcast_rpc_address: 10.1.1.123, you will get an error after starting Cassandra.

Frequently Asked Questions

I cannot

login

log in with the default Administrator user via TWCloud Admin UI. What could be the cause of the problem?

There are several causes of AdministratiorAdministrator's login failure such as:

  • Cassandra is not started so TWCloud cannot connect to it.
  • Cassandra is started but TWCloud cannot connect to it due to Cassandra and/or network configuration problem.

To find out what the cause of the problem is, you need to look at the log file and check the status of Cassandra. See Troubleshooting section  Troubleshooting section for more information.

Where can I find the TWCloud log file?

The default log file location is is <user home folder>/.twcloud/<version number>.

  • The log file of TWCloud is called server.log.The log file of TWCloud Admin is called clientcalled server.log.

How do I check the Cassandra status?

Cassandra provides a nodetool utility, which is a command-line interface for managing a cluster. You can use it for checking the cluster status.

  • On Linux, type:

     
  •  

    Code Block
    languagebash
    themeDJango
    linenumberstrue
    $ nodetool status
  • On Windows, type:

     
  •  

    Code Block
    languagebash
    themeDJango
    linenumberstrue
    C:\> "%CASSANDRA_HOME%"\bin\nodetool status

The following is an example output from running the nodetool status. 

Code Block
Starting NodeTool

Datacenter: datacenter1

========================

Status=Up/Down

|/ State=Normal/Leaving/Joining/Moving

--
  Address     Load       Tokens   Owns    Host ID                               RackUN 
  Address     Load       Tokens   Owns    Host ID                               Rack
UN  10.1.1.
123 
123  16.71
MB   256      ?      
 MB   256      ?       32f17f36-baec-409a-a389-
f002d1dd0f9b 
f002d1dd0f9b  rack1

UN means that the status is up and normal.

How do I check if TWCloud has a problem connecting to Cassandra?

You can check it from the log file of TWCloud. If TWCloud cannot connect to Cassandra during the TWCloud startup process, a log message similar to the following will appear and the server will shut itself down. 

Code Block
INFO 
INFO  2016-01-04 11:12:32.131 Connecting to Cassandra [CoreManagerComponent, Component Resolve Thread]

ERROR 2016-01-04 11:12:50.351 Connection to Cassandra failed due to timeout [CoreManagerComponent, Component Resolve Thread]

You may also find yourself in a situation where TWCloud has been started successfully but the problem connecting to Cassandra occurs later. If this happens, a log message similar to the following will appear. 

WARN 
Code Block
WARN  2016-01-04 13:57:26.034 There was a problem with the connection between the TWCLOUD server and Cassandra


  
 
[AbstractActor, twcloud-akka.actor.default-dispatcher-24]

What should I see in the TWCloud log file, which indicates that TWCloud has been successfully started?

If TWCloud has been successfully started, you will see a log message similar to the following in the log file. 

Code Block
========== Console Server Configurations ==========

Console Server: https://100.64.17.152:8111  

Auth Server: https://100.64.17.152:8555  

--------------------------------------------------- 

TWCloud Server: [100.64.17.152:3579] 

Selector: RoundRobinServerSelector 

Secured Connection: false 

===================================================
INFO 


INFO  2016-01-04 14:06:15.971 TWCLOUD Cluster with 1 node(s) : [10.1.1.123] [LoginActor, twcloud-akka.actor.default-dispatcher-15]

How can I use the netstat command to see if the ports are bound?

  • On Linux,

    type
  • type 

    Code Block
    languagebash
    themeDJango
    linenumberstrue
    netstat –an | grep :8111 and netstat –an | grep :8555
  • On Windows,

    type
  • type 

    Code Block
    languagebash
    themeDJango
    linenumberstrue
    Netstat –ano | find “:8111” and Netstat –ano | find “:8555”

I cannot see the project history or branch or perform any operations related to the project history from MagicDraw. What could be the cause of the problem and how to solve it?

You need to check if it is the a known issue by looking at the the server.log file file. If you see the following ERROR message, it is the a known issue.

Code Block
languagetext
com.esotericsoftware.kryo.KryoException: Buffer overflow

You can solve this issue by adding the following code line at the end of the configuration file, <TWC install folder>/configuration/application.conf.

Code Block
languagetext
esi.serializer.max-buffersize = -1

After updating the configuration, you will need to restart TeamworkCloud.

Anchor
Troubleshooting
Code Block
INFO  2016-01-04 11:12:32.131 Connecting to Cassandra [CoreManagerComponent, Component Resolve Thread]

ERROR 2016-01-04 11:12:50.351 Connection to Cassandra failed due to timeout [CoreManagerComponent, Component Resolve Thread]


It means that TWCloud cannot connect to Cassandra and this is usually caused by the following reasons:

TWCloud fails to start, and a message about AssociationError appears in the log file

If the TWCloud server fails to start and an error message similar to the following appears in the log file: 

Code Block
ERROR 2016-01-04 13:12:58.104 AssociationError [akka.tcp://twcloud@127.0.0.1:2552] -> [akka.tcp://twcloud@10.1.1.123:2552]:
 
 
Error [Association failed with [akka.tcp://twcloud@10.1.1.123:2552]] [akka.remote.EndpointAssociationException:
 
 
Association failed with [akka.tcp://twcloud@10.1.1.123:2552]

You need to check if the hostname can be resolved to the IP that you specified while installing TWCloud. 

From the log message given in the example above, you will see two IP addresses in the message message 127.0.0.1 and  and 10.1.1.123. They mean that you have specified the IP address 10 10.1.1.123 during  during TWCloud installation, however, your hostname is resolved to loopback IP 127 127.0.0.1.


You can configure how your machine resolves the hostname from the hosts file. The location of the hosts file:

  • On Linux: /etc/hosts
  • On Windows: %SystemRoot%\system32\drivers\etc\hosts


You can check what IP address is resolved from the hostname by using the following steps:

  • On Linux:

Execute the following command

command 

Code Block
$ resolveip -s $(hostname)
  • On Windows

Step 1: Find hostname of the machine. 

Code Block
C:\> hostname

Step 2: Use the ping command followed by the hostname you got from Step 1. For example, if your hostname is is my-machine, use the command.

c

 

Code Block
C:\> ping my-machine

TWCloud Admin UI does not refresh information when opened with Internet Explorer

Every time you edit and save information on the TWCloud Admin, the updates will appear in the TWCloud Admin UI. If you are using the IE browser and your UI does not reflect what you have just updated, you may need to configure the internet settings.


To make sure that your TWCloud Admin UI refreshes new updates every time you edit and save information


  1. On the IE browser, click click  >  > Internet options to open the Internet  Internet Options dialog dialog.
  2. On the the General tab tab, click click . The The Website Data Settings dialog  dialog will open.

  3. Select the option option Every time I visit the webpage to update website data.
  4. Click Click > .

Compatibility issue when logging into TWCloud Admin using Internet Explorer 11

You may experience some incompatibility issue issues while logging into TWCloud Admin using Internet Explorer 11, which might cause an error in the display.

To fix the problem


  1. On the Internet Explorer browser, click click  >  > Compatibility View Settings.



  2. Clear the option Display intranet sites in Compatibility View.
  3. Click .


Content block
id729811662

Related pages: