Git Product home page Git Product logo

fiware-object-storage's People

Contributors

arvidkahl avatar fmhc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

pharos3d nouvak

fiware-object-storage's Issues

no tenants available - whats wrong?

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)

Error: socket hang up

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/

A question about the URL

I have a couple of newbie questions here:

  1. What is the Poznan region URL? I see that you put the default (api2.xifi.imaginlab.fr) for Lannion2, but I am unable to check what is the url for poznan.
  2. Am I able to create a container with a method? For some reason I cannot create a container inside the cloud (from my community account).

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.