Results 1 to 4 of 4

Thread: Sugar goes down by timeout at invoking web service

  1. #1
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Exclamation Sugar goes down by timeout at invoking web service

    hello people, how are you? i have a little problem when calling a web service, it takes about 2 minutes to respond and then sugar goes down. By the way, this generates an inconsistence between a sugar db and another system db.

    So, I have few questions:
    1) Is there any log file that shows this error?
    2) Is there any way to handle this error?
    3) How can i solve this problem?

    Thank you in advance

  2. #2
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Sugar goes down by timeout at invoking web service

    Hello fedepia,

    We should begin by looking at the log file. Follow these instructions to turn on debug logging:

    http://www.sugarcrm.com/wiki/index.p..._debug_logging

    Next, watch your sugarcrm.log file (in the main Sugar directory) as you run the webservice again. At what point does it stop?
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

  3. #3
    fedepia is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Rosario, Argentina
    Posts
    104

    Default Re: Sugar goes down by timeout at invoking web service

    hello julian, thanks for answering. I saw in apache directory, a log file, i.e., error.log that shows the following error:
    [Thu Sep 27 14:32:01 2007] [error] [client 127.0.0.1] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\xampp\\htdocs\\sugarcrm\\include\\nusoap\\nuso ap.php on line 2561, referer: http://localhost/sugarcrm/index.php?...ion=DetailView

    so, this is the issue. When it appears, sugar goes down. I know that modifying the execution time, it will work but i want to know how can i handle this error?

    Any suggestions?

    Thanks

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Sugar goes down by timeout at invoking web service

    The best way is to bump the max script execution time in your php.ini from 30 to a higher value like 300. SOAP will almost always time out with the default 30 seconds set. Make sure to edit the correct php.ini. (To be safe find all on your server and edit them all unless you are familiar with how this works.)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HELP - Act import (field mapping)
    By smelamed in forum Help
    Replies: 32
    Last Post: 2010-12-15, 05:39 PM
  2. Replies: 15
    Last Post: 2007-09-14, 12:24 PM
  3. Web Service call to Create Case always returns 0
    By markellul in forum Developer Help
    Replies: 4
    Last Post: 2007-06-19, 09:49 PM
  4. How to install sugar on Web
    By blue in forum Help
    Replies: 0
    Last Post: 2006-04-27, 09:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •