Questions tagged [laravel-vapor]

Laravel Vapor is a serverless deployment platform for Laravel, powered by AWS.

134 questions
10
votes
1 answer

Cannot modify a default parameter group for remaining connection slots on Amazon RDS

I keep getting: SQLSTATE[08006] [7] FATAL: remaining connection slots are reserved for non-replication superuser connections (SQL: select * from "sheeps" where "name" = foobar limit 1) So I thought of modifying the value in the paramaeter group…
user1469734
  • 851
  • 14
  • 50
  • 81
9
votes
2 answers

AWS: Specified ConcurrentExecutions for function decreases account's UnreservedConcurrentExecution below its minimum value of [10]

I keep getting this error when deploying a laravel project with GitHub actions ==> Updating Function Configurations Deployment Failed AWS: Specified ConcurrentExecutions for function decreases account's UnreservedConcurrentExecution…
8
votes
2 answers

Why is my AWS assumed role not authorised to perform cognito-idp:AdminGetUser?

My Laravel application calls the AdminGetUser endpoint. In the local environment, it successfully returns the resource. After deploying to a Vapor environment, it fails with the following error message: User:…
Tharaka Dilshan
  • 4,371
  • 3
  • 14
  • 28
5
votes
0 answers

How to have php-gd extension in Laravel Vapor?

I am trying to include php-gd extension in laravel vapor as assumingly in does not have out of the box. I need the extension for this package https://github.com/Maatwebsite/Laravel-Excel, which I use for csv exports. This is what vapor returns on…
5
votes
3 answers

The command "COMPOSER_MIRROR_PATH_REPOS=1 composer install" failed error when running laravel vapor deploy

I'm developing an application using the latest Laravel 7 along with deploying to AWS using Vapor. I'm on Windows 10 environment. When running the following command to deploy to staging vendor/bin/vapor deploy I get the following error. In…
mattwallace
  • 4,132
  • 6
  • 43
  • 77
4
votes
3 answers

I'm getting internal server error "or" endpoint request timed out using Laravel Vapor

I'm using Laravel Vapor for a project and I started getting this error today. It seems to happen randomly in different pages, it first take a minute trying to load and then I get one of this errors. {"message": "Internal server error"} {"message":…
Victor
  • 133
  • 1
  • 6
4
votes
1 answer

Why doesn't Laravel Vapor inject ASSET_URL in my build step?

I am literally copying what the Laravel Vapor documentation states but to no avail. So to keep it short, I am unable to access the ASSET_URL environment variable that Taylor says is injected during the build step. Now note, the same environment…
Ali Gajani
  • 14,762
  • 12
  • 59
  • 100
4
votes
5 answers

How can I get the IP of an HTTP request in a Laravel Vapor application?

I recently moved a Laravel app from a server to Vapor. This app relies on logging request IP addresses using Request::ip(), but since switching to Vapor, all IPs are logged as 127.0.0.1. I have looked over the Trusted Proxy docs at…
Nathan
  • 97
  • 2
  • 9
3
votes
0 answers

Validation file extensions

I am working on a Laravel/VueJS Serverless project. I am trying to whitelist/blacklist some file extensions for my AWS S3 bucket to avoid people uploading files I don't want. I use Vapor in VueJS to temporary upload files and get a key that I send…
3
votes
1 answer

Issue with running Puppeteer and Browsershot in Laravel Vapor Docker runtime

I am trying to run Puppeteer and Spatie/Browsershot in Laravel Vapor Docker Runtime but getting following error type: 'error', message: 'socket hang up', error: Error: socket hang up at connResetException (internal/errors.js:639:14) at…
3
votes
1 answer

How to setup a daemon on the Laravel Vapor platform?

So, I have a node.js script which I run as a daemon on Laravel Forge. Now, I'd like to migrate it over to Laravel Vapor platform. Is there any way to do this?
Anonymous
  • 1,658
  • 2
  • 14
  • 19
3
votes
1 answer

Installing Imagick on php8 with Docker for Laravel Vapor

I see some posts to get Imagick working on php 8 using a Docker image with a commit from the Imagick repo. Imagick is not officially php 8 ready as it doesn't pass other tests but does work on php 8 as is. Need a pointer to get this working on my…
BobB
  • 750
  • 1
  • 9
  • 22
3
votes
0 answers

Connect to a AWS RDS Proxy in Laravel

I have a Laravel application deployed to AWS Lambda using Laravel Vapor. I want to use RDS Proxy instead of directly connecting to the RDS instance. Laravel Vapor lets you manage a database and proxy from the dashboard and CLI. But, I am not using…
Vikas Roy
  • 854
  • 2
  • 10
  • 25
3
votes
0 answers

Cloudflare HTTP 502 every X clicks

I wanted to give Laravel Vapor a try and deployed a simple project on a staging environment. Now I'm getting a HTTP 502 error every second or third request. With some URLs it seems to occur more often than with others but I can't find any problem…
Pelle
  • 370
  • 2
  • 11
3
votes
3 answers

Vapor - How to increase Size of folder for deploying to staging and production?

I try to deploy our code to staging I was found an error message something like this. Compressed application is greater than 45MB. Your application is 69 MB. Whoops! There were some problems with your request. Vapor applications may not have more…
1
2 3
8 9