Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 141
Registered: ‎08-06-2008
My Device: Not Specified

http 504 error

Hi all,


I have problem with http request.


Most of http request in my app are fine for response except one which needs to wait a response from server at least about 2 minute.

One response is taking 2 minutes from server but before I get the response application gets 504 error which need to proxy.


How to solve this problem?


Thanks in advance...


Forums Advisor III
Posts: 1,054
Registered: ‎05-23-2008
My Device: 8110, 8300, 8800, 8700, 9000

Re: http 504 error

Is this device running on a Blackberry Enterprise Server or Blackberry Internet Service?
If your issue is resolved, put a checkmark in the green box that contains the resolution.
If it was just/or also really helpful - Give it a Kudos.. Go on Mate.. Help the rest of the clueless blackberry user world find their answer too..
~Gday from Down Under~
Posts: 141
Registered: ‎08-06-2008
My Device: Not Specified

Re: http 504 error

This is running on Blackberry Internet service.


Calling URL is  

";deviceside=true" and I'm using POST method.


How to use Blackberry Enterprise Server?




BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: http 504 error

The default timeout on a BlackBerry is 2 minutes, however it appears that your carrier is the one timing out the connection in this case.


To work around this, you could create a request that triggers the server to start processing.  Then, in a few minutes later you can make another request from the BlackBerry to obtain the result.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Posts: 21
Registered: ‎12-26-2008
My Device: Not Specified

Re: http 504 error

[ Edited ]



I'm getting the same error: http 504. My BlackBerry is on BES.


I don't know if this influence this issue, but this 504 error is happening right afeter a reinstallation of the OS of my BB. Before doing th OS reinstall, no 504 error was returned. 


Maybe is just casual. Just in case, I resent Service books from BES and the result was the same: 504 ERROR.


Anyone have any idea?

Message Edited by fplaza on 12-26-2008 11:41 AM