Diego Sayron
Diego Sayron
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
Thank you! To me, It seems that a reverse operation in traefik is not working properly... 179... Is the IP Address of my server, but I think that the egressing calling must be the same as the ingressing, such as "typeflow.briidge.com.br" instead of the IP Address. This behaviour can be the cause to S3 does not be reached. It''s just my guess. By the way, thank you for your effort with this issue. I'll try a setting bypassing the traefik.
19 replies
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
1) So that's an issue when trying to upload a file to the s3 bucket Actually, there are two errors: 1) When I try to upload files and 2) Request to OpenAI a text to speech resource. At typebot.io everything works fine! 2) Can you try with a AWS S3 bucket Yes. I have already tried as follows: - S3_BUCKET=typebot - S3_PORT=443 - S3_ENDPOINT=s3.us-east-1.amazonaws.com - S3_ACCESS_KEY=FAKE4K42GIIC35LZFAKE - S3_SECRET_KEY=FakeH+cd5SflEieuwGW2n2aj/U+Lc3vtGOwYQMFP - S3_SSL=true - S3_REGION=us-east-1 The CORS and Access Policy were applied. I can upload files via "aws cli" 3) and tell us what is the error in the server logs?
Here is the log error:
Something went wrong Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
code: 'INTERNAL_SERVER_ERROR',
name: 'TRPCError',
[cause]: Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '179.182.110.148',
port: 443
}
}
Here is the log error:
Something went wrong Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
code: 'INTERNAL_SERVER_ERROR',
name: 'TRPCError',
[cause]: Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '179.182.110.148',
port: 443
}
}
4) I'll try something related with traefik. If I get any progress, I'll post it here. Thank you!
19 replies
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
Of course! Thank you very much!
19 replies
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
Yes! Everything working fine with all other functions
19 replies
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
I could bet that the problem is behind the traefik, because I can't upload files as well (An error occured while uploading the file). By the way, I can create buckets remotely via mc command. When I try to upload a file, after this error, I can see a similar message (typebot's viewer container-logs) like:
Something went wrong Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
code: 'INTERNAL_SERVER_ERROR',
name: 'TRPCError',
[cause]: Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '179.182.110.148',
port: 443
}
}
Something went wrong Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
code: 'INTERNAL_SERVER_ERROR',
name: 'TRPCError',
[cause]: Error: connect ECONNREFUSED 179.182.110.148:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '179.182.110.148',
port: 443
}
}
19 replies
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
Thank you for your reply @CptPlastic. Builder: baptistearno/typebot-builder:latest Viewer: baptistearno/typebot-viewer:latest Postgres:13 Minio: quay.io/minio/minio (I have run the command that creates and sets the typebot bucket as public) Traefik: traefik:latest
19 replies
TTypebot
Created by Diego Sayron on 3/22/2024 in #help-and-questions
Connect ECONNREFUSED
Thank you for your attention, Baptiste. - NEXT_PUBLIC_VIEWER_URL=https://typechat.briidge.com.br I am running under traefik. Thank you in advance!
19 replies