You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the docker-dev-setup.sh guide and had canvas docker dev environment up. However, the rce-api is not working. Logs below. It seems that the rce-api cannot resolve the canvas.docker address, while the host's browser can.
rce-api_1 | 172.23.0.6 - - [29/Apr/2020:05:10:56 +0000] "GET /api/session HTTP/1.1" 304 0 "http://canvas.docker/courses/1/pages" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0"
rce-api_1 | App 40 output: [42cc31eb-2e58-4b8c-af52-00cb0d96689d] 127.0.0.1 - - [29/Apr/2020:05:10:56 +0000] "GET /api/session HTTP/1.1" 304 - "http://canvas.docker/courses/1/pages" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0"
rce-api_1 | App 40 output: (node:40) UnhandledPromiseRejectionWarning: RequestError: Error: getaddrinfo ENOTFOUND canvas.docker canvas.docker:80
rce-api_1 | App 40 output: at new RequestError (/usr/src/app/node_modules/request-promise-core/lib/errors.js:14:15)
rce-api_1 | App 40 output: at Request.plumbing.callback (/usr/src/app/node_modules/request-promise-core/lib/plumbing.js:87:29)
rce-api_1 | App 40 output: at Request.RP$callback [as _callback] (/usr/src/app/node_modules/request-promise-core/lib/plumbing.js:46:31)
rce-api_1 | App 40 output: at self.callback (/usr/src/app/node_modules/request/request.js:185:22)
rce-api_1 | App 40 output: at Request.emit (events.js:198:13)
rce-api_1 | App 40 output: at Request.onRequestError (/usr/src/app/node_modules/request/request.js:881:8)
rce-api_1 | App 40 output: at ClientRequest.emit (events.js:198:13)
rce-api_1 | App 40 output: at Socket.socketErrorListener (_http_client.js:401:9)
rce-api_1 | App 40 output: at Socket.emit (events.js:198:13)
rce-api_1 | App 40 output: at emitErrorNT (internal/streams/destroy.js:91:8)
rce-api_1 | App 40 output: at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
rce-api_1 | App 40 output: at process._tickCallback (internal/process/next_tick.js:63:19)
rce-api_1 | App 40 output: (node:40) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). (rejection id: 2)
I followed the
docker-dev-setup.sh
guide and had canvas docker dev environment up. However, the rce-api is not working. Logs below. It seems that the rce-api cannot resolve the canvas.docker address, while the host's browser can.I have a workaround here: FreedomBen/dory#36
I'd like to know what did you do to make it work? I don't see any documentation about this issue.
The text was updated successfully, but these errors were encountered: