gpt4 book ai didi

ssh - Openshift for Play : The remote end hung up unexpectedly

转载 作者:行者123 更新时间:2023-12-04 20:54:38 26 4
gpt4 key购买 nike

我正尝试在 openshift 中启动一个游戏项目。第一阶段占项目近15%,已顺利完成并上传。所以,我想初始配置没问题。现在,在我几乎完成项目的其余部分后,当我尝试使用 ssh 推送项目时,每次在一定时间后远程服务器挂断并显示以下消息。

remote: [info] Done packaging.
remote: model contains 69 documentable templates
Connection to blogofprime-thatsqt.rhcloud.com closed by remote host.
fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://5455ef32e0b8cd379e000293@blogofprime-thatsqt.rhcloud.com/~/git/blogofprime.git/
+ 557ec12...4034b71 HEAD -> master (forced update)

每次在某个步骤后远程服务器挂断。

我的 openshift.conf 文件:

# This is the main configuration file for the application.
# ~~~~~

include "application"

# Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
application.secret="V0sLX<RAciXw_>7^O8y=I4BRW/M4@vhVhF=H44`lMfgAV2hs^Pp?tsfroKt1J3eX"

# The application languages
# ~~~~~
application.langs="en"

# Database configuration
# ~~~~~
# You can declare as many datasources as you want.
# By convention, the default datasource is named `default`
#

db.default.driver=com.mysql.jdbc.Driver
db.default.url="jdbc:mysql://"${OPENSHIFT_MYSQL_DB_HOST}":"${OPENSHIFT_MYSQL_DB_PORT}"/"${OPENSHIFT_APP_NAME}
db.default.user=${OPENSHIFT_MYSQL_DB_USERNAME}
db.default.password=${OPENSHIFT_MYSQL_DB_PASSWORD}

# Evolutions
# ~~~~~
# You can disable evolutions if needed
# evolutionplugin=disabled

# Ebean configuration
# ~~~~~
# You can declare as many Ebean servers as you want.
# By convention, the default server is named `default`
#
ebean.default="models.*"


# Logger
# ~~~~~
# You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory .

# Root logger:
logger.root=ERROR

# Logger used by the framework:
logger.play=INFO

# Logger provided to your application:
logger.application=DEBUG

我的 build.sbt 文件:

name := "thatsqt"

version := "1.0-SNAPSHOT"

scalaVersion := "2.11.2" // or "2.10.4"

libraryDependencies ++= Seq(
// Select Play modules
jdbc, // The JDBC connection pool and the play.api.db API
//anorm, // Scala RDBMS Library
javaJdbc, // Java database API
javaEbean, // Java Ebean plugin
javaJpa, // Java JPA plugin
filters, // A set of built-in filters
javaCore, // The core Java API
// WebJars pull in client-side web librarie
"org.webjars" %% "webjars-play" % "2.3.0",
"com.typesafe.play" %% "play-slick" % "0.8.0",
// Add your own project dependencies in the form:
// "group" % "artifact" % "version"
"mysql" % "mysql-connector-java" % "5.1.27"
)

fork in Test := false

lazy val root = (project in file(".")).enablePlugins(PlayJava)

EclipseKeys.withSource := true

平台:我正在使用 Mac OS X 和 typesafe activator for play framework。

我尝试过的:我试图在服务器和客户端中unset TMOUT。在这一点上,我不太确定这是超时问题还是其他问题。

我的项目链接:https://github.com/magurmach/PlayOpenshiftThatsQt

我该如何解决这个问题?

最佳答案

如果问题是最近才开始出现的,则可能是超出配额造成的。使用 1GB 小齿轮用完空间是很常见的。

尝试使用 rhc app-tidy rhc 命令:

rhc app-tidy <app>

关于ssh - Openshift for Play : The remote end hung up unexpectedly,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26957126/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com