Ticket: installation
@zac_goose Just created a ticket
Question: Error when trying to remove an account that "needs to be reconnected". when you click on the menu button it takes you to the reconnection screen, so if you do not have permission for that account it crashes postiz
Attempted: restarting stack (docker) starts again fine, can reproduce with above steps.
Working On: intergrations
Take it from here @Postiz
Question: Error when trying to remove an account that "needs to be reconnected". when you click on the menu button it takes you to the reconnection screen, so if you do not have permission for that account it crashes postiz
Attempted: restarting stack (docker) starts again fine, can reproduce with above steps.
Working On: intergrations
Take it from here @Postiz
9 Replies
2024-10-28T15:22:56.980335048Z | error={"message":"Unsupported get request. Object with ID 'undefined' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api","type":"GraphMethodException","code":100,"error_subcode":33,"fbtrace_id":"AHd4t95dSsV55YGHAQXlgzl"}
2024-10-28T15:22:56.982031453Z node:internal/process/promises:389
2024-10-28T15:22:56.982042946Z new UnhandledPromiseRejection(reason);
2024-10-28T15:22:56.982045200Z ^
2024-10-28T15:22:56.982046763Z
2024-10-28T15:22:56.982048366Z UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<BadBody>".
2024-10-28T15:22:56.982050710Z at throwUnhandledRejectionsMode (node:internal/process/promises:389:7)
2024-10-28T15:22:56.982052233Z at processPromiseRejections (node:internal/process/promises:470:17)
2024-10-28T15:22:56.982053696Z at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
2024-10-28T15:22:56.982055099Z code: 'ERR_UNHANDLED_REJECTION'
2024-10-28T15:22:56.982056411Z }
2024-10-28T15:22:56.982057683Z
2024-10-28T15:22:56.982058996Z Node.js v20.17.0
2024-10-28T15:22:56.998860542Z TypeError: fetch failed
2024-10-28T15:22:56.998875119Z at node:internal/deps/undici/undici:13178:13
2024-10-28T15:22:56.998877934Z at async /app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:27862
2024-10-28T15:22:56.998880169Z at async is (/app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:26927) {
2024-10-28T15:22:56.998882062Z digest: '1128623668',
I'm heading out so won't be back for a day.
Oh, let me check that asap
But how can reconnection doesn't work this is weird
which platform are you using?
Let me grab the some more host logs, it’s running in the docker stack
2024-10-28T15:22:56.982031453Z node:internal/process/promises:389
2024-10-28T15:22:56.982042946Z new UnhandledPromiseRejection(reason);
2024-10-28T15:22:56.982045200Z ^
2024-10-28T15:22:56.982046763Z
2024-10-28T15:22:56.982048366Z UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<BadBody>".
2024-10-28T15:22:56.982050710Z at throwUnhandledRejectionsMode (node:internal/process/promises:389:7)
2024-10-28T15:22:56.982052233Z at processPromiseRejections (node:internal/process/promises:470:17)
2024-10-28T15:22:56.982053696Z at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
2024-10-28T15:22:56.982055099Z code: 'ERR_UNHANDLED_REJECTION'
2024-10-28T15:22:56.982056411Z }
2024-10-28T15:22:56.982058996Z Node.js v20.17.0
2024-10-28T15:22:56.998860542Z TypeError: fetch failed
2024-10-28T15:22:56.998875119Z at node:internal/deps/undici/undici:13178:13
2024-10-28T15:22:56.998877934Z at async /app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:27862
2024-10-28T15:22:56.998880169Z at async is (/app/dist/apps/frontend/.next/server/app/(site)/integrations/social/[provider]/continue/page.js:3:26927) {
2024-10-28T15:22:56.998882062Z digest: '1128623668',
2024-10-28T15:22:56.998883805Z [cause]: SocketError: other side closed
2024-10-28T15:22:56.998885530Z at Socket.<anonymous> (node:internal/deps/undici/undici:6020:28)
2024-10-28T15:22:56.998888004Z at Socket.emit (node:events:531:35)
2024-10-28T15:22:56.998889838Z at endReadableNT (node:internal/streams/readable:1696:12)
2024-10-28T15:22:56.998891601Z at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
2024-10-28T15:22:56.998893374Z code: 'UND_ERR_SOCKET',
2024-10-28T15:22:56.998902792Z socket: {
2024-10-28T15:22:56.998904545Z localAddress: '::1',
2024-10-28T15:22:56.998906198Z localPort: 46210,
2024-10-28T15:22:56.998907791Z remoteAddress: '::1',
2024-10-28T15:22:56.998909415Z remotePort: 3000,
2024-10-28T15:22:56.998911018Z remoteFamily: 'IPv6',
2024-10-28T15:22:56.998912651Z timeout: undefined,
2024-10-28T15:22:56.998914264Z bytesWritten: 1645,
2024-10-28T15:22:56.998915907Z bytesRead: 0
2024-10-28T15:22:56.998917500Z }
2024-10-28T15:22:56.998919143Z }
2024-10-28T15:22:56.998920846Z }
2024-10-28T15:22:57.000555626Z 2024-10-28 15:22:57,000 WARN exited: backend (exit status 1; not expected)
2024-10-28T15:23:16.117667919Z ERR | ts=1730128996.117479 logger=http.log.error msg=dial tcp [::1]:3000: connect: connection refused request={"remote_ip":"192.168.20.23","remote_port":"35516","client_ip":"192.168.20.23","proto":"HTTP/1.1","method":"GET","host":"postiz.gooseweb.win","uri":"/api/user/self","headers":{"Accept":["application/json"],"Priority":["u=4"],"X-Real-Ip":["192.168.20.1"],"Connection":["close"],"Referer":["https://postiz.gooseweb.win/launches"],"Pragma":["no-cache"],"Cache-Control":["no-cache"],"X-Forwarded-Proto":["https"],"X-Forwarded-For":["192.168.20.1"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Content-Type":["application/json"],"Dnt":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"],"Accept-Language":["en-US,en;q=0.5"],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Site":["same-origin"],"Cookie":[],"X-Forwarded-Scheme":["https"],"Sec-Gpc":["1"]}} duration=0.000318256 status=502 err_id=8pfd4k9fp err_trace=reverseproxy.statusError (reverseproxy.go:1267)
2024-10-28T15:23:17.506868317Z ERR | ts=1730128997.506688 logger=http.log.error msg=dial tcp [::1]:3000: connect: connection refused request={"remote_ip":"192.168.20.23","remote_port":"45562","client_ip":"192.168.20.23","proto":"HTTP/1.1","method":"GET","host":"postiz.gooseweb.win","uri":"/api/user/self","headers":{"Accept-Language":["en-US,en;q=0.5"],"Sec-Fetch-Site":["same-origin"],"Cache-Control":["no-cache"],"X-Forwarded-Scheme":["https"],"X-Real-Ip":["192.168.20.1"],"Accept":["application/json"],"Referer":["https://postiz.gooseweb.win/launches"],"Content-Type":["application/json"],"Sec-Fetch-Mode":["cors"],"Priority":["u=4"],"X-Forwarded-For":["192.168.20.1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Fetch-Dest":["empty"],"Pragma":["no-cache"],"Cookie":[],"X-Forwarded-Proto":["https"],"Connection":["close"],"Dnt":["1"],"Sec-Gpc":["1"]}} duration=0.000326752 status=502 err_id=56tcxuax5 err_trace=reverseproxy.statusError (reverseproxy.go:1267)
it seems to be crashign the back end job, thats causing the system to stop responding
@zac_goose is it for a specific channel or for all channels?
have only tested with instagram/facebook accounts (all we have connected)
I published a new version
can you check it?
@zac_goose , when you post long code messages to discord, please use 3x ` to make code blocks
Yeah, generally issues like this will crash the backend at the moment
We need to add more error handling around this
Come back to this after a bit, after removing and trying to reconnect my own accounts I'm getting the following error?