Skip to content

fix: change default integration_api to 3004#1281

Merged
oschwartz10612 merged 1 commit into
fosrl:devfrom
jackrosenberg:push-nymutulytrsq
Aug 23, 2025
Merged

fix: change default integration_api to 3004#1281
oschwartz10612 merged 1 commit into
fosrl:devfrom
jackrosenberg:push-nymutulytrsq

Conversation

@jackrosenberg

Copy link
Copy Markdown
Contributor

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Currently both gerbil and the integration api server listen on port 3003. This causes site connectivity to break, since gerbil is not reachable. I would propose changing the API server default port to 3004.
closes fosrl/gerbil#18

How to test?

@oschwartz10612

Copy link
Copy Markdown
Member

Only concern with this is it might break people's integration APIs if they do not define this in the config file. But I agree I do see the issue here...

Maybe we make it clear in the release notes?

@oschwartz10612

Copy link
Copy Markdown
Member

I suppose we could try to migrate people's config but that could get messy

@jackrosenberg

Copy link
Copy Markdown
Contributor Author

I suppose we could try to migrate people's config but that could get messy

Is that something we can easily do? If not, I think it would probably be best to just rip off the bandaid. I can PR the relevant docs tonight/tomorrow.

@jackrosenberg

Copy link
Copy Markdown
Contributor Author

I can PR the relevant docs tonight/tomorrow.

fosrl/docs-v2#4

@v1rusnl

v1rusnl commented Aug 23, 2025

Copy link
Copy Markdown
Contributor

Why migrate people configs? The API is disabled by default as far as I can see? I assume people who activate it know what they do. @jackrosenberg changes to the docs + a prominent notice in one of the next release notes explaining why in a short term should do it imo.

@oschwartz10612 oschwartz10612 merged commit 4757c7d into fosrl:dev Aug 23, 2025
2 checks passed
@oschwartz10612

Copy link
Copy Markdown
Member

Agree sounds like a plan! I will highlight in the release notes!

@PottiMc

PottiMc commented Aug 25, 2025

Copy link
Copy Markdown

@oschwartz10612
The documentation needs to be adjusted according to this change: https://docs.digpangolin.com/self-host/advanced/integration-api

@jackrosenberg

Copy link
Copy Markdown
Contributor Author

@oschwartz10612 The documentation needs to be adjusted according to this change: https://docs.digpangolin.com/self-host/advanced/integration-api

fixed this in: fosrl/docs-v2#4

@jackrosenberg jackrosenberg deleted the push-nymutulytrsq branch August 25, 2025 09:28
@v1rusnl

v1rusnl commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

@oschwartz10612
Do we still need
server: integration_port: 3004
in config.yml or just
flags: enable_integration_api: true

Looking at the latest config template, it seems to be much much smaller than my inital config from 1.2.0 when I installed it. I deleted a lot of stuff in it testwise yesterday and it seems Pangolin works as before even config.yml is now half the size than before. I also deleted the integration port directive and API works nonetheless.

@jackrosenberg

Copy link
Copy Markdown
Contributor Author

Do we still need server: integration_port: 3004 in config.yml

Nope, but it's nice in the docs to let people know it's an option. Also yes, most of the config is superfluous. For a true minimal config just delete it all, and pangolin will yell at you telling you exactly what fields are missing :)

@v1rusnl

v1rusnl commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

Do we still need server: integration_port: 3004 in config.yml

Nope, but it's nice in the docs to let people know it's an option. Also yes, most of the config is superfluous. For a true minimal config just delete it all, and pangolin will yell at you telling you exactly what fields are missing :)

Just made a discussion since I recognized the PR is closed while you answered 😆
https://github.com/orgs/fosrl/discussions/1338

But thanks for clarification! Perhaps the discussion is helfpul for others in a more prominent way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants