天涯明月刀 versionserverconfig server提示这个上不了游戏怎么办

后使用我的收藏没有帐号?
所属分类: &
查看: 104|回复: 1
为什么在登cf比赛服的时候会跳出versionserverconfig
为什么在登cf比赛服的时候会跳出versionserverconfig然后就掉了
指尖上的天刀 颜值侠义并存的江湖!
终极测试福利来袭 晒图拿萌动好礼!英雄联盟versionserverconfig.xml解析失败_百度知道
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。
英雄联盟versionserverconfig.xml解析失败
我有更好的答案
是不是下载的时候网速不稳定,导致文件丢失,推荐重新下载
为您推荐:
其他类似问题
您可能关注的内容
英雄联盟的相关知识
换一换
回答问题,赢新手礼包java - Algorithm negotiation fail SSH in Jenkins - Stack Overflow
Join Stack Overflow to learn, share knowledge, and build your career.
or sign in with
I'm trying to ssh from Jenkins to a local server but the following error is thrown:
[SSH] Exception:Algorithm negotiation fail
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:520)
at com.jcraft.jsch.Session.connect(Session.java:286)
at com.jcraft.jsch.Session.connect(Session.java:150)
at org.jvnet.hudson.plugins.SSHSite.createSession(SSHSite.java:141)
at org.jvnet.hudson.plugins.SSHSite.executeCommand(SSHSite.java:151)
at org.jvnet.hudson.plugins.SSHBuildWrapper.executePreBuildScript(SSHBuildWrapper.java:75)
at org.jvnet.hudson.plugins.SSHBuildWrapper.setUp(SSHBuildWrapper.java:59)
at hudson.model.Build$BuildExecution.doRun(Build.java:154)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
at hudson.model.Run.execute(Run.java:1754)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Finished: FAILURE
Installed version of Java on SSH server:
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
Installed version of java on client:
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
Also tried this solution:
but it's not working. From putty everything seems to be ok. The connection is established but when I trigger the Jenkins job the error is thrown. Should I try another version of ssh server. Now I'm using copssh.
TL;DR edit your sshd_config and enable support for diffie-hellman-group-exchange-sha1 and diffie-hellman-group1-sha1 in KexAlgorithms:
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
I suspect that the problem appeared after the following change in OpenSSH 6.7: "The default set of ciphers and MACs has been altered to remove unsafe algorithms.". (see ). This version was released on Oct, 6, and made it on Oct, 21 to Debian testing (see ).
OpenSSH enables only the following key exchange algorithms by default:
curve25519-sha256@libssh.org
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
diffie-hellman-group-exchange-sha256
diffie-hellman-group14-sha1
Whereas JSch claims to support
(see under "features") for key exchange:
diffie-hellman-group-exchange-sha1
diffie-hellman-group1-sha1
So indeed, they cannot agree on a common key exchange algorithm. Updating sshd_config (and restarting the SSH server) does the trick. Apparently JSch is supposed to support the "diffie-hellman-group-exchange-sha256" method since version 0.1.50 (see ).
9,66343383
As outlined here: , in JSch 0.1.51 diffie-hellman-group-exchange-sha256 is implemented, but not enabled. You can enable it using the setConfig function like so:
JSch jsch = new JSch();
java.util.Properties configuration = new java.util.Properties();
configuration.put("kex", "diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256");
configuration.put("StrictHostKeyChecking", "no");
Session session = jsch.getSession("username", "hostname", 22);
session.setPassword("password");
session.setConfig(configuration);
session.connect();
We had the same problem with our jenkins (2.21) and the SSH plugin (2.4)
Our solution is to use the nativ shell execution. It seems that the jenkins plugins does not use the same ssh connection settings than the nativ shell.
So you could make the ssh connect like this (without the ssh-plugin):
ssh user@host &&'ENDSSH'
echo your remote command here
If you wrap your remote commands with the code above the connection works fine.
With this solution you dont need the ssh-plugin anymore.
For your information: We got the problem on our mittwald servers since they upgraded the openssh on there servers.
In my case - OpenSSH_6.7p1 on server - I had to modify KexAlgorithms and MACs (additional hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 values):
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
MACs hmac-sha2-512-,hmac-sha2-256-,hmac-ripemd160-,umac-128-,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-,hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
Above should be put placed:
/etc/ssh/sshd_config
And then restart the ssh:
sudo /etc/init.d/ssh restart
I have faced exactly same problem.
AS Matthieu suggested we have to add some key-exchange algoritm in sshd-config file present in cygwin>etc>sshd_config.
I have just added following and its worked for me,
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
But the file itself is in read only mode so we have to provide it all access like read,write and execute though comand prompt. "chmode 777 sshd_config".
then add above mention algorithms. stop the sshd service through "net stop sshd" and then start it "net start sshd".
Have fun....
The only this helped to me.
If you want to temporarily fix this issue, simply download "Jsch" with
min. version of 0.1.53 and move it to the SSH plugin directory, for
example: cp /tmp/jsch-0.1.53.jar
/var/lib/jenkins/plugins/ssh/WEB-INF/lib/ Don't forget to restart
jenkins. You should now be able to Build your Job with Debian Jessie.
Instead of fixing this on the server side, you can also update the client side. If you use
in its latest version (>= 2.12), this problem does not occur anymore.
&!-- ... --&
&pluginManagement&
&groupId&org.apache.maven.plugins&/groupId&
&artifactId&maven-site-plugin&/artifactId&
&version&3.6&/version&
&dependencies&
&dependency&
&groupId&org.apache.maven.wagon&/groupId&
&artifactId&wagon-ssh&/artifactId&
&version&2.12&/version&
&/dependency&
&/dependencies&
&/plugins&
&/pluginManagement&
&!-- ... --&
&/project&
1,50521621
I also faced same problem with similar exceptions on Jenkins console.
Then I tried Matthieu Wipliez's solution. But it did not work as same configuration was already done on my SSH server(Remote machine: Linux ubuntu 16.04).
After spending few hours, I just checked my SSH plugin's version which was 2.1 and I just updated it to latest (2.5).
And guess what it worked!!
I do not whether it will work in every similar case but I would like to suggest try it first. It may save your time.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
The week's top questions and answers
Important community announcements
Questions that need answers
By subscribing, you agree to the
Stack Overflow works best with JavaScript enabled后使用快捷导航没有帐号?
查看: 9983|回复: 3
新人欢迎积分1 阅读权限30积分98精华0UID帖子金钱562 威望0
Lv.3, 积分 98, 距离下一级还需 152 积分
UID帖子威望0 多玩草0 草
昨天游戏自动更新时失败了 然后重新下载客户端 版本是1.1.428 打开以后开始更新 出现自动更新失败 错误原因:VersionServerConfig数据异常 一脸懵逼 有没有大神遇见过 该怎么解决?
[img]http://att./forum//ihexzceryxfhvi.jpg[img]
迷离画影绘心
新人欢迎积分2 阅读权限99积分44602精华0UID帖子金钱361748 威望11
不爱吃甜的? 心喜清澈水?最爱凉白开?微凉离别意?浅至伴离兮
Lv.10, 积分 44602, 距离下一级还需 10398 积分
UID帖子威望11 多玩草5506 草
穆非烟 发表于
昨天游戏自动更新时失败了 然后重新下载客户端 版本是1.1.428 打开以后开始更新 出现自动更新失败 错误原因 ...
在游戏目录里 天涯明月刀& &TCLS& & config 里找到VERSIONSERVERCONFIG这个文件
把正常的文件替换掉它 然后在更新~~
或者点开VER&&找到里面异常的参数然后修改成正常的~~
下面是我的里面的 能正常游戏的 看看哪里不同的
15:21:14 上传
或者升级补丁的
本帖最后由 那笑、真微凉 于
15:34 编辑
感谢你帮助玩友O(∩_∩)O
总评分:&金钱 + 30&
新人欢迎积分0 阅读权限10积分11精华0UID帖子金钱10 威望0
Lv.1, 积分 11, 距离下一级还需 4 积分
UID帖子威望0 多玩草0 草
我也是这样的情况,无法更新,补丁安了也没反应
新人欢迎积分0 阅读权限10积分5精华0UID帖子金钱13 威望0
Lv.1, 积分 5, 距离下一级还需 10 积分
UID帖子威望0 多玩草0 草
天涯明月刀功勋勋章
这就是武侠
助人为乐奖
助人为乐奖
解答员勋章
解答员勋章
阳光热情勋章
阳光热情勋章
多玩写手勋章
多玩写手勋章
万圣节勋章
万圣节勋章
活动奖励勋章
活动奖励勋章
需要金钱:1100
手机盒子客户端点击或扫描下载
Powered by

我要回帖

更多关于 version severconfig 的文章

 

随机推荐