Giter Club home page Giter Club logo

Comments (7)

wu1405 avatar wu1405 commented on May 16, 2024

Another error is:
[2018-05-15 10:29:33,427] INFO sign:83846-1526351373.410 lineno:93 : do register result:{u'code': 200, u'data': {u'pieceSize': 15728640, u'fileLength': 7430897691, u'taskId': u'9a945882a7508e18f42eacda5e8c71c7c6e34e799fcddb92d509e69c94ac9d47'}} and cost 0.003
[2018-05-15 10:29:33,430] ERROR sign:83846-1526351373.410 lineno:119 : pull piece task fail:{u'msg': u'cdn status is fail', u'code': 604} and will migrate
[2018-05-15 10:29:33,430] INFO sign:83846-1526351373.410 lineno:64 : do register to 10.58.83.14,remainder:[]
[2018-05-15 10:29:33,431] INFO sign:83846-1526351373.410 lineno:93 : do register result:{u'code': 200, u'data': {u'pieceSize': 15728640, u'fileLength': 7430897691, u'taskId': u'9a945882a7508e18f42eacda5e8c71c7c6e34e799fcddb92d509e69c94ac9d47'}} and cost 0.002
[2018-05-15 10:29:33,433] ERROR sign:83846-1526351373.410 lineno:119 : pull piece task fail:{u'msg': u'cdn status is fail', u'code': 604} and will migrate
[2018-05-15 10:29:33,433] ERROR sign:83846-1526351373.410 lineno:243 : p2p fail
Traceback (most recent call last):
File "/media/disk1/fordata/web_server/project/p2p/1.0/df-client/core/fetcher.py", line 230, in run
self.identifier)
File "/media/disk1/fordata/web_server/project/p2p/1.0/df-client/component/httputil.py", line 132, in pull_piece_task
http_path, md5, identifier)
File "/media/disk1/fordata/web_server/project/p2p/1.0/df-client/component/httputil.py", line 126, in pull_piece_task
identifier)
File "/media/disk1/fordata/web_server/project/p2p/1.0/df-client/component/httputil.py", line 86, in register
raise Exception("register result:%s" % result)
Exception: register result:None
[2018-05-15 10:29:33,434] INFO sign:83846-1526351373.410 lineno:599 : download fail and not back source
[2018-05-15 10:29:33,437] INFO sign:83846-1526351373.410 lineno:60 : local http result:success for path:/client/ and cost:0.001
[2018-05-15 10:29:33,437] INFO sign:83846-1526351373.410 lineno:94 : |9a945882a7508e18f42eacda5e8c71c7c6e34e799fcddb92d509e69c94ac9d47|http://download.inner/test/testfile.tgz|7430897691|0|192.168.93.14|UNKNOWN|0.026|
[2018-05-15 10:29:33,437] INFO sign:83846-1526351373.410 lineno:111 : download FAIL cost:0.028s length:7430897691 reason:1003

from dragonfly.

nonly avatar nonly commented on May 16, 2024

supernode有啥日志么

from dragonfly.

 avatar commented on May 16, 2024

我这边也出现了类似的问题, 提示register node失败, dfget的日志显示如下:
screenshot from 2018-06-25 19 34 06
是由在vendor/urllib3-1.22-py2.7.egg/urllib3/util/timeout.py的126行抛出的
@nonly 请问这是bug还是版本问题呢?

from dragonfly.

 avatar commented on May 16, 2024

将timeout=(2.0 5.0)更改成timeout=5后, node仍是register失败, 返回的code=607。 但是supernode没有任何异常日志输出
screenshot from 2018-06-25 19 49 43
607是代表什么意思呢? @nonly

from dragonfly.

nonly avatar nonly commented on May 16, 2024

api文档里有
Other cases could happen:

  1. the task id might duplicate with an existing one. 606
  2. the url might be invalid. 607
  3. the access requires authentication. 608 or 609

from dragonfly.

chenchaobing avatar chenchaobing commented on May 16, 2024

上面python的报错,应该是python版本的问题。
尝试执行以下命令,升级一下:
pip install -U requests

from dragonfly.

BlueBlue-Lee avatar BlueBlue-Lee commented on May 16, 2024

我也是一直遇到各种问题,请问你们开源的这个版本到底 production ready了吗? @allencloud @lowzj

from dragonfly.

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.