Skip to main content
Best Answer

195 character limit for FME_SERVER_REQUEST_URI in FME Server?

  • April 20, 2018
  • 2 replies
  • 64 views

batesy
Contributor
Forum|alt.badge.img+1

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+62
  • 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.


batesy
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • April 23, 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.

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