Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gateway time out drupal portal

Hi,

We are using Apigee Kickstart with Drupal for our developer portal. During user registration, we encounter a gateway timeout error when validating the connection to Apigee Edge. Specifically, the testConnection() method in the apigee_edge.sdk_connector service fails with the following error:

 

 

Could not create/update Drupal user: [user_email], because there was no connection to Apigee Edge. cURL error 28: Connection timed out after 30000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html).

 

 

The function responsible for this validation is as follows:

 

 

function apigee_edge_form_user_form_api_connection_validate(array $form, FormStateInterface $form_state) {
    $sdk_connector = \Drupal::service('apigee_edge.sdk_connector');
    try {
        $sdk_connector->testConnection();
    } catch (\Exception $exception) {
        $form_state->setError($form, t('User registration is temporarily unavailable. Try again later or contact the site administrator.'));
    }
}

 

 

Questions:

  1. What could cause a consistent timeout when calling the Apigee Edge API from Drupal during testConnection() validation? Are there known latency issues or endpoint restrictions we should be aware of?
  2. Is there a recommended timeout configuration for cURL requests to Apigee Edge APIs, and can it be extended to accommodate potential network delays?
  3. Are there specific logs or diagnostics available on the Apigee Edge side to investigate whether the request is being received or blocked?
  4. Could this be related to rate limits or other restrictions applied to our Apigee organization ([Your Organization Name])?
  5. Are there any network configuration steps (firewall, proxy settings, etc.) or debugging tools you recommend to troubleshoot this issue?

We would appreciate guidance on resolving this issue so we can restore seamless user registration functionality.

NOTE : On all other pages like Create APP, APP Listings, every thing is working fine ans smoothly.

0 3 342
3 REPLIES 3