[GH-ISSUE #3694] Cloudflare Status code 524 #2277

Closed
opened 2026-04-12 12:32:40 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @thedavc on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3694

Originally assigned to: @bmizerany on GitHub.

What is the issue?

I'm running into the following error message:
Ollama call failed with status code 524. Details: <bound method ClientResponse.text of <ClientResponse(http://chat.tamdu.com/api/generate) [524 None]>
<CIMultiDictProxy('Date': 'Wed, 17 Apr 2024 07:30:15 GMT', 'Content-Type': 'text/html; charset=UTF-8', 'Content-Length': '7080', 'Connection': 'keep-alive', 'Report-To': '{"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=YbviAMSSM3LYJsWVzIaJrWEbptcEzL9UKo8lBnELb9SXTbsiBItX%2BEpnXCNzVCALyxSNNoyoTtuD49XA5Jvk7lWVXbDXX6KoblL84ABMzmC61tkChe8BxvzdInZqFg%2FJpQ%3D%3D"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'Server': 'cloudflare', 'CF-RAY': '875ab2ff4bf8963f-SJC', 'alt-svc': 'h3=":443"; ma=86400')>

What did you expect to see?

No response

Steps to reproduce

No response

Are there any recent changes that introduced the issue?

No response

OS

Linux

Architecture

x86

Platform

WSL

Ollama version

0.1.31

GPU

Other

GPU info

No response

CPU

Intel

Other software

No response

Originally created by @thedavc on GitHub (Apr 17, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3694 Originally assigned to: @bmizerany on GitHub. ### What is the issue? I'm running into the following error message: Ollama call failed with status code 524. Details: <bound method ClientResponse.text of <ClientResponse(http://chat.tamdu.com/api/generate) [524 None]> <CIMultiDictProxy('Date': 'Wed, 17 Apr 2024 07:30:15 GMT', 'Content-Type': 'text/html; charset=UTF-8', 'Content-Length': '7080', 'Connection': 'keep-alive', 'Report-To': '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=YbviAMSSM3LYJsWVzIaJrWEbptcEzL9UKo8lBnELb9SXTbsiBItX%2BEpnXCNzVCALyxSNNoyoTtuD49XA5Jvk7lWVXbDXX6KoblL84ABMzmC61tkChe8BxvzdInZqFg%2FJpQ%3D%3D"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'Server': 'cloudflare', 'CF-RAY': '875ab2ff4bf8963f-SJC', 'alt-svc': 'h3=":443"; ma=86400')> ### What did you expect to see? _No response_ ### Steps to reproduce _No response_ ### Are there any recent changes that introduced the issue? _No response_ ### OS Linux ### Architecture x86 ### Platform WSL ### Ollama version 0.1.31 ### GPU Other ### GPU info _No response_ ### CPU Intel ### Other software _No response_
GiteaMirror added the networkingbug labels 2026-04-12 12:32:40 -05:00
Author
Owner

@zhaopengme commented on GitHub (Apr 17, 2024):

The longest cloudflare connection time is 100 seconds. If there is no response within 100 seconds, it will be disconnected from cloudflare. Cloudflare does not support modification. My current processing uses stream

<!-- gh-comment-id:2060832824 --> @zhaopengme commented on GitHub (Apr 17, 2024): The longest cloudflare connection time is 100 seconds. If there is no response within 100 seconds, it will be disconnected from cloudflare. Cloudflare does not support modification. My current processing uses stream
Author
Owner

@bmizerany commented on GitHub (Jul 11, 2024):

Hi @zhaopengme, we've been working with cloudflare and the issue should hopefully be resolved. Can you confirm?

<!-- gh-comment-id:2221977805 --> @bmizerany commented on GitHub (Jul 11, 2024): Hi @zhaopengme, we've been working with cloudflare and the issue should hopefully be resolved. Can you confirm?
Author
Owner

@zhaopengme commented on GitHub (Jul 15, 2024):

Yes, I have already solved this problem. Thank you very much

<!-- gh-comment-id:2227878737 --> @zhaopengme commented on GitHub (Jul 15, 2024): Yes, I have already solved this problem. Thank you very much
Author
Owner

@bmizerany commented on GitHub (Jul 15, 2024):

Great to hear. Closing.

<!-- gh-comment-id:2228758976 --> @bmizerany commented on GitHub (Jul 15, 2024): Great to hear. Closing.
Author
Owner

@urukalo commented on GitHub (Jul 19, 2024):

any tips on how to solve this? @zhaopengme

<!-- gh-comment-id:2238528916 --> @urukalo commented on GitHub (Jul 19, 2024): any tips on how to solve this? @zhaopengme
Author
Owner

@zhaopengme commented on GitHub (Jul 29, 2024):

any tips on how to solve this? @zhaopengme

My current processing uses stream.

<!-- gh-comment-id:2255080468 --> @zhaopengme commented on GitHub (Jul 29, 2024): > any tips on how to solve this? @zhaopengme My current processing uses stream.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2277