EyuCoder / chatgpt-pro

ChatGPT-Pro is an advanced application that combines the power of ChatGPT and DALL.E.
https://chatgpt.eyucoder.com
Apache License 2.0
458 stars 212 forks source link

built ok but one issue #9

Closed rossman22590 closed 1 year ago

rossman22590 commented 1 year ago

localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received :3000/dalle:1 Failed to load resource: the server responded with a status of 404 (Not Found) localhost/:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON localhost/:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received 3localhost/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Server is running on port 3001

screenshot-nimbusweb me-2023 01 31-14_01_49

frontend port 3000

i get issue after submitting any text, otherwise website loads fine

rossman22590 commented 1 year ago

how can i fix this?

rossman22590 commented 1 year ago

env is ok, what is Base URL in client env?

lele344 commented 1 year ago

hi rossman, i've the same issue, already open an issues here: [(https://github.com/EyuCoder/chatgpt-clone/issues/8)] you can try to read it and check if you can fix it into the chat. Unfortunately, I could not solve it.

EyuCoder commented 1 year ago

hey guys, i tried to recreate the errors you're facing but everything is working on my side. so make sure to run them separately (dotenv sometimes doesnt work when run concurrently) and send me the error displayed on the server side.

EyuCoder commented 1 year ago

https://your_clone_link.onrender.com/dalle says something about rate limits

use the local_setup branch for easier setup without redis and firebase

rossman22590 commented 1 year ago

SOLVED!

EyuCoder commented 1 year ago

edited the link above as requested

rossman22590 commented 1 year ago

thank you!

rossman22590 commented 1 year ago

i got this working with RENDER and VERCEL Successfully!!! REDIS IS SUPER IMPORTANT !