标签: http-status-code-503

部署(发布)后的Weblogic错误:错误503-服务不可用

我有一个小型Web应用程序,正在使用Spring,Hibernate和JSF2.0。

我正在将应用程序部署到与Eclipse服务器集成在一起的Weblogic 10.3.6。当我将应用程序发布到服务器时,它会被发布(部署),但是与Glassfish相比,它需要花费相当长的时间才能发布。

我遇到的问题是,当我尝试从浏览器运行应用程序时,尽管在日志中没有看到任何错误或异常,但是在浏览器中却遇到以下错误。我该如何解决这个问题?以及为什么要花这么多时间部署到服务器?

Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable

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. If known, 
the length of the delay may be indicated in a Retry-After header. 
If no Retry-After is given, the client SHOULD handle the response as …
Run Code Online (Sandbox Code Playgroud)

java deployment weblogic weblogic11g http-status-code-503

2
推荐指数
2
解决办法
2万
查看次数

Heroku Go app崩溃了

按照本教程,一切都在本地工作.将我的应用程序部署到Heroku并在浏览器上访问应用程序后,我收到503错误并显示以下消息:

应用程序错误应用程序中发生错误,无法提供您的页面.请稍后重试.如果您是应用程序所有者,请检查日志以获取详细信息.

日志说:

2015-09-08T16:31:53.976824+00:00 heroku[web.1]: State changed from crashed to starting
2015-09-08T16:31:56.174376+00:00 heroku[web.1]: Starting process with command `mywebsite`
2015-09-08T16:31:59.312461+00:00 app[web.1]: Listening on port: 39461
2015-09-08T16:32:56.471550+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2015-09-08T16:32:56.471550+00:00 heroku[web.1]: Stopping process with SIGKILL
2015-09-08T16:32:57.390752+00:00 heroku[web.1]: Process exited with status 137
2015-09-08T16:32:57.404208+00:00 heroku[web.1]: State changed from starting to crashed
2015-09-08T16:32:57.645135+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=boiling-eyrie-6897.herokuapp.com request_id=ec26... fwd="xx.xxx.xxx.xxx" dyno= …
Run Code Online (Sandbox Code Playgroud)

heroku go http-status-code-503

2
推荐指数
2
解决办法
2044
查看次数

无法下载R中的文件-状态503

我正在尝试下载文件:

> URL <- "https://www.bitmarket.pl/graphs/BTCPLN/90m.json"
> download.file(URL, destfile = "res.json", method = "curl")
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4676    0  4676    0     0  56930          0 --:--:-- --:--:-- --:--:-- 57024
Run Code Online (Sandbox Code Playgroud)

但它返回503状态。整体输出:

<!DOCTYPE HTML>
<html lang="en-US">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <meta name="robots" content="noindex, nofollow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>Just a moment...</title>
  <style type="text/css">
    html, body {width: …
Run Code Online (Sandbox Code Playgroud)

curl r wget download http-status-code-503

2
推荐指数
1
解决办法
460
查看次数

为什么503错误发生在一个位置而不是另一个位置?

为什么在一个地方出现"503 - 服务暂时不可用"消息,但在另一个地方加载得非常好?其他网站在用户收到503错误的地方正常加载.

http http-status-code-503

1
推荐指数
1
解决办法
3670
查看次数

使用ruby的open-uri访问特定站点时出现503错误

我一直在使用下面的代码来抓取一个网站,但我想我可能已经抓了太多,并且完全被禁止访问该网站.在,我仍然可以在我的浏览器上访问该站点,但任何涉及open-uri和此站点的代码都会引发503站点不可用错误.我认为这是特定于网站的,因为open-uri仍然适用于google和facebook.这有解决方法吗?

require 'rubygems'
require 'hpricot'
require 'nokogiri'
require 'open-uri'

doc = Nokogiri::HTML(open("http://www.quora.com/What-is-the-best-way-to-get-ove$

topic = doc.at('span a.topic_name span').content
puts topic
Run Code Online (Sandbox Code Playgroud)

ruby open-uri http web-crawler http-status-code-503

1
推荐指数
1
解决办法
2695
查看次数

OpenShift的临时503和404托管了webapp

我在OpenShift上向WildFly 8.0.0部署了一个webapp.该应用程序目前只有很少的用户,但工作正常.对于WildFly,我使​​用一个免费的OpenShift帐户(我不知道它是否相关).

有时,当我访问应用程序时,我得到503(有时)或404(大多数时候)错误.

如果应用程序已经使用了一段时间(比如2或3天),我似乎得到了这些错误.大约一分钟,如果我重新加载页面,我会得到同样的错误.但大约一分钟后,我不再得到错误,而是应用程序正确可用.

看起来OpenShift"禁用"webapps如果它们已经使用了一段时间,然后根据需要"重新启用"它们(但在"重新启用"webapps期间显示503或404).

=>这是一个错误吗?这是一个众所周知的OpenShift问题吗?

=>如何防止我的webapp不可用?

问候

http-status-code-404 http-status-code-503 openshift wildfly

1
推荐指数
1
解决办法
1047
查看次数

有什么方法可以通过数据库设置屏幕选项wordpress?

我的产品 woocommerce 页面将无法加载,因为它当时设置为显示 100 个产品。(由于服务器过载,服务器 503 错误)。有什么办法可以直接通过wordpress的mysql数据库将这个100的值设置回一个较低的数字?谢谢你的帮助。

mysql database wordpress http-status-code-503 woocommerce

1
推荐指数
1
解决办法
2454
查看次数

Heroku 节点 503

我正在创建一个非常简单的 Heroku NodeJS 服务器,当我加载页面时它抛出以下错误:

Failed to load resource: the server responded with a status of 503 (Service Unavailable)
Run Code Online (Sandbox Code Playgroud)

index.js 文件的代码:

const express = require('express');
const app = express();


app.get('/', (request, res) => {
    res.send('Conneccteedd!!')
    }
)

app.get('/something', (request, res) => {
    res.send('somethingg!!')
    }
)

app.listen(3000, () => console.log('Example app listening on post 3000!'))
Run Code Online (Sandbox Code Playgroud)

当我运行时heroku logs,我得到这个:

2018-04-07T17:23:59.443080+00:00 app[api]: Enable Logplex by user rcocuzzo8@gmail.com
2018-04-07T17:23:59.139900+00:00 app[api]: Release v1 created by user rcocuzzo8@gmail.com
2018-04-07T17:23:59.139900+00:00 app[api]: Initial release by user rcocuzzo8@gmail.com
2018-04-07T17:23:59.443080+00:00 …
Run Code Online (Sandbox Code Playgroud)

heroku node.js http-status-code-503

1
推荐指数
1
解决办法
3218
查看次数