Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Has anyone encountered such a problem where the webpage can be successfully opened, but there is no response when clicking ‘interact’? #259

Open
Tsailj opened this issue Nov 12, 2024 · 11 comments

Comments

@Tsailj
Copy link

Tsailj commented Nov 12, 2024

I deployed this project on Windows. After the deployment, I opened the webpage and clicked the ‘interact’ button, but there was no response. Does anyone know how to fix this?
QQ图片20241112203052

@LieRenXZ
Copy link

me too ,why

@LieRenXZ
Copy link

it seems tobe something wrong with the backend

@leotireger
Copy link

I had the same issue, but I solved it. There are my steps:

  1. STOP all the code for ai-town
  2. cd ai-town folder
  3. run just convex run init
  4. restart ai-town
    image

@Tsailj
Copy link
Author

Tsailj commented Nov 20, 2024

I had the same issue, but I solved it. There are my steps:

  1. STOP all the code for ai-town
  2. cd ai-town folder
  3. run just convex run init
  4. restart ai-town
    image

Thank you very much for your solution. I’ve managed to get it running successfully as well. Thank you!But there seems to be a bit of an issue with my page still; I can’t see the conversation between Agents. When I click ‘interact’ to interact with one of the Agents, there’s no response. I think there must still be some problems. Anyway, thank you very much.

@Tsailj
Copy link
Author

Tsailj commented Nov 20, 2024

me too ,why

Have you solved this problem yet? If not, you can try using this method from leotireger; I’ve already got it running successfully.

@LieRenXZ
Copy link

Thanks you two a lot, I 'll have a try

@leotireger
Copy link

I had the same issue, but I solved it. There are my steps:

  1. STOP all the code for ai-town
  2. cd ai-town folder
  3. run just convex run init
  4. restart ai-town
    image

Thank you very much for your solution. I’ve managed to get it running successfully as well. Thank you!But there seems to be a bit of an issue with my page still; I can’t see the conversation between Agents. When I click ‘interact’ to interact with one of the Agents, there’s no response. I think there must still be some problems. Anyway, thank you very much.

I finally run the total project just now. After making sure ollama's serve is working properly locally, and and then follow the steps linked below :
#249 (comment)

There are my steps:

  1. STOP all the code for ai-town
  2. delete ".env.local" file
  3. run just convex run init
  4. in a terminal, run npm run dev:backend
  5. in a new terminal, run npm run dev:frontend
    Maybe there are some other steps not mentioned, but key points are mentioned above, you can try it and good luck.

@LieRenXZ
Copy link

I had the same issue, but I solved it. There are my steps:

  1. STOP all the code for ai-town
  2. cd ai-town folder
  3. run just convex run init
  4. restart ai-town
    image

Thank you very much for your solution. I’ve managed to get it running successfully as well. Thank you!But there seems to be a bit of an issue with my page still; I can’t see the conversation between Agents. When I click ‘interact’ to interact with one of the Agents, there’s no response. I think there must still be some problems. Anyway, thank you very much.

I finally run the total project just now. After making sure ollama's serve is working properly locally, and and then follow the steps linked below : #249 (comment)

There are my steps:

  1. STOP all the code for ai-town
  2. delete ".env.local" file
  3. run just convex run init
  4. in a terminal, run npm run dev:backend
  5. in a new terminal, run npm run dev:frontend
    Maybe there are some other steps not mentioned, but key points are mentioned above, you can try it and good luck.

Thanks a lot. I have successfully run it for one time, but after I close it using Ctrl +C I can't restart it again. The backend stops at "Convex functions ready!" while the convex shows FastForwardWorker died, VectorCompactor died, TextCompactor died.

@LieRenXZ
Copy link

me too ,why

Have you solved this problem yet? If not, you can try using this method from leotireger; I’ve already got it running successfully.

Now I have known how to successfully run the backend and restart the code. But my frontend still can't work as your pic. BTW, how can I record the messages locally. When I run the code locally, I have no dashboard.

@Tsailj
Copy link
Author

Tsailj commented Nov 22, 2024

5. but key points are mentioned above,

Thank you for your solution, but I'm still encountering issues. My program's request for Ollama's service was denied. And I have already tested that I can communicate with Ollama using the api/embed method in the WSL environment. However, the problem arises only when I try to integrate it into my program.I'm wondering if you have experienced this problem as well. May I ask what type of machine you ran your program on? I am using a Windows system and followed the WSL deployment method mentioned in the README. I also saw in the issues section that others have encountered the same problem as me, but I haven't found a good solution yet.The issue I'm encountering is as follows. My frontend displays normally, but there is no dialogue between Agents.
image
image
Thank you very much for your reply regardless. I wish you all the best.

@LieRenXZ
Copy link

  1. but key points are mentioned above,

Thank you for your solution, but I'm still encountering issues. My program's request for Ollama's service was denied. And I have already tested that I can communicate with Ollama using the api/embed method in the WSL environment. However, the problem arises only when I try to integrate it into my program.I'm wondering if you have experienced this problem as well. May I ask what type of machine you ran your program on? I am using a Windows system and followed the WSL deployment method mentioned in the README. I also saw in the issues section that others have encountered the same problem as me, but I haven't found a good solution yet.The issue I'm encountering is as follows. My frontend displays normally, but there is no dialogue between Agents. image image Thank you very much for your reply regardless. I wish you all the best.

For me, if the frontend is running normally, it must be on the cloud version convex, so you can't get local ollama embed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants