Report this

What is the reason for this report?

How to link my DB and my Laravel project 500 Error

Posted on July 27, 2021

Hello everybody

i have issue with my Laravel project .

now i have deploy every thing to online

the issue is when i am trying to get my API its giving me 500 Error and when i checked the log i got the below logs

[db] [2021-07-27 13:32:43] postgresql-12.service [14-1] pid=7152,user=[unknown],db=[unknown],app=[unknown],client=[local] LOG connection received: host=[local] [db] [2021-07-27 13:32:43] postgresql-12.service [15-1] pid=7152,user=postgres,db=db,app=[unknown],client=[local] LOG connection authorized: user=postgres database=db application_name=do-pruned [db] [2021-07-27 13:32:43] postgresql-12.service [16-1] pid=7152,user=postgres,db=db,app=do-pruned,client=[local] LOG disconnection: session time: 0:00:00.007 user=postgres database=db host=[local] [db] [2021-07-27 13:32:43] postgresql-12.service [14-1] pid=7153,user=[unknown],db=[unknown],app=[unknown],client=[local] LOG connection received: host=[local] [db] [2021-07-27 13:32:43] postgresql-12.service [15-1] pid=7153,user=postgres,db=defaultdb,app=[unknown],client=[local] LOG connection authorized: user=postgres database=defaultdb application_name=do-pruned [db] [2021-07-27 13:32:43] postgresql-12.service [16-1] pid=7153,user=postgres,db=defaultdb,app=do-pruned,client=[local] LOG disconnection: session time: 0:00:00.010 user=postgres database=defaultdb host=[local] [db] [2021-07-27 13:32:53] postgresql-12.service [14-1] pid=7165,user=[unknown],db=[unknown],app=[unknown],client=[local] LOG connection received: host=[local] [db] [2021-07-27 13:32:53] postgresql-12.service [15-1] pid=7165,user=postgres,db=db,app=[unknown],client=[local] LOG connection authorized: user=postgres database=db application_name=do-pruned [db] [2021-07-27 13:32:53] postgresql-12.service [16-1] pid=7165,user=postgres,db=db,app=do-pruned,client=[local] LOG disconnection: session time: 0:00:00.010 user=postgres database=db host=[local] [db] [2021-07-27 13:32:53] postgresql-12.service [14-1] pid=7166,user=[unknown],db=[unknown],app=[unknown],client=[local] LOG connection received: host=[local] [db] [2021-07-27 13:32:53] postgresql-12.service [15-1] pid=7166,user=postgres,db=defaultdb,app=[unknown],client=[local] LOG connection authorized: user=postgres database=defaultdb application_name=do-pruned [db] [2021-07-27 13:32:53] postgresql-12.service [16-1] pid=7166,user=postgres,db=defaultdb,app=do-pruned,client=[local] LOG disconnection: session time: 0:00:00.011 user=postgres database=defaultdb host=[local]

so what is the issue exactly i need to know as i can see its between the DB but i don’t know the solution

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.