504 Gateway Time-out in AHAH processing with AHAH Helper Module

Events happening in the community are now at Drupal community events on www.drupal.org.
akriel's picture

Hi,

i've moved my page very recently to NGINX (was Apache before that) and everything is running great and fast so far.

But there is one problem which is driving me mad:
My AHAH enhanced form elements, which were running normally on Apache, don't work on NGINX. The little throbber graphic is just spinning around for one minute and then NGINX returns a 504 Gateway Time-out for the request.
This behavior doesn't happen in AHAH example or AHAH Helper Example Module, so I am aware that it definitely has to be caused by something in my forms.
But I just can't figure out, where the differences in the two servers can have an effect on AHAH handling and AHAH helper module.

Maybe some special rewrite rules are needed for the AHAH Paths?

I'm pretty clueless and desperate on this one, so it would be great if somebody could give me some tips on this problem.

Thanks,
Akriel

Comments

Please pastebin somewhere

omega8cc's picture

Please pastebin somewhere your Nginx configuration and link it here or let us know if you are using any known or recommended config etc.

Yes

perusio's picture

paste the config. Also, can you scrutinize what's happening on the wire? What do the logs say?

Thanks for your replies and

akriel's picture

Thanks for your replies and sorry for the late update.

It turned out to be a routing problem with a POST-Request via proxy, which I make on an AHAH Event.
I thought of a Drupal related NGINX configuration problem first, because AHAH helper uses Menu Paths and I didn't know for sure if the NGINX rewrite handles the paths exactly like the Apache rewrite.

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: