Docker not working correctly
Answered
Rampur Greyhound posted this in #help-forum
Rampur GreyhoundOP
Hi! I'm trying to deploy my NextJS project using the following guide https://github.com/vercel/next.js/blob/v13.4.16/examples/with-docker but I seem to get some errors during the runtime of the container. Whenever some content of the Google API is streamed in later I get the following error in the console and I can't find any way to fix this or trace the origin of the error. Under the hood, it is performing a fetch request to Google's API at the moment that the error occurs.
I'm using NextJS 13, latest.
I'm using NextJS 13, latest.
Answered by Rampur Greyhound
After some digging (I was trying to fix this bug for over hours already before posting in here) I found this post, it seemed to be an issue with the Alpine container that is used in the example:
https://stackoverflow.com/questions/52341878/cannot-exchange-accesstoken-from-google-api-inside-docker-container
https://stackoverflow.com/questions/52341878/cannot-exchange-accesstoken-from-google-api-inside-docker-container
1 Reply
Rampur GreyhoundOP
After some digging (I was trying to fix this bug for over hours already before posting in here) I found this post, it seemed to be an issue with the Alpine container that is used in the example:
https://stackoverflow.com/questions/52341878/cannot-exchange-accesstoken-from-google-api-inside-docker-container
https://stackoverflow.com/questions/52341878/cannot-exchange-accesstoken-from-google-api-inside-docker-container
Answer