apache / apache/dubbo-php-framework

请问这个报错是什么情况?

Open
#3 16 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
400
Forks
87
PR merge metrics
No merged PRs in 30d

Description

运动的demo,以下是日志
`
[2018-07-10 23:58:36,112][INFO][com\fenqile\fsof\consumer\FSOFConsumer][39] consumer cfg:{"app_name":"demo-consumer","app_src":"\/data\/web\/dubbo-php-framework\/demo\/demo-consumer\/server"}
[2018-07-10 23:58:36,113][WARN][com\fenqile\fsof\registry\automatic\ConsumerProxy][107] version:1.0.0 group:* service:com.fenqile.example.DemoService get Provider Info from redis is empty.
[2018-07-10 23:58:36,114][ERROR][com\fenqile\fsof\consumer\proxy\ProxyFactory][124] not find providers form redis for com.fenqile.example.DemoService:1.0.0:*
[2018-07-10 23:58:36,114][ERROR][com\fenqile\fsof\consumer\proxy\ProxyFactory][225] consumer_app:demo-consumer|app_config_file:/data/web/dubbo-php-framework/demo/demo-consumer/server/consumer/demo-consumer.consumer|version:1.0.0|group:*|provider_service:com.fenqile.example.DemoService|errmsg:current_address:192.168.254.111|com.fenqile.example.DemoService|exceptionmsg:Exception: current_address:192.168.254.111|com.fenqile.example.DemoService in /data/web/dubbo-php-framework/consumer/proxy/ProxyFactory.php:213
Stack trace:
#0 /data/web/dubbo-php-framework/api/FSOFApi.php(64): com\fenqile\fsof\consumer\proxy\ProxyFactory::getInstance('com.fenqile.exa...', 30)
#1 /data/web/dubbo-php-framework/demo/demo-consumer/server/Consumer.php(13): FSOFApi::newProxy('com.fenqile.exa...', 30)
#2 {main}
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with consumer/proxy/ProxyFactory.php around lines 213 and 225, then trace the calls from api/FSOFApi.php and demo/demo-consumer/server/Consumer.php. Check how provider information is read from Redis for com.fenqile.example.DemoService and compare it with the consumer configuration. Done means identifying why no provider is found and documenting or correcting the cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, redis
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.