Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to run node example in complete databox environment #2

Open
bafu opened this issue Feb 18, 2019 · 2 comments
Open

Fail to run node example in complete databox environment #2

bafu opened this issue Feb 18, 2019 · 2 comments

Comments

@bafu
Copy link

bafu commented Feb 18, 2019

Steps to Reproduce

  1. Start Databox v0.5.0

  2. Upload driver and app manifests via web UI

  3. Install driver and app via web UI

    These messages will be shown on terminal:

    / # container-manager   : c2019-02-17T03:03:11.099578711Z [INFO]2019/02/17 03:03:11 Installing databox-driver-helloworld-node
    container-manager       : S2019-02-17T03:03:23.525096381Z makeArbiterPostRequest /token Error::  unauthorized
    container-manager       : �2019-02-17T03:03:23.525759715Z [WARNING]2019/02/17 03:03:23 [populateDataSources] GetStoreDataSourceCatalogue tcp://datacontainer-manager     : box-driver-helloworld-node-core-store:5555 500: 
    container-manager       : C2019-02-17T03:03:26.291227652Z serviceCreateResponse.Warnings:: []
    container-manager       : o2019-02-17T03:03:26.318986616Z [INFO]2019/02/17 03:03:26 Successfully installed databox-driver-helloworld-node
    
    container-manager       : `2019-02-17T03:09:33.180847236Z [INFO]2019/02/17 03:09:33 Installing databox-app-helloworld-node
    container-manager       : C2019-02-17T03:09:39.902581512Z serviceCreateResponse.Warnings:: []
    container-manager       : l2019-02-17T03:09:39.915470209Z [INFO]2019/02/17 03:09:39 Successfully installed databox-app-helloworld-node
    
  4. Go to “My Apps” of web UI, and click drivers and apps

    These messages will be shown on web UI:

    # https://127.0.0.1/core-ui/ui/view?ui=databox-driver-helloworld-node
    Get https://databox-driver-helloworld-node:8080/ui: EOF
    
    # https://127.0.0.1/core-ui/ui/view?ui=databox-app-helloworld-node
    Get https://databox-app-helloworld-node:8080/ui: dial tcp 10.0.0.232:8080: connect: connection refused
    

    databox-node-example-ui-does-not-show

Environment

  • databox: v0.5.0
  • databox-quickstart: commit a132ee5
@bafu
Copy link
Author

bafu commented Mar 4, 2019

In the driver example, the code path goes to the DATABOX_TESTING branch.

After set DATABOX_TESTING=false forcibly

  1. The driver web UI can be shown
  2. I can set value to store via the input component

In the app example, the code path goes to the DATABOX_TESTING branch.

After set DATABOX_TESTING=false forcibly

  1. The app web UI can be shown
  2. After clicked click here to actuate, the value set by driver doesn not show on UI. Open Chrome's developer tools, the web UI is blocking with the message calling https://127.0.0.1/databox-app-helloworld-node/ui/actuate

@Toshbrown
Copy link
Contributor

Hi,

Please update to 0.5.2. 0.5.0 is very old.

Cheers

Tosh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants