Giter Club home page Giter Club logo

Comments (18)

nikku avatar nikku commented on August 20, 2024 1

BASE_URL should not end with /board I believe.

from wuffle.

nikku avatar nikku commented on August 20, 2024

The preferred way of setting up the application is via a local development setup. The docker images are meant for production use only.

Did you configure your app providing all required environment variables?

from wuffle.

retog avatar retog commented on August 20, 2024

Thank @nikku,I forgot the BASE_URL variable, after adding I'm no longer redirected to localhost. However I still se no card on the board.

from wuffle.

nikku avatar nikku commented on August 20, 2024

Which exact steps did you undertake? How did you configure the board?

from wuffle.

joannenolan-sky avatar joannenolan-sky commented on August 20, 2024

This could be because you have not updated your User authorization callback URL on the app setting page(https://github.com/settings/apps/<app-name>). It should be <BASE_URL>/wuffle/login/callback. It is probably still set to http://localhost:3000/wuffle/login/callback which it is set to as a default.

from wuffle.

nikku avatar nikku commented on August 20, 2024

The setup instructions are not great. Bear with me, as I think about how to improve it.

😬

from wuffle.

retog avatar retog commented on August 20, 2024

What I've basically done is adding and fixing env-variables till I no longer got an error message....

I ended up with the following configuration in docker-compose (the first part is traefik sepcific which I use for SSL termination):

wuffle:
    image: nrehwaldt/wuffle
    labels:
      traefik.frontend.rule: Host:wuffle.factsmission.org
      traefik.frontend.entryPoints: https
      traefik.port: '3000'
      traefik.enable: 'true'
    volumes:
      - ./wuffle/wuffle.config.js:/app/packages/app/wuffle.config.js # this didn't work, so I added config as variable below
    environment:
      APP_ID: 35560 
      GITHUB_CLIENT_ID: Iv1.026bc702254c070f
      GITHUB_CLIENT_SECRET: *****
      WEBHOOK_SECRET: sameAsEnteredIn AppConfig
      PRIVATE_KEY: LS0tL......WS0tLS0tCg==
      SESSION_SECRET: justWroteSomething
      BASE_URL: https://wuffle.factsmission.org/board
      BOARD_CONFIG: '{"columns":[{"name":"Inbox","label":null},{"name":"Backlog","label":"backlog"},{"name":"Ready","label":"ready"},{"name":"In Progress","label":"in progress"},{"name":"Needs Review","label":"needs review"},{"name":"Done","label":null,"closed":true}],"repositories":["retog/repo1", "org/repo2"]}'
    restart: unless-stopped

This is some of the config in GitHub:

image

from wuffle.

nikku avatar nikku commented on August 20, 2024

Good stuff.

from wuffle.

retog avatar retog commented on August 20, 2024

Change the BASE_URL to https://wuffle.factsmission.org/ - but this doesn't seem to have changed anything,

from wuffle.

nikku avatar nikku commented on August 20, 2024

Well, the login does not seem to work at the moment. This is related to the BASE_URL not properly being set up or some other configuration issue.

from wuffle.

joannenolan-sky avatar joannenolan-sky commented on August 20, 2024

I would try removing the forward slash at the end.

Also I don't see a WEBHOOK_PROXY_URL in you environment variables

from wuffle.

nikku avatar nikku commented on August 20, 2024

WEBHOOK_PROXY_URL should not be set in production. It is required for development mode, only.

from wuffle.

retog avatar retog commented on August 20, 2024

YES!!!! Removing the trailing slash from BASE_URL fixed it!

The only remaining thing is that I only see issues of first repository specified in the array for the repositories key in the BOARD_CONFIG json.

Thanks a lot for your help!

from wuffle.

nikku avatar nikku commented on August 20, 2024

What do your logs say? The app should give you helpful debug output.

from wuffle.

nikku avatar nikku commented on August 20, 2024

I've improved the run validation via 9866414. It will now capture miss-configured or missing BASE_URL configs.

image

from wuffle.

nikku avatar nikku commented on August 20, 2024

Regarding your last comment, you must install your app on all organizations / enable it for all your repositories in order to see stuff on the board.

from wuffle.

nikku avatar nikku commented on August 20, 2024

Created some reasonable setup instructions that should prevent this issue from happening again.

I've fixed a few quirks on the way, too 🚲.

from wuffle.

retog avatar retog commented on August 20, 2024

YES

What do your logs say? The app should give you helpful debug output.

The log is somehow cluttered with lines like these:


17:03:19.738Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 0.98 ms (id=83901d09-1854-4e70-b8e1-a1afd2978a8a)


17:03:19.837Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.23 ms (id=2b41cbcc-9bad-4595-8cbe-b19042a44b32)


17:03:20.740Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.08 ms (id=050532c0-4cef-40c3-a225-6add78bfc912)


17:03:20.780Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.29 ms (id=6bffb249-1947-49a6-89a1-1858b8285796)


17:03:22.739Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 2.30 ms (id=d1de582e-6415-49fd-9788-c5850ce676c5)


17:03:22.847Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.59 ms (id=856fe100-4255-4f46-aa43-54db6ddeb42f)


17:03:23.741Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.56 ms (id=501fdeef-b02e-4d34-bea5-ad284a525049)


17:03:23.778Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.43 ms (id=8bab9f99-fba1-4975-993d-48d633479d2b)


17:03:25.741Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.16 ms (id=8be89bd5-4246-46fa-b6a3-f07c61ab6866)


17:03:25.848Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 1.10 ms (id=af7b1afa-865c-45fd-92fa-ecc0196dcbdf)


17:03:26.742Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 0.89 ms (id=56c814d8-a5cc-41a9-868d-2b085c49e93d)


17:03:26.786Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 2.90 ms (id=af0ed47b-7e3a-4956-ab23-9640afb3d579)


17:03:28.737Z  INFO http: GET /wuffle/board/updates?cursor=7841334 304 - 0.90 ms (id=b5f7b9a1-eb77-4d68-b4ec-08d587983909)

from wuffle.

Related Issues (20)

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.