Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Posted

Hey,

We use the REST API. In addition, we are writing a lot of the report of 'Can not perform database operation'.

Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( [response_code] => 503 [error_message] => Cannot perform database operation ) ) Array ( [data] => [meta] => Array ( 

A few seconds later, the message is gone and we get the data.

What can be the cause of this?

Thank you

Featured Replies

Hi @leendertvdk

Usually a 503  is a HTTP code for Service Unavailable.

Quote

The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay.

Reference: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

It could be something blocking the requests through temporarily like DoS Protection if it's making too many requests.

  • Author
On 12-10-2017 at 3:58 PM, Martin_T said:

Hi @leendertvdk

Usually a 503  is a HTTP code for Service Unavailable.

Reference: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

It could be something blocking the requests through temporarily like DoS Protection if it's making too many requests.

@Martin_T

Thank you for the explanation. I already thought of something like this.

I now have the refresh function slower

  • 1 month later...
  • Administrators

Hi @leendertvdk and @Martin_T,

That's correct, we return 503 when you have reached the rate limits for the RESTful API or when we restart the backend services and they are still initialising.

-Paul

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.