Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all 3870 articles
Browse latest View live

Answered: How to use wildcard with GetList with a folder with more than 10000 items

$
0
0

Hi,

the Rebex FTP/SSL component does not have any limitations on the amount of returned items in the GetList method.

In fact, the issue may be caused by your server. Try to look if there are any limitations set on the server settings.

I found the discussion related to your problem here.


load a Rebex.totalpack.dll is taking one minute first time. second time it works fine

$
0
0

Suppose we have two method A and B and A is Calling B. B has Rebex SMTP class and its method. Once we setup SMTP server first time then A calls B. First time its taking 1 minute to enter into B method and execute first line of B method. Any specific reason? Rebex.Total.dll size is 2.01 MB.

Please guide further to resolve this issue.

Answered: Will vs2008-net-2.0 will support Mono 4.8 also?

$
0
0

Mono 4.0 dropped support for .NET 2.0. Binaries compiled from 'vs2008-net-2.0' target .NET 2.0 and although they might still work on Mono 4.8, this is not a supported configuration.

Rebex.Net.FtpException: Timeout exceeded error when trying to upload a file with SslMode: "Explicit".

$
0
0

Hello,

We are using Rebex assemblies to upload files to FTP server. There is an issue at one of a computer. It throws FtpException: Timeout exceeded when it tries to upload a file, but it works with FileZilla client.

Our client:

Command: "PASV" Response: "227 Entering Passive Mode
(10,0,0,18,117,52)" Command: "STOR filename"
Rebex.Net.FtpException: Timeout exceeded.

FileZilla:

Commando: PASV
Antwoord: 227 Entering Passive Mode (10,0,0,18,117,55)
Status: Server genereerde een passief antwoord met een ontraceerbaar adres. Gebruikt het serveradres in de plaats.
Commando: STOR filename
Antwoord: 150 Accepted data connection
Antwoord: 226-File successfully transferred

I can send you full log files from our client and FileZilla client. Could you check them for the issue?
Thank you in advance.

--
Alexey

load a Rebex.totalpack.dll is taking one minute first time. second time it works fine

$
0
0

Suppose we have two method A and B and A is Calling B. B has Rebex SMTP class and its method. Once we setup SMTP server first time then A calls B. First time its taking 1 minute to enter into B method and execute first line of B method. Any specific reason? Rebex.Total.dll size is 2.01 MB.

Please guide further to resolve this issue.

Answered: Rebex.Net.FtpException: Timeout exceeded error when trying to upload a file with SslMode: "Explicit".

$
0
0

Yes, please create a log using Ftp object's LogWriter property and either post it here or send it to support@rebex.net for analysis.

File Server: Delivering Large Files and Memory Crashes

$
0
0

We are using the SFTP FileServer component to allow users to download large files from our servers. These files can commonly be more than 2GB, up to 6GB and even more. The largest is 12GB. We are seeing problems with customers being able to download these files.

As the file is downloading, we see memory usage on the w3wp worker process increase and increase to the point that the process crashes, which crashes the FileServer and stops the download.

If there are two users downloading files at the same time, the memory usage increases even faster, and the crash happens faster.

What's the appropriate way to serve these large files to users?

Answered: Imap.GetMailMessage call throws ImapException "timeout" when confronted with a specific mail

$
0
0

Hello,

The log suggests that this is most likely a bug in the IMAP server. In response to FETCH command (used by GetMailMessage method), the server indicated it's sending a message of 198862 bytes, but sent slightly less message data, which caused the IMAP client to treat the first few bytes of the expected "R00007 OK FETCH completed" response as message data:

Response: R00006 OK FETCH completed
Command: R00007 UID FETCH 40338 (UID BODY[])
Response: * 1 FETCH (UID 40338 BODY[] {198862}
Response: ...198862 bytes...
Response:  completed

Note the last line that contains the ending part of the expected response.

To verify this is indeed the case, set logging level to LogLevel.Verbose before calling the GetMailMessage method, making it possible to inspect the actual message data and confirm this is indeed a server-side bug. Alternatively, use a network protocol analyzer such as Wireshark to capture and inspect the communication at the network level.

Does Lotus Notes use IMAP to receive the e-mail? If not, that would explain why it doesn't suffer from the same issue.

In the past, some of our clients encountered very similar issues with Lotus Notes, although less severe. We added a workaround for that, but it was not effective for the more severe form of the bug you encountered.

If this is confirmed to be a server bug (and that looks very likely), the proper solution would be to fix the server. Implementing a workaround at the client-side is another option, but this is non-trivial, outside the scope of Rebex support and futher complicated by the fact that we are unable to reproduce this ourselves. If you would like to pursue this solution, please get in touch with us at support@rebex.net.


DnsClient and MXResolver in Rebex.Net ?

$
0
0

Hello,

I have to update an old project using the version 3.0.6263.2 of Rebex.Networking.

The project uses the classes DnsClient and MXResolver as follow :

        Dim dns As String() = DnsClient.GetDnsList()
        Dim resolver As MXResolver = New MXResolver(dns)
        resolver.Timeout = DNS_Timeout
        arrSmtpServers = resolver.Resolve(strDomain)

Then I bought the last 2017 R6 Rebex components with version 3.5.6508.0 of Rebex.Networking

But DnsClient and MXResolver no longer exists in Rebex.Net.

Could someone tell me if I'll find these classes (or similar) elsewhere in Rebex please ?

Best regards,
dmo

Why does EWS GetMessageList not read the full message list sometimes, even when using paging

$
0
0

Hi, I'm using the code below to retrieve a list of items from an EWS hosted mailbox that contains 5000+ items.
It does this once a minute on a polled cycle.
On 2 occasions in the last month, it has failed to read all of the items, once stopping after a single page of 1000 items and the second time after 5 pages of 1000 items, both times giving no error at all, just an abbreviated list with an incorrect count, which has caused havoc for our synchronization logic, as the next time we look, the mails are back in the list.

It would appear to me that the PageResult.IsLastPage is reporting that it is the last page when there are more pages left, I can't see any other way out of the loop.

Rebex.Ews.dll is version 1.0.5759.2

Code below;

                // We must do this in pages so that we don't hit any server throttling limits on EWS
                EwsMessageCollection ewsMessageCollection=new EwsMessageCollection();
                int offset = 0;
                int pageSize = 1000;
                //EwsMessageCollection ewsMessageCollection2 = mailBoxMonitor.ExchangeWS.GetMessageList(new EwsFolderId(mailBoxMonitor.MailBoxSettings.Folder), EwsItemFields.Fast);
                while (true)
                {
                    // get items of next page
                    EwsMessageCollection thisPageOfMessages =
                        mailBoxMonitor.ExchangeWS.GetMessageList(
                            new EwsFolderId(mailBoxMonitor.MailBoxSettings.Folder),
                            EwsPageView.CreateIndexed(offset, pageSize));


                    // add this page of items to our master list, bu tonly the items that are actually messages
                    // we could see calendar invites and the like
                    foreach (EwsMessageInfo thisItem in thisPageOfMessages)
                    {
                        if (thisItem.MessageType == EwsMessageType.Message)
                        {
                            ewsMessageCollection.Add(thisItem);

                        }
                    }
                    // break if this is the last page
                    if (thisPageOfMessages.PageResult.IsLastPage)
                        break;

                    // set next offset
                    if (thisPageOfMessages.PageResult.NextOffset.HasValue)
                        offset = thisPageOfMessages.PageResult.NextOffset.Value;
                    else
                        offset += pageSize;
                }
                //EwsMessageCollection ewsMessageCollection = mailBoxMonitor.ExchangeWS.GetMessageList(new EwsFolderId(mailBoxMonitor.MailBoxSettings.Folder), EwsItemFields.Fast);
                DateTime retrieveEnd = DateTime.UtcNow;
                TimeSpan retrievalTime = retrieveEnd - retrieveStart;
                infoLogMessage += "Retrieved " + ewsMessageCollection.Count.ToString() + " Unique Ids from EWS provider, total retrieval call time = " + retrievalTime.ToString() + Environment.NewLine;

Answered: Connecting to 0ffice365 IMAP fails on some mail addresses.

$
0
0

I've seen that when IMAP was disabled for an individual user, check here;

you can enable the IMAP setting for this user in Exchange Admin Center (EAC). To do this, go to EAC > Recipients > Mailboxes > double click User or click Edit > Mailbox Features > under Email Connectivity > click Enable to enable IMAP for the user.

Pebble Period review: A contemporary day time smartwatch, that’s stuck in the former (Video)

$
0
0
AT those only come back again from a backup) and probably restores all photos if iCloud Picture Lib was getting utilized.

We thought it would be better to slow down and wait for great properties to come on the market. A: Early on, we set a range of 25-50 new stores each year as our goal. That did happen, and we're ready to take benefit. In 2008, the globe started to fall with the economy apart. We're turning the dial back again up and will end up being close cheat Clash Royale gems to the high end of the range this year. We've been at the high end of that range and the low end, but we like that pace.

Sftp connect "The client and the server have no common algorithms."

$
0
0

We are running Assembly Rebex.Net.Ssh, Version=1.2.2800.0,

and are getting this error when using the attempting to connect to a RHEL 7 server.

[System.Exception: ***** A SftpException has occurred.
Additional Info: Rebex.Net.SftpException: The client and the server have no common algorithms. ---> Rebex.Net.SshException: The client and the server have no common algorithms.
at Rebex.Net.SshSession.Negotiate(Byte[] I_S)

Answered: Why does EWS GetMessageList not read the full message list sometimes, even when using paging

$
0
0

Hello,

your Rebex EWS assembly version indicates that you are using one of the beta build prior to first release. Please try to update to most recent released build to see if the issue is still present. When confirming if the issue is still present, please create a DEBUG log following this KB article. It should contain values retrieved from the server, which we simply propagate to our API. That log should reveal if the paging works properly.

Your code seems correct to me, so I wonder what the log will contain.

Terminal error: "Negotiation failed. Server signature is not valid."

$
0
0

Hello,

A few of our clients have been having issues using a recent version of Rebex (2017R6, released october 25th). When they connect to some of their SSH machines, they receive one of the two following errors:
"Negotiation failed. Server signature is not valid."
"Negotiation failed. The connection was closed by the server."

Is this issue something we can work around in 2017R6 by changing a setting? If you need more information or an access we could ask our clients if they can provide it, since we haven't been able to reproduce the issue with our setup.

Regards.


Answered: DnsClient and MXResolver in Rebex.Net ?

$
0
0

The DnsClient and MXResolver classes are not part of the public released version. It is base for new product Rebex DNS.

I sent the beta version of the Rebex DNS to your colleague in the past, that is why you are using them in your project.

I will send you link to your email in a minute, so you can download Rebex DNS assemblies based on the latest release (2017 R6.1).

CMD access on compact 2013

$
0
0

We are using Compact 2013 and are trying to get an ssh server working on it. one probel we are coming across is running external apps via the ssh serve and capturing the stdin and stdout.

Does anyone have a solution or any suggetions

Regards

Chad

Answered: DnsClient and MXResolver in Rebex.Net ?

$
0
0

I'm confused: I misunderstood.
Thank you for your response Lukas

Rebex SFTP GetFile method - Writing previous file content

$
0
0

We are using Rebex version 2.0.4086.0 to download and upload files from/to SFTP server.

We are reusing the same rebex connection by checking the GetconnectionState() for downloading files from SFTP server.(ie, we are not disconnecting it always, we will check the connectionstate and if it is connected, we are using the same connection)

We are using GetFile() method for download activities. We observed that while handling heavy load, GetFile() is downloading the file, but the content is writing with previous filecontent (which has downloaded just before few microseconds).

Is there any known issue in GetFile() method as I have explained above? If it is there, please suggest a solution for it.

Answered: Terminal error: "Negotiation failed. Server signature is not valid."

$
0
0

Please try to specify RSA as host key algorithm using Sftp object's Settings property before connecting to the server:

sftp.Settings.SshParameters.PreferredHostKeyAlgorithm = SshHostKeyAlgorithm.RSA;

If this doesn't solve the issue, please create a communication log and either post it here or mail it to support@rebex.net for analysis.

Viewing all 3870 articles
Browse latest View live