๐Ÿ”ฅ/์‡ผํ•‘๋ชฐ ๋งŒ๋“ค๊ธฐ

[Error] Uncaught (in promise)

say! 2022. 9. 8. 15:30
728x90
Uncaught (in promise) AxiosError {message: 'Request failed with status code 504', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}

์œ„์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋‚ฌ๊ณ .. 

์–ด๋–ป๊ฒŒ ํ•ด๊ฒฐํ•ด์•ผํ•˜๋Š”์ง€ ๋ชจ๋ฅด๋Š” ์ƒํƒœใ…Ž

 

Uncaught (in promise) ์˜๋ฏธ

What does that log "Uncaught (in promise)" mean? It means that there was an error in one of our promises, but we did not write any code in order to handle that error and try to catch it.

 

Promises - Error Handling

 

wesbos.com

 

 

504 Gateway Timeout

 

504 Gateway Timeout - HTTP | MDN

ํ•˜์ดํผํ…์ŠคํŠธ ์ „์†ก ํ”„๋กœํ† ์ฝœ (HTTP) 504 Gateway Timeout ์„œ๋ฒ„ ์—๋Ÿฌ ์‘๋‹ต ์ฝ”๋“œ๋Š” ์„œ๋ฒ„๊ฐ€ ๊ฒŒ์ดํŠธ์›จ์ด(gateway) ํ˜น์€ ํ”„๋ก์‹œ(proxy)์˜ ์—ญํ• ์„ ํ•˜๋Š” ๋™์•ˆ ์‹œ๊ฐ„ ์•ˆ์— ์—…์ŠคํŠธ๋ฆผ ์„œ๋ฒ„(upstream server)๋กœ๋ถ€ํ„ฐ ์š”์ฒญ์„ ๋งˆ

developer.mozilla.org