8000
Skip to content

fix(core): Fix http requests by using correct agent#16258

Merged
elsmr merged 4 commits intomasterfrom
node-3115-community-issue-1980-cant-connect-to-local-ollama
Jun 12, 2025
Merged

fix(core): Fix http requests by using correct agent#16258
elsmr merged 4 commits intomasterfrom
node-3115-community-issue-1980-cant-connect-to-local-ollama

Conversation

@elsmr
Copy link
Copy Markdown
Member
@elsmr elsmr commented Jun 12, 2025

Summary

Plain HTTP requests were broken in #16092 by using the wrong import.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-3115/community-issue-1980-cant-connect-to-local-ollama
https://community.n8n.io/t/version-1-98-0-protocol-http-not-supported-expected-https/130801
fixes #16257
fixes #16247

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@codecov
Copy link
Copy Markdown
codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor
@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic reviewed 2 files and found no issues. Review PR in cubic.dev.

Copy link
Copy Markdown
Contributor
@ShireenMissi ShireenMissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested locally and it works 👌

@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Some Cypress E2E specs are failing, please fix them before merging

@github-actions
Copy link
Copy Markdown
Contributor

✅ All Cypress E2E specs passed

@elsmr elsmr merged commit e58de1a into master Jun 12, 2025
13 checks passed
@elsmr elsmr deleted the node-3115-community-issue-1980-cant-connect-to-local-ollama branch June 12, 2025 08:50
@github-actions github-actions bot mentioned this pull request Jun 12, 2025
@janober
Copy link
Copy Markdown
Member
janober commented Jun 12, 2025

Got released with n8n@1.98.1

@sx775
Copy link
Copy Markdown
sx775 commented Jun 13, 2025

@elsmr n8n version 1.98.1 successfully connects to the local Ollama service but cannot load available models. I have filed this issue as ticket 16303

@github-actions github-actions bot mentioned this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version 1.98.0 Protocol “http:” not supported. Expected “https:” 1.98.0 can't connect to Local Ollama

4 participants

0