Skip to main content
Question

FTP docman repository and errors

  • March 17, 2023
  • 9 replies
  • 175 views

Forum|alt.badge.img+17

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

Amila Samarasinghe
Superhero (Partner)
Forum|alt.badge.img+14

@Mathias Dahl any thoughts on this FTP error?


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2900 replies
  • April 7, 2023

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?

 


Forum|alt.badge.img+17
  • Author
  • Superhero (Partner)
  • 514 replies
  • April 13, 2023

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.


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2900 replies
  • April 14, 2023

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.

 


Forum|alt.badge.img+17
  • Author
  • Superhero (Partner)
  • 514 replies
  • April 19, 2023

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.


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2900 replies
  • April 24, 2023

Did you resolve the issue?

 


Forum|alt.badge.img+17
  • Author
  • Superhero (Partner)
  • 514 replies
  • April 26, 2023

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


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2900 replies
  • April 26, 2023

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!

 


Forum|alt.badge.img+17
  • Author
  • Superhero (Partner)
  • 514 replies
  • April 27, 2023

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”.