When I try to create an internal user ([organisation][settings][access][users][create]), I get an error "Failed to invite user, timout of 10000ms exceeded". In the logs I see:
pangolin | ⨯ unhandledRejection: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (server/logger.ts:14:28)
pangolin | 12 | }
pangolin | 13 | if (Object.keys(metadata).length > 0) {
pangolin | > 14 | msg += ` ${JSON.stringify(metadata)}`;
pangolin | | ^
pangolin | 15 | }
pangolin | 16 | return msg;
pangolin | 17 | }```
Originally created by @hermanops on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/652
When I try to create an internal user ([organisation][settings][access][users][create]), I get an error "Failed to invite user, timout of 10000ms exceeded". In the logs I see:
```pangolin | 2025-05-03T17:22:59.801Z [error]: Unhandled Rejection: {"reason":{}}
pangolin | ⨯ unhandledRejection: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (server/logger.ts:14:28)
pangolin | 12 | }
pangolin | 13 | if (Object.keys(metadata).length > 0) {
pangolin | > 14 | msg += ` ${JSON.stringify(metadata)}`;
pangolin | | ^
pangolin | 15 | }
pangolin | 16 | return msg;
pangolin | 17 | }```
creating an user without an email (so just copy the link and give it to them), doesn't work either. After using the link, I get the error below and the e-mail with the verification code is never send.
pangolin | 2025-05-04T10:30:05.835Z [error]: Unhandled Rejection: {"reason":{}}
pangolin | ⨯ unhandledRejection: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (server/logger.ts:14:28)
pangolin | 12 | }
pangolin | 13 | if (Object.keys(metadata).length > 0) {
pangolin | > 14 | msg += ` ${JSON.stringify(metadata)}`;
pangolin | | ^
pangolin | 15 | }
pangolin | 16 | return msg;
pangolin | 17 | }
pangolin | 2025-05-04T10:39:13.167Z [error]: Unhandled Rejection: {"reason":{}}
pangolin | ⨯ unhandledRejection: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (server/logger.ts:14:28)
pangolin | 12 | }
pangolin | 13 | if (Object.keys(metadata).length > 0) {
pangolin | > 14 | msg += ` ${JSON.stringify(metadata)}`;
pangolin | | ^
pangolin | 15 | }
pangolin | 16 | return msg;
pangolin | 17 | }
pangolin | 2025-05-04T10:45:51.097Z [error]: Uncaught Exception:
pangolin | Stack: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (file:///app/dist/server.mjs:25:53)
pangolin | at Printf.transform (/app/node_modules/logform/printf.js:11:26)
pangolin | at Format.transform (/app/node_modules/logform/combine.js:20:24)
pangolin | at DerivedLogger._transform (/app/node_modules/winston/lib/winston/logger.js:314:29)
pangolin | at Transform._read (/app/node_modules/readable-stream/lib/_stream_transform.js:166:10)
pangolin | at Transform._write (/app/node_modules/readable-stream/lib/_stream_transform.js:155:83)
pangolin | at doWrite (/app/node_modules/readable-stream/lib/_stream_writable.js:390:139)
pangolin | at writeOrBuffer (/app/node_modules/readable-stream/lib/_stream_writable.js:381:5)
pangolin | at Writable.write (/app/node_modules/readable-stream/lib/_stream_writable.js:302:11) {"error":{}}
pangolin |
pangolin | > @fosrl/pangolin@0.0.0 start
pangolin | > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'
pangolin |
pangolin | Starting migrations from version 1.3.0
pangolin | Migrations to run:
pangolin | All migrations completed successfully
pangolin | 2025-05-04T10:45:55.054Z [info]: API server is running on http://localhost:3000
pangolin | 2025-05-04T10:45:55.056Z [info]: Internal server is running on http://localhost:3001
pangolin | 2025-05-04T10:45:55.839Z [info]: Next.js server is running on http://localhost:3002
pangolin | 2025-05-04T10:46:10.887Z [info]: Establishing websocket connection
<!-- gh-comment-id:2849142437 -->
@hermanops commented on GitHub (May 4, 2025):
creating an user without an email (so just copy the link and give it to them), doesn't work either. After using the link, I get the error below and the e-mail with the verification code is never send.
```
pangolin | 2025-05-04T10:30:05.835Z [error]: Unhandled Rejection: {"reason":{}}
pangolin | ⨯ unhandledRejection: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (server/logger.ts:14:28)
pangolin | 12 | }
pangolin | 13 | if (Object.keys(metadata).length > 0) {
pangolin | > 14 | msg += ` ${JSON.stringify(metadata)}`;
pangolin | | ^
pangolin | 15 | }
pangolin | 16 | return msg;
pangolin | 17 | }
pangolin | 2025-05-04T10:39:13.167Z [error]: Unhandled Rejection: {"reason":{}}
pangolin | ⨯ unhandledRejection: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (server/logger.ts:14:28)
pangolin | 12 | }
pangolin | 13 | if (Object.keys(metadata).length > 0) {
pangolin | > 14 | msg += ` ${JSON.stringify(metadata)}`;
pangolin | | ^
pangolin | 15 | }
pangolin | 16 | return msg;
pangolin | 17 | }
pangolin | 2025-05-04T10:45:51.097Z [error]: Uncaught Exception:
pangolin | Stack: TypeError: Converting circular structure to JSON
pangolin | --> starting at object with constructor 'Object'
pangolin | --- property 'issuerCertificate' closes the circle
pangolin | at JSON.stringify (<anonymous>)
pangolin | at Printf.template (file:///app/dist/server.mjs:25:53)
pangolin | at Printf.transform (/app/node_modules/logform/printf.js:11:26)
pangolin | at Format.transform (/app/node_modules/logform/combine.js:20:24)
pangolin | at DerivedLogger._transform (/app/node_modules/winston/lib/winston/logger.js:314:29)
pangolin | at Transform._read (/app/node_modules/readable-stream/lib/_stream_transform.js:166:10)
pangolin | at Transform._write (/app/node_modules/readable-stream/lib/_stream_transform.js:155:83)
pangolin | at doWrite (/app/node_modules/readable-stream/lib/_stream_writable.js:390:139)
pangolin | at writeOrBuffer (/app/node_modules/readable-stream/lib/_stream_writable.js:381:5)
pangolin | at Writable.write (/app/node_modules/readable-stream/lib/_stream_writable.js:302:11) {"error":{}}
pangolin |
pangolin | > @fosrl/pangolin@0.0.0 start
pangolin | > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'
pangolin |
pangolin | Starting migrations from version 1.3.0
pangolin | Migrations to run:
pangolin | All migrations completed successfully
pangolin | 2025-05-04T10:45:55.054Z [info]: API server is running on http://localhost:3000
pangolin | 2025-05-04T10:45:55.056Z [info]: Internal server is running on http://localhost:3001
pangolin | 2025-05-04T10:45:55.839Z [info]: Next.js server is running on http://localhost:3002
pangolin | 2025-05-04T10:46:10.887Z [info]: Establishing websocket connection
```
in the new version (1.3.2), I was able to create an user and received the e-mail.
<!-- gh-comment-id:2869128095 -->
@hermanops commented on GitHub (May 10, 2025):
in the new version (1.3.2), I was able to create an user and received the e-mail.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @hermanops on GitHub (May 3, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/652
When I try to create an internal user ([organisation][settings][access][users][create]), I get an error "Failed to invite user, timout of 10000ms exceeded". In the logs I see:
@miloschwartz commented on GitHub (May 4, 2025):
Do you happen to have SMTP enabled?
@hermanops commented on GitHub (May 4, 2025):
Yes
@ptweety commented on GitHub (May 4, 2025):
I have a similar issue.
@hermanops commented on GitHub (May 4, 2025):
creating an user without an email (so just copy the link and give it to them), doesn't work either. After using the link, I get the error below and the e-mail with the verification code is never send.
@hermanops commented on GitHub (May 10, 2025):
in the new version (1.3.2), I was able to create an user and received the e-mail.