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

Hey Xin,

the manifest.yml file is used when deploying the flux server to a cloud environment like Cloud Foundry. It doesn’t have any effect when running the flux server locally.

The same is true for the OAuth authentication using GitHub. It wasn’t built to be used locally. I am sure you could get that to work (with your own GitHub client ID and secret that is registered to point back to localhost), but since that is not an essential part of the flux infrastructure, I would not spend too much time to get that working locally… :-)

Cheers,
-Martin



> Am 11.05.2016 um 06:33 schrieb Xin Wei <xinwei3@xxxxxxxxxxxx>:
> 
> 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
> 
> _______________________________________________
> flux-dev mailing list
> flux-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/flux-dev



Back to the top