gptscript-ai / browser

Apache License 2.0
16 stars 9 forks source link

Windows - Browser tool fails with "timeout waiting for 200 response from GET http://127.0.0.1:11178" #24

Open sangee2004 opened 6 months ago

sangee2004 commented 6 months ago

gptscript version v0.0.0-dev-f488a19c-dirty

Steps to reproduce the problem:

  1. Run the example script in github.com/gptscript-ai/browser/blob/main/examples/coachella-browse.gpt
  2. Script fails with "timeout waiting for 200 response from GET http://127.0.0.1:11178"

{
  "level": "info",
  "logger": "/pkg/engine",
  "msg": "launched [service][https://raw.githubusercontent.com/gptscript-ai/browser/aa3f09b5fcab89512a31ee0864115edc67328222/tool.gpt:83] port [11178] [C:\\Users\\sangeetha\\gptscript\\gptscript.exe sys.daemon C:\\Users\\sangeetha\\AppData\\Local\\cache\\gptscript\\repos\\runtimes\\node\\c32164a70f71413d32dda3142508a5fd7dd85d151d4e2992de7f1a8958c30f8a\\node-v21.7.0-win-x64\\npm.cmd --prefix C:\\Users\\sangeetha\\AppData\\Local\\cache\\gptscript\\repos\\aa3f09b5fcab89512a31ee0864115edc67328222\\node21 run server]",
  "time": "2024-04-24T21:25:17Z"
}
{
  "err": "timeout waiting for 200 response from GET http://127.0.0.1:11178",
  "level": "debug",
  "logger": "/pkg/monitor",
  "msg": "Run stopped",
  "output": "",
  "runID": "1",
  "time": "2024-04-24T21:27:19Z"
}
2024/04/24 21:27:19 timeout waiting for 200 response from GET http://127.0.0.1:11178
PS C:\Users\sangeetha\gptscript>
PS C:\Users\sangeetha\gptscript>
> gptscript-browser-plugin@1.0.0 server
> ts-node src/server.ts

Server is listening on port 11178
Closing the server