lunipaws

lunipaws

while setting up my development enviroment I encountered an issue that I just haven’t been able to resolve

after running mix phx.gen.cert localhost 127.0.0.1 ::1 and starting the server with mix start I encountered that when I connect to https://localhost:3000 I recieve an SSL_ERROR_RX_RECORD_TOO_LONG error from the browser, the server doesn’t log anything. Any tips or solutions for troubleshooting this?

Showing Posts 1 to 3

netoum

netoum

Welcome to Elixir Forum @lunipaws , I hope you will get the help you need.

Did you update your config with the the correct endpoint ? when running mix phx.gen.cert you should see something like please update your HTTPS Endpoint configuration in config/dev.exs ...

You also said mix start, did you mean mix phx.server ?

Any additional info would help debug it

lunipaws

lunipaws OP

mix start was an alias to mix phx.server, I looked a bit more into it and it ended up being an issue caused by how the network of the place I work at was setup, in short we have several networks and I was connected to one that had a lot of restrictions when it comes to accesing internal hosts. So it ended up not being an elixir related problem, sorry if I occupied your time !

netoum

netoum

Don’t be sorry :slight_smile: happy that you could solve it.
Thanks for explaining your solution, it is very useful to all for future reference.

— All posts loaded —

Where Next? Top

Trending in Troubleshooting Top

edvardo1
Hello, I’ve found an interesting non-backwards-compatible change in Elixir 1.20. For context: There exists a project called PolyHok, whi...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews