OpenAI icon indicating copy to clipboard operation
OpenAI copied to clipboard

Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" when I using .gpt4

Open donfishman opened this issue 1 year ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

when I using .gpt4, I got the error like this: Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x6000015dcd80 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={_kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <CB4EFD3E-E03A-4D77-92F3-6C30907591F2>.<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <CB4EFD3E-E03A-4D77-92F3-6C30907591F2>.<3>" ), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https://api.openai.com/v1/chat/completions, NSErrorFailingURLKey=https://api.openai.com/v1/chat/completions, _kCFStreamErrorDomainKey=4}

But when I use .gpt-3.5 everything is perfect

donfishman avatar Feb 06 '24 10:02 donfishman

there've been some updates to the codebase. do you still get this error using .gpt4 using the latest version?

kalafus avatar Feb 16 '24 20:02 kalafus