Coder Social home page Coder Social logo

Comments (12)

boy-good avatar boy-good commented on June 25, 2024

来人解答呀

from neb.java.

nebulashub avatar nebulashub commented on June 25, 2024

subscribe是长连接请求,当前client的代码中subscribe接口尚未使用长链接处理,后续会修复这个问题。

from neb.java.

boy-good avatar boy-good commented on June 25, 2024

那大概什么时候会使用长链接处理呢

from neb.java.

yupnano avatar yupnano commented on June 25, 2024

只有subscribe是长连接请求,现在已经处理好了,可以pull一下新的代码试试。

from neb.java.

boy-good avatar boy-good commented on June 25, 2024

好的,你们的maven的库什么时候更新下呀。现在 0.1的包里面都没有NebulasClient

from neb.java.

boy-good avatar boy-good commented on June 25, 2024

ava.lang.RuntimeException: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

at com.google.common.base.Throwables.propagate(Throwables.java:241)
at io.nebulas.client.http.OKHttpClient.URLConnectionPost(OKHttpClient.java:175)
at io.nebulas.client.impl.HttpNebulasClient.subscribe(HttpNebulasClient.java:143)
at io.nebulas.client.TestNebulasClient.testSubscribe(TestNebulasClient.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at

我在Test那里直接运行testSubscribe还是报错 T_T

from neb.java.

yupnano avatar yupnano commented on June 25, 2024

我刚才试了一下subscribe的测试,是可以收到返回数据的。你再检查一下,重新build试试 gradlew clean build -x test

image

from neb.java.

boy-good avatar boy-good commented on June 25, 2024

image

from neb.java.

yupnano avatar yupnano commented on June 25, 2024

@boy-good build成功了吗?我这边没遇到这个build错误。
另外,0.2版本已经发布到maven。

from neb.java.

boy-good avatar boy-good commented on June 25, 2024

@yupnano 是master分支吗,我使用的是master。执行gradlew clean build -x test 一直报错噢

from neb.java.

yupnano avatar yupnano commented on June 25, 2024

我用的是master分支呀,你是直接clone的这个repo吗?

from neb.java.

boy-good avatar boy-good commented on June 25, 2024

@yupnano 是呀,我删掉工程,重新clone下来,可以运行啦。感恩

from neb.java.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.