Comments (5)
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.
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.
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.
@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.
No, it's not expected to be required. Checking it in the request definitely makes sense!
from porter.
Related Issues (20)
- Can not sign up and login porter HOT 2
- New AWS EKS cluster provisioning failure HOT 1
- Connect to existing cluster HOT 3
- Fix To Error Messaging Around CLI & Auth (CloudFlare Zero Trust / Self Hosted)
- Deployments set to the incorrect namespace, default only HOT 3
- local docker throw error on apple silicon HOT 5
- CLI errors incorrectly piped to stdout instead of stderr HOT 3
- CLI outputs status text on `kubectl` command with -o json, breaking json parsing
- Request to list Porter as Paketo Buildpacks adopter HOT 1
- Cannot create first time run out of the box HOT 2
- Make install fails NPM dependencies install for local development
- Syntax error preventing migration HOT 3
- Deploy To Private K8s Cluster HOT 1
- Bare metal support
- Sweep: In /dashboard/src/main/Main.tsx convert Main to a functional component HOT 2
- Do not delete
- update readme.md HOT 2
- Migrate away from deprecated `heroku/buildpacks:20` and `heroku/builder-classic:22` CNB builder images HOT 7
- Way to generate an API token with cli/api? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porter.