Giter Club home page Giter Club logo

Comments (5)

dustinblackman avatar dustinblackman commented on June 2, 2024

Ah, the issue is that config WELCOME_FORM_WEBHOOK is empty by default, and is not being checked before attempting a request.

Lazy workaround is setting -e WELCOME_FORM_WEBHOOK="https://httpbin.org/get" when running with docker.

from porter.

dustinblackman avatar dustinblackman commented on June 2, 2024

This issue doesn't occur on master branch in the dev environments, but it does with the latest v0.36.0 docker image.

from porter.

abelanger5 avatar abelanger5 commented on June 2, 2024

Hey @dustinblackman, thanks for the bug report! Is WELCOME_FORM_WEBHOOK set in your ./docker/.env file? I'm not quite sure why this wouldn't be impacting the docker dev environments as well.

That said, the easiest fix is probably to check for the webhook in the handler, as you mentioned. Let me know if you'd like to open up a PR, otherwise we'll pick this up for a patch release 👍

from porter.

dustinblackman avatar dustinblackman commented on June 2, 2024

@abelanger5 Ah okay! So I believe it's missing from the docs, which is why I initially had it missing. Not sure why it's acting different between the two environments.

I'd be happy to PR a fix, but depends on what the expectations are. Is WELCOME_FORM_WEBHOOK expected to be a required variable? If yes I can update docs and env setups. if no I can check if it exists first so the request doesn't fail.

from porter.

abelanger5 avatar abelanger5 commented on June 2, 2024

No, it's not expected to be required. Checking it in the request definitely makes sense!

from porter.

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.