In order to allow inbound connections to MassTransit, you need to have the following ports opened, depending on the communication method you use:
FTP:
If you wish to use other ports, you may, but you will need to make sure they are not in conflict with other processes.
In case you only want to allow outbound connections, you can create contacts to which you can connect and pull files from them.
This message primarily means that a TCP Connection was initiated on a port that MassTransit was listening on (typically port 50000). After MassTransit has opened the socket, it begins to “probe” the remote destination for authentication. Here it is determined whether the remote side is a legitimate MassTransit contact, and which contact is calling. If no information is passed during this "probing period", the connection will eventually time out and produce this error message.
Another possible cause for this error message is a problem with the encryption if TCP/IP Secure protocol is used. You can find more information here.
The MassTransit Engine on Microsoft Windows platforms terminates unexpectedly. The Windows Application Event Log reports the following error message:
“Invalid key file for table ‘xxxxx’; try to repair it.”
Steps to Reproduce:
The MassTransit Engine may terminate unexpectedly. Following this event, both the MassTransit Engine and the MySQL Server services will produce errors that are visible within the Application Log of the Windows Event Viewer.
“C:\Program Files\MySQL\MySQL Server x.x\bin\mysqld-nt: Incorrect key file to table ‘xxxxx’; try to repair it.”
“SA_Exception[xxx]: DB_Files_Add: Incorrect key file for table ‘xxxx’; try to repair it.”
To view the Application Log of the Windows Event Viewer, please follow this procedure:
Cause:
The MySQL Server service utilizes temporary data files to store information during normal operations. These files are written to the Windows temporary directory, normally found at the location: C:\Windows\Temp. The data contained within these files is then flushed to the ‘live’ MySQL database, which is found at the location: C:\Program Files\MySQL\MySQL Server x.x\data.
In certain cases, other services that actively monitor these directory locations may interfere with access to these temporary files or live databases. As a result, MySQL is unable to flush data to the live database. In this event, MySQL may report the error as mentioned above. Following this error, the MassTransit Engine, which relies upon the MySQL backbone, will terminate.
Workaround:
It is recommended that the Windows Temporary directory and the MySQL Data directory be excluded from any products that may obtain an active file handle (or lock) on files contained within these directories. The specific directories are:
Note: x.x should be replaced with the version of MySQL Server currently in operation.
MySQL Support has additionally recommended the use of External Locking. “External locking is the use of file system locking to manage contention for database tables by multiple processes. External locking is used in situations where a single process such as the MySQL server cannot be assumed to be the only process that requires access to tables[files].” Please refer to the MySQL Reference Manual article for more information on External Locking. The URL to this documentation has been provided below.
Please refer to vendor specific product manuals for the procedures in which files and folders may be excluded from services that may conflict with MySQL Server.
Note: If the MySQL Data directory is excluded from any backup operations, it is important that alternative arrangements for data backups are made. Live system backups may be accommodated via the MySQL Administrator. Please reference the MySQL Reference Manual – External Locking for detailed instructions on enabling scheduled, repetitive MySQL database backups.
Fix:
Note: tablename should be the name of the table listed in the Event Viewer error message, such as dfiles. Note also that the semi-colon character (;) at the end of the statement is required.
Question:
Why do I receive the following error when email notifications are set to send to more than one email address? “Action error: SMTP server ’serveraddress’ not found [00000020]“
Answer:
This error occurs when the email addresses to which the notifications are being sent are not separated by semi-colons.
For more information on email notifications, please review the MassTransit Actions.
These errors can occur if your SSL protocols are not matched up. To verify these settings first check the SSL encryption level for Incoming calls on the MassTransit Server. In MassTransit Administrator, open the Setup window by clicking on the Setup button from the Navigation Bar or select the Setup option from the Window main menu. In the 'Incoming Calls' tab, select TCP/IP Secure method and click on the Configure button. Here, you will see the minimum security level required (RC4-128, 3DES, AES-128, AES-256).The calling side should check their minimum encryption level: from the MassTransit Administrator - Select Contacts. Highlight the contact with whom the error occurs. Select Edit. Select the 'Outgoing Calls' tab. Select Configure. Here, you will also find a pull-down that specifies the minimum encryption level. Please make sure it matches what is set for the MassTransit Server being called.
Below is a list of such errors:
Errors displayed to the sender:
Errors displayed to the receiver:
Note: Depending on whether the usage of legacy SSLv2/3 protocol is enabled, the list of available encryption methods will change to reflect the methods supported by the protocol.
Symptom:
Instead of loading the MTWeb login page (or any other MTWeb page), I see a page with one of the following error messages:
Steps to Reproduce:
The errors occur if the permissions to the “parsed” and “templates_c” folders are not properly set. Load the MTWeb site in a browser. The “parsed” and “templates_c” folders within the MTWeb directory must have write permissions for the user running the web process. On Windows, this user is normally called the “Internet Guest” or “Anonymous Internet” account.
Fix:
Give WRITE permissions to the user running the web process for the “parsed” and “templates_c” folders which can be found inside the MTWeb directory. After granting permissions, delete the contents (if any) of the “parsed” and “templates_c” folders, except for the “readme.txt” files.
To determine the user account that the IIS website associated with MassTransit is using for anonymous access, please follow these steps:
Note: If you do not see the list of websites, you may need to click the plus sign icon to expand the listing so that it shows all entries
Note: For further information, please consult the following Microsoft KB Article:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/deploy/confeat/13w2kadc.mspx.
MassTransit logs a “file not found” error when attempting to forward a file within a Forward To folder. This error occurs when a job is no longer located within a Forward To folder in the To Send mailbox folder of a MassTransit address book entry. The probable cause is that a user has manually moved or deleted the job.
To clear the error, go the MassTransit interface and click on the Job Browser button. Use the selector to choose the corresponding address book entry in which the Forward To folder has been placed. You may also select To Send as a selector. You will then be able to view the job in the browser. Go ahead and click on the job to highlight it. Then click the remove button. The job will be removed from the job browser window and you will no longer receive a file not found error in the log.
Symptom:
Errors similar to these appear in the Windows Event Log:
Fix:
These errors can occur when there is corruption in one or more of the MySQL database tables that MassTransit uses. They can usually be resolved by doing a repair of the affected table. Upgrading to a later version of MySQL will greatly reduce the chances of such problems. To upgrade MySQL 5.0.78 or 5.1.43 to MySQL 5.1.52, you need to follow the instructions from the Step 2: Upgrading MySQL section of the Upgrading MassTransit to 7 page.
MassTransit servers and clients may report an inability to connect to a remote destination that is configured to use an IP address reserved for private internets (networks).
Organizations that require network connectivity internally, but do not require network layer connectivity outside of that organization may choose to use IP addresses that have been reserved for private internets. As indicated in RFC 1918, the Internet Assigned Numbers Authority (IANA) has reserved three specific blocks for such private internets. These blocks include:
MassTransit servers configured with IP addresses that fall within any of the above ranges will not be available via the public internet. However, servers and clients within that organization may continue to have network layer connectivity with that host, provided they exist on the same network.
A valid, publishable IP address or a Fully Qualified Domain Name(FQDN) is required to connect with MassTransit Servers that exist outside of the private enterprise.
In instances where a public IP address cannot be assigned to an internal host, but public internet connectivity is required, Network Address Translation (NAT) methods may be employed.
Question:
Will the new Daylight Saving Time schedule cause any issues with MassTransit?
Answer:
We do not make any assumptions as to when the Daylight Savings Time shift will occur in MassTransit. As long as the underlying Operating System properly accounts for the earlier DST shift date this year, our applications will behave in the same way as they would in any other transition to Daylight Savings Time.
Windows requires several updates applied in order to account for the earlier DST shift date; the update procedures are described in detail here: http://support.microsoft.com/gp/dst_overview.
Clients suffer from extremely slow performance (up to 8 times slower) when browsing or performing read/write operations against Windows 2003 Servers (SP1 or above). The problem has been reported with Broadcom and other NIC Cards which are TOE (TCP Offload Engine) enabled. Some clients sending files to a MassTransit server may suffer slow performance.
List of other symptoms from Microsoft KB Article: (http://support.microsoft.com/kb/936594)
Steps to Reproduce:
Refer to Microsoft Knowledge Base Article: http://support.microsoft.com/kb/936594.
Cause:
Refer to Microsoft Knowledge Base Article: http://support.microsoft.com/kb/936594.
Workaround:
Note: If you want to re-enable TCP Chimney type the following and press enter:
netsh int ip set chimney ENABLED
Fix:
Contact your hardware vendor to check if there are any existing or forthcoming driver updates.
When attempting to connect to a remote MassTransit server, the following error message is reported:
Authentication Failed. The MassTransit server is declining calls from unknown MassTransit servers.
This message is displayed within a dialog box at connection time, and is reported in the MassTransit log.
This error message is generated when a MassTransit server receiving the call is configured to refuse connections from servers that have not previously placed calls with that server.
If you want to allow calls from unknown MassTransit servers, please refer to the 'Receiving a call from an unknown Server' section.
To resolve this problem, the remote MassTransit server that is declining the calls (receiving side) must first establish the connection to the new MassTransit server.
First, an address book entry for the new server must be created on the server that is declining calls from unknown hosts. Once the address book entry is saved, that server should initiate a call to the new MassTransit server.
After the first call has been successfully placed, the new MassTransit server will have successfully authenticated, and is subsequently a ‘known’ server. All subsequent calls to the remote server should authenticate properly.
The MassTransit Log may display the following error: “Connection Closed because remote protocol was incompatible”
This error results from an unsupported version of MassTransit calls another MassTransit, e.g. if MassTransit 5.0 calls MassTransit 7.0.1.
MassTransit 7.x no longer supports MassTransit 5.0 and prior. Customers using these products will need to migrate to MassTransit 5.1 or later to continue to transfer files with MassTransit 7.x locations. Note that this only affects certain communication methods — primarily TCP/IP, TCP/IP Secure, UDT and SFTP. FTP and Hot Folder communications between such servers should be possible.
If IIS is conflicting with MassTransit on port 443 even after you have configured Multi-homing, you may fix the problem by:
Note: To complete this action, you must have the Microsoft Windows Support Tools installed.
If you want to collect a log of the MassTransit installation process, you need to place the InstallMTHP.exe file in "C:\" and launch the installation from the command line using the following commands:
cd "C:\"
InstallMTHP /Log /Logfile hp_setup.log
Then, follow the instructions on the Installing MassTransit 7.1, starting from step 2, to complete the MassTransit installation.
After the installation completes, the log of the installation process (hp_setup.log) can be found in the same location as the InstallMTHP.exe file is located, in this case – "C:\".
The number of characters is not limited, however, it is recommended that you enter no more than 10KB of characters in the Message field of the Configure Email Action window in order to make sure that the email notification packets will be processed successfully through the mail servers.
For more information on MassTransit actions and how to configure them, please refer to the Actions page.
The number of email addresses is not limited but you can only enter up to 255 characters in the To field of the Configure Email Action window.
You can leave the To field empty and check the Include Contact Email Address When Available check box below it – this will make the email notification available for sending to all contacts. If you want to apply this action for all contacts, you need to use this option.
In case you want to send email notifications to limited number of contacts only and you have integrated the Active Directory technology, you can add the contacts in a distribution list, for example, and enter the list name in the To field.
For more information on MassTransit actions and how to configure them, please refer to the Actions page.
You can enter up to 255 characters in the Subject field of the Configure Email Action window.
For more information on MassTransit actions and how to configure them, please refer to the Actions page.
By default, the limit of the MySQL queries length is 1 MB. The setting that controls the queries length is max_allowed_packet. This limitation results in limiting the maximum number of files that MassTransit can handle in certain situations to 150 000, for example:
That is why you will not be able to transfer more than 150 000 files, unless you change the packet size limit of the MySQL queries.
If you want to increase the maximum length of the MySQL queries in order to allow file transfers of more than 150 000 file, perform the following steps:
Question:
Why do I receive the following error?
Transporter service initialization failed (Could not connect to http://localhost:8002/GroupLogic/MTTransporterSvc/MTTransporterService. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8002. ).
Answer:
This error relates to the SFTP listen option in MassTransit 7. If you do not intend to have MassTransit act as an SFTP server you can just ignore the warning, it is displayed only at start-up.
If you do want to use SFTP, it is possible that the MassTransit Transporter service is not started, or that you are using multiple IP addresses on your server.
Starting the MassTransit Transporter Service:
This page describes factors that affect MassTransit performance, including CPU utilization, effects of compression on performance and TCP/IP network performance.
MassTransit CPU Utilization
MassTransit is designed to transfer files as quickly as possible. As such, when connections are actively transferring files, you should expect to see the computer’s CPU utilization spike towards 100% (e.g. in the Windows Task Manager window). This is completely normal and is to be expected as MassTransit is doing disk I/O, file compression, database access, and network I/O in order to pump data through the network as fast as possible. If other applications are also running on the same computer, MassTransit assumes that the operating system will do its job and distribute CPU cycles to all processes.
MassTransit may also appear to be taking CPU cycles when no connections are active. MassTransit constantly polls mailboxes to see if new files have been added. It will take all available processor time to do this as quickly as it can. On a slower machine or on a fast machine with other CPU tasks, the polling will be slower. If another process requires the CPU, MassTransit will not take as much of it since the polling is done only when MassTransit is given idle time.
This polling behavior will be improved in the next generation of MassTransit.
MassTransit on Multiple CPU Computers
While MassTransit is a threaded application, its use of multiple CPUs is limited as of this – writing. As such, additional CPUs will not result in large performance gains although performance will not be lower than that of a single CPU. This will be addressed in a future version of MassTransit.
Effects of Improved Hardware on MassTransit Performance
The speed of the CPU affects the performance of MassTransit especially when there are a large number of simultaneous connections. In this situation, the CPU spends considerable time compressing and decompressing data. A faster CPU will make these operations faster thus increasing performance.
The amount of RAM installed does not directly affect MassTransit performance. However, each active connection consumes RAM. Therefore, to support a large number of simultaneous connections, sufficient RAM must be installed. If physical RAM is exhausted, then the operating system will swap data to disk, which will cause MassTransit’s performance to drop.
Note: For detailed information about the recommended minimum system requirements for your MassTransit version, please see the ReadMe.rtf file located in the MassTransit installation directory.
Effects of Compression on MassTransit Performance
MassTransit’s default setting is to compress files as they are transferred. Under normal circumstances, this results in greatly increased throughput. The size of the increase depends heavily on the types of files being transferred and how much they can be compressed. Files that are already compressed, e.g. JPEG files, reduce the throughput gains that can be had with compression. MassTransit constantly monitors how much a particular file is being compressed while it is being transferred. If compression does not result in significantly less data being transferred, MassTransit disables compression for that file. Thus, a ZIP, StuffIt, or other uncompressible file will transfer in the same amount of time regardless of whether compression is enabled.
In some circumstances, however, compression may actually reduce throughput. On high bandwidth networks, it may take more time to compress the data, send the compressed data, and decompress the data than it does to just send the uncompressed data. If this is the case, you should disable compression by unchecking the Compress Files During Transfer checkbox on the Security tab of the Contact Information dialog box for editing contacts. Several variables determine whether compression should be disabled and include the bandwidth of the connection between sender and receiver and compressibility of the files being transferred.
High Bandwidth, High Latency Connections
The TCP/IP stacks shipped with current operating systems are configured to provide good throughput in specific network conditions, e.g. high bandwidth, low latency networks such as LANs. However, these default settings are not optimal for DSL, cable modems, and other high bandwidth, high latency wide area networks. For these networks, the TCP/IP configuration may need to be adjusted to get optimal performance.
The Tuning MassTransit section of the Communications page provides more information about tuning MassTransit TCP/IP performance.