arvidkahl / fiware-object-storage Goto Github PK
View Code? Open in Web Editor NEWConnect to FIWARE Object Storage GE from NodeJS
License: MIT License
Connect to FIWARE Object Storage GE from NodeJS
License: MIT License
When using the Object Storage GE node.js connector implementation from https://github.com/arvidkahl/fiware-object-storage we encounter the problem "no tenants available". We tested with two different community accounts where we first set up an object container within the fiware cloud.
We are able to Receive an Auth Token and get a connection established message, but then we do not get the tenant ID i think.
this is our connection code
var fiwareObjectStorageConfig = {
auth : conf.fiware.auth_url, // IP of the Auth Services, likely "cloud.lab.fi-ware.org"
url : conf.fiware.object_storage_url, // IP of the Object Storage GE -> "cloud.lab.fi-ware.org"
user : conf.fiware.user, // Your FIWARE account email
password : conf.fiware.password, // Your FIWARE account password.. i know.. no comment.
container : conf.fiware.container // Whatever container you want to connect to
};
var fiwareObjectStorage = require('fiware-object-storage');
fios = fiwareObjectStorage(fiwareObjectStorageConfig);
fios.connectToObjectStorage(function() {
console.log(fios.getFileList());
});
we would be very happy if you could tell us what is wrong here (and/or push your newest version of the code)
Hi,
I have an error while getting file list in a container.
This is the response after perform the request:
-------------------- listResponse.body
undefined
FIWARE: Error getting file list. Error: socket hang up
The container exists.
Accessing via API I could receive my file list.
I assume there is an error in the library.
Log:
FIWARE: Connecting to FIWARE Object Storage
FIWARE: Received Auth Token. Expires 2015-08-05T11:00:32Z
FIWARE: Connected as "myemail"
FIWARE: Received Tenants.
FIWARE: Selecting Tenant: "mytenantId"
FIWARE: Listing Files.
"mytenantId"
FYI: There is an error in stackoverflow too: http://stackoverflow.com/questions/31571651/fiware-object-storage-no-tenants-available/
Hi,
tried to use your library,but it didn't seem to work, so I forked and ended up rewriting the library from the ground up taking example from the newest FIWARE object storage python code example.
I'd be thankful if you could edit the README and add that this module is out-of-date and link my repo.
https://github.com/renarsvilnis/fiware-object-storage-ge
I have a couple of newbie questions here:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.