Skip to main content
Solved

195 character limit for FME_SERVER_REQUEST_URI in FME Server?


Forum|alt.badge.img

Hi guys,

can someone please confirm if there is a character limit to the FME_SERVER_REQUEST_URI in FME Server 2017.1? It seems to be 195 characters.

 

For example, I have a schedule that is calling a workspace :

 

https://myservername.com/fmejobsubmitter/a_long_repository_name/and_a_really_long_workspace_name.fmw

 

 

If that string is over 195 characters then the scheduler reports that the workspace cannot be found. It works fine if I reduce the length of the repository name or the workspace filename.

Cheers

Batesy

Best answer by redgeographics

Are you running on Windows? There seems to be a max file path length there of 259 characters which may come in to play here (it's not the same number as you're reporting but it's close enough to warrant suspicion)

Another thing, if you have lots of parameters with long values, might be the 2048 character limit on url's, as described here.

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49
  • Celebrity
  • Best Answer
  • April 20, 2018

Are you running on Windows? There seems to be a max file path length there of 259 characters which may come in to play here (it's not the same number as you're reporting but it's close enough to warrant suspicion)

Another thing, if you have lots of parameters with long values, might be the 2048 character limit on url's, as described here.


Forum|alt.badge.img
  • Author
  • April 23, 2018
redgeographics wrote:

Are you running on Windows? There seems to be a max file path length there of 259 characters which may come in to play here (it's not the same number as you're reporting but it's close enough to warrant suspicion)

Another thing, if you have lots of parameters with long values, might be the 2048 character limit on url's, as described here.

Hi @redgeographics, thanks for the reply.

 

 

Yep, I'm pretty sure you are correct and it's the 259 character limit in Windows! I realised this morning that when the workspace is uploaded into FME Server it creates another sub-folder with the same name as the workspace within the "repositories" folder so you end up with :

 

 

C:\\ProgramData\\Safe Software\\FME Server\\repositories\\repository_name\\subfolder_workspace_name\\workspace_name.fmw

 

 

I guess in the future I should keep my repository / workspace names nice and short and used the description field to provide the context instead...

 

 

Thanks for the help,

 

 

Batesy

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings