Comments (4)
I was able to fix this by changing the composer.json to:
{
"require": {
"fguillot/json-rpc": "v1.0.0"
}
}
from kanboard-import-trello.
Thanks for the feedback! I updated the json-rpc requirement in d71a1a6.
from kanboard-import-trello.
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.
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)
- Allow skipping certificate validation HOT 3
- Malformed payload when listing projects HOT 6
- Imported board has no users HOT 3
- HTTP request failed! HTTP/1.1 426 Upgrade Required HOT 2
- Does not work on newest version HOT 1
- PHP Fatal error: Call to undefined function curl_init() HOT 4
- Documentation: How to get the Trello Token ? HOT 2
- autoload.php error HOT 2
- If kanboard is on a commercial host HOT 1
- Empty lists HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kanboard-import-trello.