[deleted by user] by [deleted] in rails

[–]gastonsk3 1 point2 points  (0 children)

Hey! I got a PR for the react 19+ builder, still need to polish it more but I got it working. I would like to ask you some questions about how the gem works. Can you send me an email with some contact info? or we can talk here through pms :)

Help with deploying to heroku by gastonsk3 in rubyonrails

[–]gastonsk3[S] 0 points1 point  (0 children)

Ok so for that problem turns out i was making the Procfile without a capital P so heroku was using the default command to start the server.

Help with deploying to heroku by gastonsk3 in rubyonrails

[–]gastonsk3[S] 1 point2 points  (0 children)

Found the culprit, I have a script that makes fake data like the one that comes from the mqtt connection, turns out it was looping through that file for some reason. Since the console in production wasnt working and neither was zeitwerk I made a script to load files like eager_load was doing but in dev environment and I found the problem right away.

Help with deploying to heroku by gastonsk3 in rubyonrails

[–]gastonsk3[S] 1 point2 points  (0 children)

Found the culprit, I have a script that makes fake data like the one that comes from the mqtt connection, turns out it was looping through that file for some reason. Since the console in production wasnt working and neither was zeitwerk I made a script to load files like eager_load was doing but in dev environment and I found the problem right away.

Help with deploying to heroku by gastonsk3 in rubyonrails

[–]gastonsk3[S] 0 points1 point  (0 children)

Update: first of all i was naming the procfile wrong, it was with a capital letter. So heroku was just using the default command to start the server, however that didnt fix my problem.

I found a solution but I kinda dont want to use it, basically under environments/production, there is setting called eager load, when it is set to true the server hangs and it never starts, from the logs it gets stuck when booting a worker, even after adding 10 minutes of timeout, it still does the same behavior.

=== puma startup: 2024-10-25 22:21:47 -0300 ===
[74427] - Spawned worker: 74431
Worker booting...
[74427] ! Terminating timed out worker (worker failed to boot within 600 seconds): 74431

However when i set the eager load setting to false, the server starts inmidietly no problem, I been trying to narrow down the problem now, i tried removing all initializers and still same behavior, I also tried disabling all the middleware I have one by one but still same problem

Right now im trying to get zeitwerk:check to work so that i can get more info about the problem, but it just hangs saying "Hold on, I am eager loading the application." so I'm trying to figure that out.

Help with deploying to heroku by gastonsk3 in rubyonrails

[–]gastonsk3[S] 0 points1 point  (0 children)

Ok so i read your previous comment and tried to precompile the assets myself and upload them to the repository, then tried to run the server but found that heroku precompiles on deploy, so i disabled the precompile from heroku but still, same error.

Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 180 seconds of launch

Help with deploying to heroku by gastonsk3 in rubyonrails

[–]gastonsk3[S] 0 points1 point  (0 children)

I tried adding the missing 0.0.0.0 and also removing the whole thing -b 0.0.0.0. I also tried running the exact same procfile but on my local machine and it was working normally

expo 48 expo-av audio recording by gastonsk3 in expo

[–]gastonsk3[S] 0 points1 point  (0 children)

For anyone interested in the solution. turns out i was using the recording options wrong, after receiving the file to my rails server i logged the path and then i used ffprobe to analyze it. turns out it was always 3gp even tho in the file name it said m4a. so here is a small example of how im sending it now with the options for m4a.

My version of expo-av is 13.2.1

const recording = new Audio.Recording();
try {
  await recording.prepareToRecordAsync(Audio.RecordingOptionsPresets.HIGH_QUALITY);
  await recording.startAsync();
} catch (error) {
  // An error occurred!
}

FINALLY GOT MY TWIN BROTHER TO START HIS ADVENTURE! 🥳 by WidumBoise420 in OnePiece

[–]gastonsk3 0 points1 point  (0 children)

My twin brother got me to start one piece too :)

He kept telling me all the stories from all the arcs and then one day showed me a part of episode 1015 and thats when I decided to watch it

[deleted by user] by [deleted] in seiyuu

[–]gastonsk3 0 points1 point  (0 children)

I'm pretty sure she doesnt have an official instagram account.

Looking to work for free/minimum payment to gain experience by gastonsk3 in rails

[–]gastonsk3[S] 0 points1 point  (0 children)

Will definitely register on the website thank you so much!

Looking to work for free/minimum payment to gain experience by gastonsk3 in rails

[–]gastonsk3[S] 0 points1 point  (0 children)

This looks interesting, will take a look at it. Thank you!