Question

FTP docman repository and errors

  • 17 March 2023
  • 9 replies
  • 132 views

Userlevel 5
Badge +15

Hi

 

Our customer configured external repository for some document class on FTP server. Normally it works fine but time to time he faced randomly error message:

There is no any errors in logs on FTP server side. Sometimes in j2ee logs below error occurs. I am not really sure it is related to connection with FTP

2023-03-07 16:36:44,582 240 ??? [fnd.websocket.FndWebSocket] ifs.fnd.websocket.FndWebSocket.onJMSMessage(): null
java.lang.IllegalStateException: The connection has been closed.

Does anyone know what could be the problem? Any timeout or network issue?


9 replies

Userlevel 6
Badge +14

@Mathias Dahl any thoughts on this FTP error?

Userlevel 7
Badge +30

Sorry, no. It's very hard to guess when it seems to be a random problem.

FTP uses two ports, one for the commands and one for the data. It sounds like the first one closes unexpectedly here.

Does it happen for all kinds of file sizes?

What firewall setup is in place between the application server and the FTP server? Any hints in logs there?

 

Userlevel 5
Badge +15

Hi @Mathias Dahl 

 

In my case it happens for all kind of file size and randomly. For example it may fail and in next try everything is ok.

During fails we have no information in FTP server logs and no network problem detected as well.

Userlevel 7
Badge +30

Do you have more than one node in the application server cluster? If you have and one of them have a connection problem, it could explain the randomness.

 

Userlevel 5
Badge +15

Hi @Mathias Dahl 

 

Customer environment is clustered. In ifsdump.zip file I have following servers list:

I realize that name is meaningless but I will ask customer for MainServer3. Thank You for hint.

Userlevel 7
Badge +30

Did you resolve the issue?

 

Userlevel 5
Badge +15

Hi @Mathias Dahl 

 

I have response from customer:

...it’s been working without issue since the Eater weekend – nothing was done in Live during that period…

 

I got also private message on IFS Community from another person:

Our customer also reported issue got resolved no clue what happened

 

Really strange!

 

Piotr

Userlevel 7
Badge +30

Perhaps a large consumption of easter eggs solved the problem? 🙃

I agree, it's strange. My guess is "connectivity". One thing is certain, the code didn't change, something external did (firewalls, caches, DNS stuff, OS processes, etc.)

Thanks for reporting back!

 

Userlevel 5
Badge +15

It could be related to Windows OS updates because in one of these two cases FTP is set on IIS. In second case I got only information that it also “windows FTP server software”.

Reply