Comments (9)
Sorry, I think we're going to need a reproduction to be able to help with this one.
from storage.
I'm having the same issue as @jornatf. The problem seems to be stated by Neon here: https://neon.tech/docs/connect/connectivity-issues.
Looking at vendor/laravel/framework/src/Illuminate/Database/Connectors/PostgresConnector.php
in my Laravel project, I was unable to find a method to set the options required (project=<endpoint_id>
) through database configuration (at config/database.php
.
I've tried to set my DATABASE_URL
env variable to the same pattern as mentioned in Neon's page:
postgres://<user>:<password>@my-endpoint-123456.us-east-2.aws.neon.tech/main?options=project%3Dmy-endpoint-123456
But still no success :(
from storage.
I have encountered the same issue when using Symfony. @tcc-sejohnson, do you still need a test repo?
from storage.
Hey @asispts! Yeah, unfortunately I know very little about PHP. There's not much I can do without a repro. I'll ask around and see who we have internally that might be able to help as well.
from storage.
@tcc-sejohnson, here is the test repository: https://github.com/pts-archive/vercel-postgres-test
Let me know if you have any questions.
from storage.
Yeah, this seems to be an issue with an outdated installation of libpq
. It looks like you're going to have to either upgrade to a version that supports SNI or adjust your environment variables to provide a connection string compatible with your Postgres library. Googling the error took me to a pretty helpful Neon document: https://neon.tech/docs/connect/connectivity-issues
That should give you all the information you need to get going with a legacy client.
from storage.
Adding the options
argument doesn't work, as @matheus-delazeri mentioned. Can Vercel team just upgrade the outdated libpq
? I'm uncertain whether Symfony will support the passed argument.
from storage.
Personally, I finally opted for another solution outside Vercel (MySQL) for my project...
from storage.
This seems to be a vercel-php issue: vercel-community/php#458, let's continue the discussion here
from storage.
Related Issues (20)
- How to delete an entry in Vercel KV? HOT 2
- Add the ability to get the latest updatedAt first in the https://vercel.com/docs/storage/vercel-blob/using-blob-sdk#list method HOT 2
- Cannot delete blob database HOT 2
- Is there a way to change timezone for a session HOT 1
- Vercel Blob: Access denied, please provide a valid token for this resource HOT 15
- Progress rate of upload to Blob HOT 2
- Support for Signed URLs in Blob HOT 2
- Getting a broken image file from Blob storage HOT 2
- How to get the url by pathname? HOT 4
- Kysely Migrations fail because VercelPostgresDialect fails to report that VercelPostgres does not support transactions HOT 2
- Cannot use @vercel/blob in Edge runtime HOT 4
- Intermittent Request Failures with Vercel Postgres and Next.js HOT 6
- Vercel KV Request vs Storage Limit
- insert query are cached HOT 5
- @vercel/kv Inconsistent increment behavior in Server Action HOT 5
- @vercel/postgres: Extended constant is not working HOT 5
- [vercel/blob] file should use the true mime type when uploading the file HOT 3
- Vercel KV not reachable HOT 2
- @vercel/postgres parameters bind error HOT 1
- Vercel Postgres Polling & Revalidation on Focus HOT 5
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 storage.