My springboot container sometime can not connect to Postgresql through SSL
Anonymous
HOBBYOP

6 months ago

everything good until now, sometime it connect sometime not. i am sure not my code, i think in pool connection or Postgresql container or SSL. please help me, thank!

Attachments

Solved$10 Bounty

Pinned Solution

Anonymous
HOBBYOP

6 months ago

thank budy i finaly found my answer, different project can not connec throught Interal URL

7 Replies

Railway
BOT

6 months ago


6 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 6 months ago


Anonymous
HOBBYOP

6 months ago

io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer

2025-08-30T04:53:49.138Z ERROR 1 --- [tor-tcp-epoll-8] a.w.r.e.AbstractErrorWebExceptionHandler : [1966b00d-38] 500 Server Error for HTTP POST "/package/updatenotcheck"

*__checkpoint ⇢ org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter [DefaultWebFilterChain]

org.springframework.dao.DataAccessResourceFailureException: Failed to obtain R2DBC Connection

i added more some logs i think proxy not stable so it can not receive IP address of postgresql. my container connect by public address because i dnot know why internal address of postgresql not working.


irazvan2745
FREE

6 months ago

Is the postgres database serverless? Also try using the public url instead of the internal one


Anonymous
HOBBYOP

6 months ago

thank. some how it fixed now, and one question i have 2 project 1 contain springboot and 1 contain posstgresql, so my springboot can not connect to postgresql through Internal URL, so to connect through internal must same project?


irazvan2745
FREE

6 months ago

Are you using the db when building?


Anonymous
HOBBYOP

6 months ago

thank budy i finaly found my answer, different project can not connec throught Interal URL


irazvan2745
FREE

6 months ago

Hey, can you mark my response as the solution


Status changed to Solved noahd 6 months ago


Loading...