wildan3105 / cfc-schedules-tweet

Send tweet ahead of CFC's match!
https://twitter.com/cfcschedules
0 stars 0 forks source link

Deprecation of `REDIS_URL` from heroku #184

Open wildan3105 opened 1 month ago

wildan3105 commented 1 month ago

Please describe the issue as clear and short as possible Details: https://devcenter.heroku.com/changelog-items/2992

Take away: Need to adjust the connection to use secure URL with the following format when using redis from heroku: rediss://:<password>@<host>:21540

wildan3105 commented 1 month ago

Next action:

wildan3105 commented 3 days ago

Additional error from both worker and scheduler:

2024-11-23T08:12:13.541566+00:00 app[worker.1]: error when connecting Error: read ECONNRESET
2024-11-23T08:12:13.541581+00:00 app[worker.1]: at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
2024-11-23T08:12:13.541582+00:00 app[worker.1]: errno: -104,
2024-11-23T08:12:13.541583+00:00 app[worker.1]: code: 'ECONNRESET',
2024-11-23T08:12:13.541583+00:00 app[worker.1]: syscall: 'read'
2024-11-23T08:12:13.541583+00:00 app[worker.1]: }
2024-11-23T08:12:14.204612+00:00 app[worker.1]: error when connecting Error: read ECONNRESET
2024-11-23T08:12:14.204615+00:00 app[worker.1]: at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
2024-11-23T08:12:14.204616+00:00 app[worker.1]: errno: -104,
2024-11-23T08:12:14.204616+00:00 app[worker.1]: code: 'ECONNRESET',
2024-11-23T08:12:14.204616+00:00 app[worker.1]: syscall: 'read'
2024-11-23T08:12:14.204616+00:00 app[worker.1]: }
2024-11-23T08:12:14.909867+00:00 app[worker.1]: error when connecting Error: read ECONNRESET
2024-11-23T08:12:14.909877+00:00 app[worker.1]: at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
2024-11-23T08:12:14.909877+00:00 app[worker.1]: errno: -104,
2024-11-23T08:12:14.909878+00:00 app[worker.1]: code: 'ECONNRESET',
2024-11-23T08:12:14.909878+00:00 app[worker.1]: syscall: 'read'
2024-11-23T08:12:14.909878+00:00 app[worker.1]: }
2024-11-23T08:12:15.084429+00:00 app[scheduler.5964]: error when connecting Error: self-signed certificate in certificate chain
2024-11-23T08:12:15.084454+00:00 app[scheduler.5964]: at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
2024-11-23T08:12:15.084455+00:00 app[scheduler.5964]: at TLSSocket.emit (node:events:519:28)
2024-11-23T08:12:15.084455+00:00 app[scheduler.5964]: at TLSSocket._finishInit (node:_tls_wrap:1076:8)
2024-11-23T08:12:15.084455+00:00 app[scheduler.5964]: at ssl.onhandshakedone (node:_tls_wrap:862:12) {
2024-11-23T08:12:15.084455+00:00 app[scheduler.5964]: code: 'SELF_SIGNED_CERT_IN_CHAIN'
2024-11-23T08:12:15.084456+00:00 app[scheduler.5964]: }
2024-11-23T08:12:15.665992+00:00 app[worker.1]: error when connecting Error: read ECONNRESET
2024-11-23T08:12:15.666006+00:00 app[worker.1]: at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
2024-11-23T08:12:15.666007+00:00 app[worker.1]: errno: -104,
2024-11-23T08:12:15.666007+00:00 app[worker.1]: code: 'ECONNRESET',
2024-11-23T08:12:15.666007+00:00 app[worker.1]: syscall: 'read'
2024-11-23T08:12:15.666008+00:00 app[worker.1]: }
2024-11-23T08:12:16.520392+00:00 app[worker.1]: error when connecting Error: read ECONNRESET
2024-11-23T08:12:16.520406+00:00 app[worker.1]: at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
2024-11-23T08:12:16.520406+00:00 app[worker.1]: errno: -104,
2024-11-23T08:12:16.520407+00:00 app[worker.1]: code: 'ECONNRESET',
2024-11-23T08:12:16.520407+00:00 app[worker.1]: syscall: 'read'
2024-11-23T08:12:16.520407+00:00 app[worker.1]: }
2024-11-23T08:12:17.116253+00:00 app[scheduler.5964]: error when connecting Error: self-signed certificate in certificate chain
2024-11-23T08:12:17.116266+00:00 app[scheduler.5964]: at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
2024-11-23T08:12:17.116267+00:00 app[scheduler.5964]: at TLSSocket.emit (node:events:519:28)
2024-11-23T08:12:17.116267+00:00 app[scheduler.5964]: at TLSSocket._finishInit (node:_tls_wrap:1076:8)
2024-11-23T08:12:17.116267+00:00 app[scheduler.5964]: at ssl.onhandshakedone (node:_tls_wrap:862:12) {
2024-11-23T08:12:17.116267+00:00 app[scheduler.5964]: code: 'SELF_SIGNED_CERT_IN_CHAIN'
2024-11-23T08:12:17.116268+00:00 app[scheduler.5964]: }