Page 2 of 4

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 12:27 pm
by ConligWX
HansR wrote: Wed 07 Apr 2021 12:03 pm Yes it uses the same login as for CMX. CumulusUtils runs for a minute or so, CMX runs 24/7. So CMX is actually what I am focussing on.
I could give it a try but it would surprise me though.

I'm just wondering how the FTPS protocol allows multiple connections from two different programs from maybe the same source and at times they may login at the same time. I'm purely speculating as I dont use FTPS myself, but wondering how the crash is exactly happing.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 12:28 pm
by HansR
A new FTP account does not resolve the issue.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 12:31 pm
by HansR
ConligWX wrote: Wed 07 Apr 2021 12:27 pm I'm just wondering how the FTPS protocol allows multiple connections from two different programs from maybe the same source and at times they may login at the same time. I'm purely speculating as I dont use FTPS myself, but wondering how the crash is exactly happing.
OK. I don't know but I do know that CMX is using different connections (under the same account) for the realtime upload and the other FTPs.
The crash I think is is more a result from earlier failure to connect (maybe in combi with the SQL failure). So I focus now on the FTP issue.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 12:51 pm
by freddie
HansR wrote: Wed 07 Apr 2021 11:31 am @freddie: Yes, fine but this is something which suddenly failed. Both CMX as well as my CumulusUtils. So I asked them if they changed something. Nothing changed on my side and suddenly yesterday morning at 6h40 it started to fail. Then yesterday evening I restarted the whole thing with the new CMX version and everything worked like a shining sun until this morning when I tried something and it broke down again. Rebooted and reset everything two, three times and don't get it running again. SFTP is not an option at this moment.

I am not the evasive type, running around problems. If FTP(S) is offered as a service it needs to work and I need to understand.
Sudden failure is generally associated with a change somewhere. As you have control over your settings and have not changed anything then the change must have occurred at the other end or en route. Therefore I would contact the hosting company to see what has changed. Perhaps ask them to look in their server logs. Many of the hosting setups have an independent firewall between you and the firewall on your hosted resources.

I wouldn't see it (switching to SFTP) as running around a problem - more of a temporary solution to the immediate problem. I gave a good reason for permanent migration to SFTP, but of course that is up to you.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 12:54 pm
by freddie
ConligWX wrote: Wed 07 Apr 2021 12:27 pmI'm just wondering how the FTPS protocol allows multiple connections from two different programs from maybe the same source and at times they may login at the same time. I'm purely speculating as I dont use FTPS myself, but wondering how the crash is exactly happing.
The same way any server service does this (think about running multiple browsers looking at the same web page). Your software opens a local port to connect to the remote port. If it needs another connection then it will ask the operating system for another local port.

The only way this would become an issue is if the server (or firewall between you and the server) was configured to only accept a very limited number of connections from a single (external) IP address. Thank goodness that doesn't happen often in reality.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 1:50 pm
by HansR
freddie wrote: Wed 07 Apr 2021 12:51 pm Sudden failure is generally associated with a change somewhere. As you have control over your settings and have not changed anything then the change must have occurred at the other end or en route. Therefore I would contact the hosting company to see what has changed.
I did and they point to the cable provider (Ziggo)
freddie wrote: Wed 07 Apr 2021 12:51 pm Perhaps ask them to look in their server logs. Many of the hosting setups have an independent firewall between you and the firewall on your hosted resources.
I did ask and (if they did) they said they did not change anything and have no problems.
freddie wrote: Wed 07 Apr 2021 12:51 pm I wouldn't see it (switching to SFTP) as running around a problem - more of a temporary solution to the immediate problem. I gave a good reason for permanent migration to SFTP, but of course that is up to you.
I did try that some time ago and did not get it started. I may try again but want to find the cause for this first.
And yes, I see it as walking around the hot issue. And yes its up to me how I handle it of course.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 2:48 pm
by HansR
Well, an update after some calls to providers and cable operators.

They claim it is because of a torn glass fibre cable close to Rotterdam.
They did not have a response to my question why the rest of my internet was still working, including WinSCP to that server.

But the ways of the Internet are wondrous so I believe everything.

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 3:18 pm
by ConligWX
HansR wrote: Wed 07 Apr 2021 2:48 pm Well, an update after some calls to providers and cable operators.

They claim it is because of a torn glass fibre cable close to Rotterdam.
They did not have a response to my question why the rest of my internet was still working, including WinSCP to that server.

But the ways of the Internet are wondrous so I believe everything.
Blame it on Brexit ,Covid, or AstraZeneca. you'll feel better now :lol:

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 3:30 pm
by HansR
:lol:

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 3:50 pm
by HansR
So how do I generate a keypair for SSH.
I tried using MobaXterm and PuTTYgen. The resulting keys (RSA or SSH-1, no password) produce invalid key from CMX.
No Wiki on this subject.
Does it have to be a psk file? or is ppk also allowed (I assume yes)

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 4:00 pm
by freddie
Openssl

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 5:10 pm
by HansR
Just as an update and closure of this thread: apparently the cable fracture has been fixed and indeed the FTP works again.
Who would have thought this to be the cause. I didn't. But is was.

That was a major malfunction on FTP (more than 24hrs) while everything else on the internet worked perfectly. :groan:

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 5:42 pm
by ConligWX
I told you to blame it on something else! :lol: :lol:

Re: CMX crash and realtime retain failure

Posted: Wed 07 Apr 2021 6:30 pm
by HansR
Well it wasn't. Again not functioning :roll:
Anyway, I quit explaining and reporting...

Re: CMX crash and realtime retain failure

Posted: Thu 08 Apr 2021 4:15 pm
by mcrossley
HansR wrote: Wed 07 Apr 2021 6:30 pm Well it wasn't. Again not functioning :roll:
Anyway, I quit explaining and reporting...
Hi Hans, that last post leaves me a bit confused - has the issue been resolved for you?