DEV Community

Cover image for 🤦‍♂️ Weekly Fail (43/2020)
Trevor Fayas for Kontent.ai

Posted on

2 1

🤦‍♂️ Weekly Fail (43/2020)

There's always a battle between System Admins who want everything locked down, and Devs who want everything open. One fine day (shortly before launch of course) , our client was having their environment set up for Kentico MVC. We finally had it all going, the database copied and Kentico set up, but we were running into a weird issue. The Contact form was acting funny and not submitting on the new live environment. There was no event log errors to go off of, it just didn't work. After digging through the component source, finally we realized what the issue was: They disabled outbound internet connection, which means ReCaptcha couldn't verify the result with Google, and it was silently blowing up. The client had mentioned earlier if it was okay to block outbound traffic, it slipped my mind. Had I thought further on the implications of this, I probably wouldn't have spun my wheels for the couple hours.

Lesson learned: There is a delicate balance of securing a server, and constricting the life out of it. You should definitely weight out the risks and benefits, and be aware that if they want it locked down, you'll need to be fully aware of what firewall rules, ports, and other things you'll need for things to work properly.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs