Giter Site home page Giter Site logo

Comments (10)

lovepoem avatar lovepoem commented on July 22, 2024 2

Duplicate of apache/dubbo#1399

It is fixed in apache/dubbo#1401 ,will be released in next version

from dubbo-spring-boot-project.

mercyblitz avatar mercyblitz commented on July 22, 2024

@leyou240 Please attatch configuration

from dubbo-spring-boot-project.

leyou240 avatar leyou240 commented on July 22, 2024

@mercyblitz this is yaml for provider
yaml.zip

from dubbo-spring-boot-project.

mercyblitz avatar mercyblitz commented on July 22, 2024

Your attached file is provider? please upload whole demo

from dubbo-spring-boot-project.

leyou240 avatar leyou240 commented on July 22, 2024

I just change the properties file to yaml format. The other are same as whole project.

from dubbo-spring-boot-project.

luffyke avatar luffyke commented on July 22, 2024

@mercyblitz this should be a bug, when using yaml config, the port in ProtocolConfig is set to null. and provider export the service with default netty port 20880, makes Consumer get connection refuse exception, this is unexpected.

ps. same config for properties and yaml file. I suggest you test yaml in your environment.

from dubbo-spring-boot-project.

luffyke avatar luffyke commented on July 22, 2024
INFO  com.alibaba.dubbo.config.AbstractConfig - [DUBBO] Export dubbo service myService to url dubbo://myip:20880/myService?anyhost=true&application=dubbo-demo&bind.ip=myip&bind.port=20880&dubbo=2.0.1&generic=false&interface=myService&methods=sayHello&pid=24863&revision=1.0

above is the dubbo INFO log for yaml config.

from dubbo-spring-boot-project.

luffyke avatar luffyke commented on July 22, 2024

Another issue, my dubbo version is 2.5.9, but the version in output log is 2.0.1, please make sure you generate the correct MANIFEST.MF file, i found that the version is from this file.

from dubbo-spring-boot-project.

weaponready avatar weaponready commented on July 22, 2024

configuration not works while using application.yml

from dubbo-spring-boot-project.

lovepoem avatar lovepoem commented on July 22, 2024

Now https://github.com/alibaba/dubbo/milestone/13 is released. dubbo 2.6.1 has fixed this bug

from dubbo-spring-boot-project.

Related Issues (20)

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.