Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [flux-dev] Problem encountered while running flux

I encountered several other problems and hope that maybe they are somehow related and can be solved together.

First I tried the github Authentication, I set the node.server/manifest.yml as :
---
applications:
- name: flux
  memory: 512M
  host: flux
  services:
  - flux-rabbit-test
  env:
    FLUX_GITHUB_CLIENT_ID: b2d5702aab9d7cb1ee36
    FLUX_GITHUB_CLIENT_SECRET: c5f1b2642b65192ae2a5e3743e0063564871a7aa

But the node server still says :

User Authentication is DISABLED

set GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET env variables to enable

I don't know why does this happen or how to solve it. I tried to manually set the id and secret in github-secret.js and it worked. 

The second problem is when I tried to set up the the cloudfoundry and I added these arguments :

-Dflux-eclipse-editor-connect=true -Dflux.user.name=BtXin

-Dflux.user.token= dfa9403bd64e43198953015547823da7472119c7

However, the following error message popped up:

Error: Could not find or load main class dfa9403bd64e43198953015547823da7472119c7

I tried with : 

-Dflux.user.token= "dfa9403bd64e43198953015547823da7472119c7"

the same error message occurred. 

Anyone knows how to solve these errors or have any idea on how to set the configuration right?

Any help would be appreciated.


Sincerely

Xin Wei


On Tue, May 10, 2016 at 4:23 PM, Xin Wei <xinwei3@xxxxxxxxxxxx> wrote:
Hi,
    When I was running flux, I encountered a problem. I ran flux as an Eclipse application and I created a test project inside the eclipse, then I connected it to flux. However, when I opened localhost:3000, the flux UI should just fine, but I cannot see my local project under the directory. And when I tried to create a new folder from the browser editor, the node server gave a 404 error. 
   Any idea how would this happen?
   I enabled the -Dflux-eclipse-editor-connect=true to allow live edit in the configuration.

Sincerely
Xin Wei


Back to the top