I was working on my app last night with no issues. I have logged in this morning and I am unable to run the preview of my app in the replit dev environment. When I open the preview tab it says the app is loaded but i need to click “run” to start it. When I do it attempts to but then comes back to the run screen. I have tried multiple browsers, multiple machines (including the replit app on my iphone) all encounter the same issue.
I reached out to support who asked for the HAR file and screenshots to be uploaded to the agent, but the agent is non-responsive. I have tried to upload the har file and screenshots to the agent but when i press send / action with the agent nothing happens, the agent doesn’t recognise the message and the message just disappears like I’ve not entered anything - I have even tried a new chat with the agent, nothing. HAR file and screenshots attached. I note that in the console / network log when generating the HAR file it mentions about a react load error.
Support (Quinn) has said he’s passing my issue over to a teammate who can investigate this platform-level issue further, but has said they are experiencing high demand at the moment and it could take some time. Not great when I’m sitting here waiting to finish my implementation and can’t do anything.
Any ideas?
1 Like
I should have added that I’m pretty sure I’ve had this issue before and I believe it was a platform routing failure. A member of support accessed my app / agent, did ‘something’ and then it started working again but it was never explained to me.
RESOLVED - after no contact from support for 8 hours I decided to take matters into my own hands and continued reading through the posts in this community. Seemed that a number of issues were resolved by asking the agent to fix itself (which I couldn’t do due to the agent not responding) or to run the KILL 1 command in the shell. So that’s what I did. The app reloaded and tried to refresh the preview window but it failed… however, the agent sprung back to life. I then asked the agent “are you working?” which it responded with “Yes", but I’ve noticed the service is not running, them me fix that”. 25 actions later the preview started working again! Not bad for $0.72 of the agents’ compute. Shame Replit support couldn’t have been bothered to help me out rather than me wasting 8 hours. Lesson learned, look for help elsewhere first! Thanks all.
1 Like
im having the same issue, can you help me
Apologies for the timing of this response. I’m sharing incase someone else experiences this same issue and the resolution described above doesn’t work for them, as it didn’t for me.
Try having the agent investigate the .replit workflow structure. Tell it what problem you’re encountering and inquire if it needs to remove the “Project” wrapper workflow entirely and point runButton directly to “Start application,” which already has the correct waitForPort = (your current port) and runs npm run dev.
Preview for a web app has been broken for me, as well, but that just fixed it.
For me the agent had configured port 5000 for app. Then it introduced mirror port 8081 and kept on introducing it inspite of command every time i was giving a command. It kept telling me that agent cant mke changes. App just didn’t open for long time
With consistent interrogation ( literally it was) agent then told me where to find 8081 port set up and then i deleted it sorting out the problem. It could have told me in first place it self instead if telling me it cant delete it.