{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
1
Question by Chris Covney · Jan 24, 2017 at 08:22 PM · 550 Views edgePrivate Cloudmessage processorroutertimeout settings16.09

HTTP 504 Gateway Timeout in Edge Private Cloud 4.16.09

Hi everyone,

I've tried changing all the timeout settings for both router and message processor which were outlined in the below community post, yet I still see an HTTP 504 Gateway timeout after ~57000ms when hitting my service. I expect the response to complete in roughly 120 seconds, hence the need to augment the timeout settings.

Community post:

https://community.apigee.com/articles/36324/apigee-private-cloud-performance-optimization.html

I changed the config values using the best practices, as described here:

http://docs.apigee.com/private-cloud/latest/how-configure-edge

My config files look like this:

[root@ilapg application]# pwd
/opt/apigee/customer/application

[root@ilapg application]# ls
message-processor.properties  router.properties

[root@ilapg application]# cat router.properties
conf_router_ServerContainer.io.timeout.millis=620000
conf_router_Client.pool.iotimeout=610000
conf_http_HTTPTransport.io.timeout.millis=600000

[root@ilapg application]# cat message-processor.properties
bin_setenv_min_mem=1024m
bin_setenv_max_mem=6144m
bin_setenv_max_permsize=1024m
conf_nodejs_connect.ranges.denied=
conf_http_HTTPTransport.io.timeout.millis=600000

When I restart the RMP, I do see the output saying that the above config values have been updated as expected. However, there is no effect on behavior.

What timeout setting am I missing here? I can't seem to find anything written about this in the documentation either. Thanks in advance for your help!

Best,

Chris

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
1
Best Answer

Answer by AMAR DEVEGOWDA · Jan 27, 2017 at 07:50 AM

@Chris Covney,

In 4.16.09 the Nginx router has another property proxy_read_timeout that controls the IO timeout value. I suspect that this value is probably set to 57 seconds and hence you are seeing the Gateway timeout (504).

Please follow the steps outlined in the community post here to set the proxy_read_timeout to a higher value.

Retry the API calls and see if it works.

Thanks,

Amar

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Chris Covney · Jan 27, 2017 at 04:36 PM 0
Link

@AMAR DEVEGOWDA

This worked! Thanks so much!

Best,

Chris

Follow this Question

Answers Answers and Comments

51 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

16.09 private cloud installation problematic anomaly 2 Answers

Edge Private Cloud 16.09 Install Issue with apigee-nginx rpm 2 Answers

importing proxies from edge private cloud 4.15.04 into 4.16.09 fails with strange error 1 Answer

Apigee Edge on-premise: Access logs? 1 Answer

Can we mix whether routers and message processors are on same box? 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges