R
Railway10mo ago
Jack

Formbricks Template error (upon redeployment w/ SMTP setup)

error getting environment TypeError: fetch failed

at Object.fetch (node:internal/deps/undici/undici:11576:11)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

cause: Error: connect ECONNREFUSED ::1:3000

at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)

at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {

errno: -111,

code: 'ECONNREFUSED',

syscall: 'connect',

address: '::1',

port: 3000

}

}

Failed to get first environment of user; signing out
error getting environment TypeError: fetch failed

at Object.fetch (node:internal/deps/undici/undici:11576:11)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

cause: Error: connect ECONNREFUSED ::1:3000

at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)

at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {

errno: -111,

code: 'ECONNREFUSED',

syscall: 'connect',

address: '::1',

port: 3000

}

}

Failed to get first environment of user; signing out
Solution:
resolved in dms, template has been updated and all should be good to go
Jump to solution
8 Replies
Percy
Percy10mo ago
Project ID: N/A
Jack
Jack10mo ago
@Brody
Brody
Brody10mo ago
is this an connection error from formbricks trying to connect to Google's SMTP server?
Jack
Jack10mo ago
Using Microsoft 365 SMTP, however it should still shouldn't present an error in this situation, no?
Brody
Brody10mo ago
I've seen a lot of issues with people trying to use non business class email services on railway, but I'll give it a look
Jack
Jack10mo ago
Okay, thank you! I could even send you the SMTP credentials to mess around with and see if you can reproduce the error if you'd like or if it would make things easier.
Brody
Brody10mo ago
that would be great
Solution
Brody
Brody10mo ago
resolved in dms, template has been updated and all should be good to go