amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
18.03k stars 1.16k forks source link

AWS S3 HEROKU #1232

Closed bmatusiak closed 2 years ago

bmatusiak commented 2 years ago

as you can see in the output there is something wrong here

https://github.com/amark/gun/blob/8e4128b474987fe59e2d73e38c56e30b8a4aa291/lib/rs3.js#L97

2022-04-28T03:29:18.263224+00:00 app[web.1]: /app/node_modules/aws-sdk/lib/request.js:31
2022-04-28T03:29:18.263226+00:00 app[web.1]: throw err;
2022-04-28T03:29:18.263226+00:00 app[web.1]: ^
2022-04-28T03:29:18.263226+00:00 app[web.1]: 
2022-04-28T03:29:18.263227+00:00 app[web.1]: TypeError: Cannot read property 'map' of undefined
2022-04-28T03:29:18.263228+00:00 app[web.1]: at Response.<anonymous> (/app/node_modules/gun/lib/rs3.js:97:12)
2022-04-28T03:29:18.263228+00:00 app[web.1]: at Request.<anonymous> (/app/node_modules/aws-sdk/lib/request.js:367:18)
2022-04-28T03:29:18.263229+00:00 app[web.1]: at Request.callListeners (/app/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
2022-04-28T03:29:18.263229+00:00 app[web.1]: at Request.emit (/app/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
2022-04-28T03:29:18.263229+00:00 app[web.1]: at Request.emit (/app/node_modules/aws-sdk/lib/request.js:686:14)
2022-04-28T03:29:18.263230+00:00 app[web.1]: at Request.transition (/app/node_modules/aws-sdk/lib/request.js:22:10)
2022-04-28T03:29:18.263230+00:00 app[web.1]: at AcceptorStateMachine.runTo (/app/node_modules/aws-sdk/lib/state_machine.js:14:12)
2022-04-28T03:29:18.263230+00:00 app[web.1]: at /app/node_modules/aws-sdk/lib/state_machine.js:26:10
2022-04-28T03:29:18.263230+00:00 app[web.1]: at Request.<anonymous> (/app/node_modules/aws-sdk/lib/request.js:38:9)
2022-04-28T03:29:18.263231+00:00 app[web.1]: at Request.<anonymous> (/app/node_modules/aws-sdk/lib/request.js:688:12)
2022-04-28T03:29:18.456355+00:00 heroku[web.1]: State changed from starting to crashed
2022-04-28T03:29:18.392859+00:00 heroku[web.1]: Process exited with status 1

it works locally somehow