Giter Site home page Giter Site logo

Comments (4)

nmarus avatar nmarus commented on August 12, 2024

I was able to fix this by changing the composer.json to:

{
"require": {
"fguillot/json-rpc": "v1.0.0"
}
}

from kanboard-import-trello.

daangemist avatar daangemist commented on August 12, 2024

Thanks for the feedback! I updated the json-rpc requirement in d71a1a6.

from kanboard-import-trello.

nipasoni avatar nipasoni commented on August 12, 2024

getting the following error when use getAllProjects() method
Uncaught JsonRPC\AccessDeniedException: Response: HTTP/1.0 401 Unauthorized in C:\xampp\htdocs\kanboard\vendor\fguillot\json-rpc\src\JsonRPC\Client.php:301 Stack trace: #0 C:\xampp\htdocs\kanboard\vendor\fguillot\json-rpc\src\JsonRPC\Client.php(323): JsonRPC\Client->handleHttpErrors(Array) #1 C:\xampp\htdocs\kanboard\vendor\fguillot\json-rpc\src\JsonRPC\Client.php(201): JsonRPC\Client->doRequest(Array) #2 C:\xampp\htdocs\kanboard\vendor\fguillot\json-rpc\src\JsonRPC\Client.php(137): JsonRPC\Client->execute('getVersion', Array) #3 C:\xampp\htdocs\kanboard\api1.php(9): JsonRPC\Client->__call('getVersion', Array) #4 {main} thrown in C:\xampp\htdocs\kanboard\vendor\fguillot\json-rpc\src\JsonRPC\Client.php on line 301

from kanboard-import-trello.

hugopeek avatar hugopeek commented on August 12, 2024

I'm having the same issue as nmarus, with json-rpc 1.0.0. I tried updating that dependency by running:

composer require fguillot/json-rpc @stable

But that didn't help.. The error:

PHP Notice:  date_default_timezone_set(): Timezone ID 'Etc/UTC
' is invalid in /var/www/html/vendor/kanboard-import-trello/util.php on line 31
PHP Warning:  fopen(http://localhost:8001/jsonrpc.php): failed to open stream: Connection refused in /var/www/html/vendor/kanboard-import-trello/vendor/fguillot/json-rpc/src/JsonRPC/HttpClient.php on line 249
PHP Fatal error:  Uncaught exception 'JsonRPC\Exception\ConnectionFailureException' with message 'Unable to establish a connection' in /var/www/html/vendor/kanboard-import-trello/vendor/fguillot/json-rpc/src/JsonRPC/HttpClient.php:252
Stack trace:
#0 /var/www/html/vendor/kanboard-import-trello/vendor/fguillot/json-rpc/src/JsonRPC/Client.php(191): JsonRPC\HttpClient->execute('{"jsonrpc":"2.0...')
#1 /var/www/html/vendor/kanboard-import-trello/vendor/fguillot/json-rpc/src/JsonRPC/Client.php(176): JsonRPC\Client->sendPayload('{"jsonrpc":"2.0...')
#2 /var/www/html/vendor/kanboard-import-trello/vendor/fguillot/json-rpc/src/JsonRPC/Client.php(126): JsonRPC\Client->execute('getAllProjects', Array)
#3 /var/www/html/vendor/kanboard-import-trello/import.php(58): JsonRPC\Client->__call('getAllProjects', Array)
#4 /var/www/html/vendor/kanboard-import-trello/import.php(58): JsonRPC\Client->getAllProjects()
#5 {main}
  thrown in /var/www/html/vendor/kanboard-import-trello/vendor/fguillot/json-rpc/src/JsonRPC/HttpClient.php on line 252

I'm running the command inside the vagrant box that comes with Kanboard. Will try to execute it from a different environment now to see what happens..

from kanboard-import-trello.

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.