Top

I can't connect on sandbox server

Comments

12 comments

  • Vincent BAILLEAU

    Hi Quentin,

    Did you deploy your Application ?

    Regards

    Vincent

    0
    Comment actions Permalink
  • Quentin

    Hi Vincent,
    Yes, the application works and build sucess.

    Quentin

    0
    Comment actions Permalink
  • Vincent BAILLEAU

    Hi Quentin,

    did you try with some of our starterkit (github) with the same login and appid ?

    Vincent

    0
    Comment actions Permalink
  • Vincent BERDER

    Hello Quentin,

     

    did you used the SDK in a corporate network ? And then don't you have to use a proxy to go outside ?

     

    Regards,

    Vincent.

    0
    Comment actions Permalink
  • Quentin

    Hi Vincent BAILLEAU ,

    Yes, i try with NodeJS starterkit and that's works good, (retry this day, that's ok) but on my own app, 

    after "event - STATUS_EVENT : status | connecting", i see : "event - STATUS_EVENT : status | reconnecting"

    Without error or others messages..

     

    Quentin

    0
    Comment actions Permalink
  • Quentin

    Hi Vincent BERDER 

    I try the sdk on corporate network and on home, same issu..

    I don't understand what, i try remake project but nothing, same issu

     

    0
    Comment actions Permalink
  • Vincent BERDER

    Ok, so could you please activate full logs, so maybe we can see what is going on.

    in the options of the SDK :

    "logs": {
    "enableConsoleLogs": true, // Default: true
    "enableFileLogs": true, // Default: false
    "color": true,
    "level": 'debug',
    "customLabel": "customApp",
    "system-dev": {
    "internals": true,
    "http": true,
    }, // */
    "file": {
    "path": 'c:/temp/', // Default path used
    "customFileName": "R-SDK-Node-Sample2",
    //"level": 'info', // Default log level used
    "zippedArchive" : false/*,
    "maxSize" : '10m',
    "maxFiles" : 10 // */
    }
    },
    0
    Comment actions Permalink
  • Quentin

    I put options (without logs file) on my app, and an error come on rainbow-sdk: 

    0
    Comment actions Permalink
  • Vincent BERDER

    Hi Quentin,

     

    I do not see what is wrong. Note that the error about the listenerCount of undefined means that it did not found the object from :

    let EventEmitter = require("events").EventEmitter;

    This is realy strange.

    Is your package.json well filled ? did you run npm install after updatind rainbow node sdk ?

    Which version of node do you used ?

    0
    Comment actions Permalink
  • Quentin

    Hi Vincent,

    thanks for your reply

    Yes my package.json filled. And for sure, i run 'npm install' after add rainbow node sdk to package.json (v 1.52.0)

    Node is in 10.15.1 LTS version

    0
    Comment actions Permalink
  • Vincent BERDER

    Hello,

     

    Did you found a solution ?

    Some times when a lib is not found at run time it comes from the packages-lock.json.

     

    Could you try to move from this file from your project folder, and do a new :

    npm i

     

    Thank you,

    Vincent.

    0
    Comment actions Permalink
  • Quentin

    Hi Vincent,

    I have a react native app for front and nodejs for back-end now and

    I try to make a custom bridge between nodejs and my react native app, and that's works good.

     

    Thank you,

    Quentin.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message