7 Replies Latest reply on Dec 8, 2014 3:04 PM by TSGal

    FMS 13 CWP via PHP API shows delays of 10 seconds for some API calls

    nickorr

      Summary

      FMS 13 CWP via PHP API shows delays of 10 seconds for some API calls

      Product

      FileMaker Server

      Version

      13v1

      Operating system version

      Windows 2008 64bit

      Description of the issue

      Some API calls, in particular listDatabases() can show delays of up to 10 second for some calls.  We've setup some basic urls with our RESTfm product that we can track differences between 12 and 13 on the same OS.

      Steps to reproduce the problem

      For all of the following use write:restfm as the username:password.  Once authenticated the first time, just reload the page to see the delays in effect.

      This page does just the listDatabases() :

      http://fms13.goya.com.au/RESTfm
      vs
      http://fms12.goya.com.au/RESTfm

      One is nearly instant ( after authentication ), and the other has delays.  Some other urls such as :

      http://fms13.goya.com.au/RESTfm/postcodes/layout/full%20postcodes.html

      which is also querying some records and perfectly fine for 2 minutes or so, before showing a delay.

      Expected result

      No delays in some captures.

      Actual result

      It seems like there is something almost intentional about the first time, and 2 minute speed issue, as if the code is trying to check something else that is timing out.

      Configuration information

      FMS 13 on Win 2008 64bit.

      We have packet captures as well that show the problem and it's reproducible each time.

      Let me know if you'd like to see the packet captures and logs.

      Workaround

      None available.