Giter Club home page Giter Club logo

ali-opensearch-v3's People

Contributors

onlyjq04 avatar

Stargazers

 avatar

Watchers

 avatar

ali-opensearch-v3's Issues

Signature verification failed.

调用search(requestPath, queryBuilder)的时候, OPENSEARCH反馈

"errors": [
{
"code": 4003,
"message": "Signature verification failed."
}
]

把代码拉下拉, 跑了一下NPM RUN TEST, 报如下错误
Test Publisher
√ should build the right publish content body

Test query builder
√ Tests query from the ali doc
√ Tests empty query

5 passing (45ms)
1 failing

  1. Header tests
    Get header
    should return the right auth header:

    AssertionError: expected '6c7HriYKxgfuRqXvmqQ9WAPclcA=' to equal 'EG+VyxqNhSsPgdaFYfl5Wd7Pulo='

    • expected - actual

    -6c7HriYKxgfuRqXvmqQ9WAPclcA=
    +EG+VyxqNhSsPgdaFYfl5Wd7Pulo=

    at Context.done (test\Header.spec.ts:19:52)
    at callFnAsync (node_modules_mocha@5.2.0@mocha\lib\runnable.js:400:21)
    at Test.Runnable.run (node_modules_mocha@5.2.0@mocha\lib\runnable.js:342:7)
    at Runner.runTest (node_modules_mocha@5.2.0@mocha\lib\runner.js:455:10)
    at D:\workspace\wnj-server\ali-opensearch-v3-master\node_modules_mocha@5.2.0@mocha\lib\runner.js:573:12
    at next (node_modules_mocha@5.2.0@mocha\lib\runner.js:369:14)
    at D:\workspace\wnj-server\ali-opensearch-v3-master\node_modules_mocha@5.2.0@mocha\lib\runner.js:379:7
    at next (node_modules_mocha@5.2.0@mocha\lib\runner.js:303:14)
    at Immediate. (node_modules_mocha@5.2.0@mocha\lib\runner.js:347:5)


Windows 7 + Node 8.9.3

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.