azure-search-openai-demo: SyntaxError: Unexpected non-whitespace character after JSON at position 6

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

run azd up, then ask a question

Any log messages given by the failure

“SyntaxError: Unexpected non-whitespace character after JSON at position 6” bug

Expected/desired behavior

an answer to the question made

OS and Version?

Windows 11.

azd version?

azd version 1.0.2 (commit 145e046b1ea9394bd4e1b1d539eb32e860d692fb)

Other details

I have only two files loaded, one in spanish and one in english that basically have the same content. I don’t know if that could be part of the problem

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16

Most upvoted comments

I’m seeing the error as Salam by the look of it Pamela,

2023-07-25T10:00:42.062529156Z [2023-07-25 10:00:42 +0000] [68] [CRITICAL] WORKER TIMEOUT (pid:3887) 2023-07-25T10:00:42.140014626Z [2023-07-25 10:00:42 +0000] [3887] [INFO] Worker exiting (pid: 3887) 2023-07-25T10:00:43.142697844Z [2023-07-25 10:00:43 +0000] [68] [WARNING] Worker with pid 3887 was terminated due to signal 9

The same as above by the look of it, terminated due to a signal 9. When it fails the screen will sit there saying Generating Response for a long time, minutes before you get the error message. I’ve not revisited as I’ve had other work on and this is a bit of a side project, however I’ve just been given access to 4.0 so was going to spend some time on it again in the next week or so.

Hm, that looks like the logs from outside the container, I’m looking for the logs from inside the container. If you downloaded the zip from Advanced Tools, look for the filename that has “default_docker” in it, as that usually has the most helpful logs. It should show the Oryx ASCII art and then startup process.