Skip to content

feat(accounts): add per-account OAuth proxy support - #804

Closed
rupebac wants to merge 9 commits into
Soju06:mainfrom
rupebac:feature/account-egress-isolation
Closed

rupebac wants to merge 9 commits into
Soju06:mainfrom
rupebac:feature/account-egress-isolation

Conversation

@rupebac

@rupebac rupebac commented May 26, 2026

Copy link
Copy Markdown

Summary

Adds per-account SOCKS5 proxy support for OAuth account import and account-bound upstream egress, so proxied accounts are validated before persistence and continue using their configured proxy for
refreshes, usage, model fetches, files, HTTP responses, and WebSocket traffic.

Type of change

  • feat: — new user-facing feature or capability
  • fix: — bug fix (no behavior change beyond the bug)
  • refactor: — internal refactor (no behavior change, no API change)
  • docs: — documentation only
  • chore: / ci: / build: — tooling, CI, packaging
  • test: — test-only change
  • Breaking change (also append ! after the type, e.g. feat!: or include BREAKING CHANGE: footer)

Linked issue:

OpenSpec

  • This PR includes / updates an OpenSpec change
  • Not applicable — bug fix that matches the existing spec
  • Not applicable — docs / CI / chore only
  • This PR touches a codex-faithful path (image pipeline, request/response
    shape, SSE framing, OAuth flow) and preserves upstream-equivalent behavior

Change directory: openspec/changes/add-oauth-account-proxy/

Changes

  • Adds nullable per-account proxy columns to accounts, plus repository/service/API contracts for storing, validating, updating, and clearing account proxy config.
  • Adds account-bound HTTP/WebSocket client handling so proxied accounts use SOCKS5 egress, while direct accounts use isolated per-account direct sessions instead of the shared global client.
  • Updates OAuth add-account flow to defer persistence when proxy config is supplied, validate the proxy with upstream token refresh/account calls, and avoid creating an unproxied active account on
    failure.
  • Adds dashboard UI for proxy config during OAuth/import and account detail editing, including proxy error handling and password-preservation behavior.
  • Keeps browser OAuth redirect_uri tied to the registered configured callback and reuses that same URI for token exchange.
  • Adds OpenSpec requirements/context for account egress proxy behavior and outbound client isolation.

Test plan

uv run ruff check
# All checks passed!

uv run pyright app/
# 0 errors, 1 warning, 0 informations

uv run pytest tests/integration/test_migrations.py -q
# 12 passed, 3 skipped

uv run pytest tests/integration/test_oauth_flow.py::test_browser_oauth_redirect_uses_registered_uri_and_matches_token_exchange -q
# 1 passed

openspec validate add-oauth-account-proxy --strict
# Change 'add-oauth-account-proxy' is valid

openspec validate --specs
# Totals: 22 passed, 0 failed (22 items)

Earlier broader verification also passed:

uv run pytest tests/integration/test_oauth_flow.py tests/integration/test_accounts_proxy_api.py tests/integration/test_account_proxy_repository.py tests/integration/test_migrations.py tests/unit/
test_account_http_client.py tests/unit/test_account_proxy_failures.py tests/unit/test_account_proxy_probe.py tests/unit/test_account_proxy_schemas.py tests/unit/test_account_tls.py -q
# 117 passed, 3 skipped

cd frontend && npm run typecheck
# passed

cd frontend && npm test -- --run src/features/accounts/oauth-dialog.test.tsx src/features/accounts/hooks/use-oauth.test.ts src/features/accounts/proxy.test.tsx src/features/accounts/proxy-
errors.test.ts src/features/accounts/components/import-dialog.test.tsx
# 40 tests passed

Live verification:

- Deployed branch to the test host.
- Added a proxied OAuth account successfully.
- Confirmed the account persisted as active with proxy metadata and no tls_profile field.
- Confirmed invalid proxy credentials fail before account persistence with Proxy validation failed: proxy_auth.

## Screenshots / output (optional)

Live OAuth/proxy validation was exercised manually on the deployed test instance. No screenshots attached.

## Checklist

- [x] Title is in Conventional Commits format (<type>(<scope>)?: <subject>).
- [ ] Linked the related issue / discussion above.
- [x] Added or updated tests covering the change.
- [x] Ran uv run pre-commit run local-ci --hook-stage manual --all-files or the relevant make <target> subset locally.
- [x] If touching specs: openspec validate --specs passes and /opsx:verify is clean.
- [x] CHANGELOG is not edited by hand (release-please handles it).

@rupebac
rupebac requested a review from Soju06 as a code owner May 26, 2026 00:49
@github-actions github-actions Bot added the db migration PR changes Alembic database migrations; maintainer must coordinate merge order label May 26, 2026
@gitguardian

gitguardian Bot commented May 26, 2026 •

Copy link
Copy Markdown

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@rupebac
rupebac force-pushed the feature/account-egress-isolation branch from e8a3041 to 2f42a42 Compare May 26, 2026 00:56
@rupebac

rupebac commented May 26, 2026 •

Copy link
Copy Markdown
Author

this has been purely vibed coded, but it has been working great for me

@Komzpa
Komzpa force-pushed the feature/account-egress-isolation branch 5 times, most recently from 38eaa03 to c8be21b Compare May 26, 2026 17:11
@Komzpa

Komzpa commented May 26, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c8be21b907

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/modules/oauth/service.py Resolved
Comment thread app/modules/accounts/repository.py Resolved
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label May 26, 2026
@Komzpa
Komzpa force-pushed the feature/account-egress-isolation branch from c8be21b to e58d3e6 Compare May 26, 2026 17:46
@Soju06 Soju06 removed the 🤖 codex: needs work [@codex review] raised an issue label May 26, 2026
@Komzpa
Komzpa force-pushed the feature/account-egress-isolation branch from e58d3e6 to c8e031b Compare May 26, 2026 17:48
@Komzpa

Komzpa commented May 26, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Komzpa

Komzpa commented May 26, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@Soju06

Soju06 commented May 27, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@rupebac

rupebac commented May 28, 2026

Copy link
Copy Markdown
Author

This started as a local spike, but I have now rebased it onto the latest PR head and prepared a focused follow-up commit (947924a, pending push to this PR branch).

Current follow-up scope:

  • Token refresh jitter

    • Changed per-account refresh jitter from a signed offset (interval ± jitter) to an early-only offset (interval - jitter).
    • This preserves spreading across accounts while keeping token_refresh_interval_days as the hard maximum token age.
    • Added coverage that jitter stays within [0, jitter] and never delays accounts beyond the configured interval.
  • Targeted re-authentication

    • The Accounts UI now passes the selected account id when clicking re-auth.
    • OAuth state carries that target account id through browser, manual callback, and device-code flows.
    • Successful OAuth writes the new tokens back into the selected existing account row instead of going through generic add-account/upsert behavior.
    • Existing proxy configuration is preserved.
    • If the selected account has a stored proxy, server-side OAuth bootstrap/token-exchange calls use that stored proxy during re-auth.
    • Re-auth rejects returned credentials for a different ChatGPT account id/email instead of overwriting the selected account.
    • If the stored proxy password cannot be decrypted, re-auth fails explicitly rather than silently falling back to no proxy.
  • Browser OAuth redirect regression

    • Live re-auth testing exposed that browser OAuth was rewriting the configured callback from http://localhost:1455/auth/callback to the remote dashboard host, e.g. http://192.168.x.x:1455/auth/callback.
    • The previous working image did not rewrite this URI, and OpenSpec already says browser OAuth must use the configured oauth_redirect_uri unchanged.
    • Restored the registered callback behavior and updated the integration test that had drifted to expect the rewrite.
  • Diagnostics

    • Added refresh-failure logging with account id, request id, HTTP status, upstream error code, and message.
    • Added logging before deactivating an account due to permanent token refresh failure.
  • OpenSpec

    • Added fix-token-refresh-jitter-max-age.
    • Added fix-oauth-reauth-preserve-proxy.
    • Synced resulting requirements into the relevant main specs.

Validation run locally:

  • uv run ruff check ...
  • uv run pytest tests/integration/test_oauth_flow.py -q -> 40 passed
  • broader targeted backend pytest run -> 144 passed
  • npm run test -- src/features/accounts/hooks/use-oauth.test.ts
  • npm run typecheck
  • npm run lint -- ...
  • npm run build
  • openspec validate --specs
  • openspec validate fix-token-refresh-jitter-max-age --strict
  • openspec validate fix-oauth-reauth-preserve-proxy --strict

@SHAREN

SHAREN commented May 31, 2026

Copy link
Copy Markdown
Contributor

Hi. Do you have any rough estimate of how much proxy bandwidth is used when per-account proxy is enabled?

For example, if an account consumes around 100 million tokens, how much traffic would go through the proxy approximately? And if usage is around 500 million tokens per week, what proxy bandwidth should I plan for?

I understand it depends on request/response size, streaming overhead, retries, files, etc. I only need an approximate order of magnitude.

@rupebac

rupebac commented May 31, 2026 •

Copy link
Copy Markdown
Author

for me working a lot, I use less than 1gb every week (with 2 accounts per proxy)... but I am having an issue with this right now... accounts get deactivated every 2 days or so and need to re-auth... not sure what yet, keep doing tests... I have deactivated the codex tls profile, still the same.. rotate usage fetch's so they do not match at the same time, and the same... keep doing more tests, will inform.

@Soju06

Soju06 commented May 31, 2026

Copy link
Copy Markdown
Owner

@codex review

1 similar comment
@Soju06

Soju06 commented May 31, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a7f46409b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/core/clients/proxy_websocket.py Resolved
@Komzpa Komzpa added the 🤖 codex: needs work [@codex review] raised an issue label May 31, 2026
@Komzpa
Komzpa force-pushed the feature/account-egress-isolation branch from a7f4640 to dfd585f Compare May 31, 2026 21:47
@Komzpa
Komzpa force-pushed the feature/account-egress-isolation branch from 2bcdb27 to 0770ed5 Compare June 1, 2026 14:03
@rupebac

rupebac commented Jun 1, 2026 •

Copy link
Copy Markdown
Author

for me working a lot, I use less than 1gb every week (with 2 accounts per proxy)... but I am having an issue with this right now... accounts get deactivated every 2 days or so and need to re-auth... not sure what yet, keep doing tests... I have deactivated the codex tls profile, still the same.. rotate usage fetch's so they do not match at the same time, and the same... keep doing more tests, will inform.

Did you find more something about this? I'm having the same here but without proxy. I started think if isolated every account in one proxy would avoid this to happen...

uhmm not yet... the thing about proxy per account is that you can´t reuse the connection for usage fetch across all accounts, and stuff like that, as that defeats the purpose of the proxy itself and would connect accounts... also, this was stripping out the installation id header from codex, as that would also connect accounts (even through proxy)... the test I am reproducing now is generating a random installation id per account, as I thought that sending requests without one may be the reason as well. Also, fetching usage of all accounts at the same time is sort of connecting accounts (also addressed locally in my latest changes). But only 12h since deployed, usually for me they were lasting 2-3 days... so I need to wait a bit more... I do have 1 personal account (without proxy) that is never expiring, so there is some sort of reputation taking place I think... I am testing with ISP Dedicated proxies from iproyal.... It could be that the reputation of these IPs is damaged already not sure... If there are more ideas, please let me know :)

@Komzpa

Komzpa commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@rupebac

rupebac commented Jun 2, 2026 •

Copy link
Copy Markdown
Author

same issue (accounts getting invalidated), but I just found out that the proxies I was using from iproyal had a really bad scamalytics score... I very much suspect of this now... I have got another 3 proxies from another provider, this time with a 0 fraud score... retrying... will keep you updated... @Soju06 my local branch I have a bunch of fixups, but let me test this ip thing, and I will push. We gotta find out why this is happening. If you don´t agree with something please let me know, lets keep it up together.... These I have locally done VS origin now (not yet pushed):

  1. Token invalidation mitigation

    • Added per-account codex_installation_id.
    • Added migration: app/db/alembic/versions/20260531_000000_add_accounts_codex_installation_id.py.
    • Injects installation ID into main /codex/responses payload metadata.
    • Injects installation ID into websocket response.create.
    • Sends installation ID as a header for compact, while stripping unsupported client_metadata from compact payloads.
    • Strips inbound x-codex-installation-id so callers cannot cross-contaminate accounts.
  2. Usage refresh staggering

    • Default usage refresh interval changed 60s -> 120s.
    • Scheduler now refreshes one eligible account per slice instead of hammering all accounts together.
    • Skips deactivated accounts and invalidates dashboard cache at cycle boundaries.
  3. Expired-token handling

    • Treats app_session_terminated as permanent.
    • Usage refresh now deactivates accounts on that refresh failure path.
    • Prevents repeated routing/retry loops after an account is known bad.
  4. Stale HTTP bridge session guard

    • Added in-memory routing_unavailable account set.
    • Paused/deactivated/deleted accounts are immediately marked unavailable for routing.
    • Reactivated/re-imported/proxy-repaired accounts clear that flag.
    • HTTP bridge reuse now checks this flag, not just DB status captured in an old session object.
  5. OAuth callback behavior

    • OAuth redirect handling changed in app/modules/oauth/service.py; tests updated in tests/integration/test_oauth_flow.py.
  6. Edit proxy UI

    • “Edit egress proxy” now has quick paste: user:pass@host:port.
    • Quick paste also supports socks5://, socks5h://, and host/port without auth.
    • Removed bad native browser pattern validator from proxy port inputs; schema/parser validation remains.

@Komzpa

Komzpa commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Superseded by #875, which consolidates this egress-proxy work on current main and is now the surviving merge-clean branch.

@Komzpa Komzpa closed this Jun 2, 2026
@SHAREN

SHAREN commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

As the saying goes, it’s no use waving your fists after the fight is over—but since I’ve already finished the report, I’ll go ahead and post it anyway.

Hi everyone! While testing this PR with residential/mobile proxies, we caught a critical bug related to SOCKS5 authentication for
WebSocket connections.

🐛 The Bug

If a proxy username contains a semicolon ; (which is very common for residential proxies to dictate session TTL and country,
e.g., user__cr.my;anon.1;sessttl.5), the account gets immediately deactivated with failed to connect to SOCKS proxy.
Interestingly, HTTP requests work fine, but stream generation (which uses WebSockets) drops the connection.

🔍 The Cause

In codex-lb, standard HTTP requests use aiohttp (which uses yarl to properly unquote URLs).
However, WebSocket connections use python_socks. In app/core/clients/account_http.py inside
get_account_websocket_proxy_uri(), the credentials are url-encoded via urllib.parse.quote(), turning ; into %3B.
When this URI is later passed to python_socks (via Proxy.from_url()), it does not unquote the credentials. It sends %3B
literally to the SOCKS5 proxy, causing auth to fail and the connection to instantly drop.

🛠️ Our Local Fix

We removed the quote() wrappers in account_http.py so raw characters are passed. Here is the exact diff that got our proxies
working:

--- a/app/core/clients/account_http.py
+++ b/app/core/clients/account_http.py
@@ -655,8 +655,8 @@ async def get_account_websocket_proxy_uri(account_id: str) -> str | None:
             if config.username:
                 from urllib.parse import quote  # noqa: PLC0415

-                user = quote(config.username, safe="")
-                password = quote(config.password or "", safe="")
+                user = config.username
+                password = (config.password or "")
                 userinfo = f"{user}:{password}@" if password else f"{user}@"
             else:
                 userinfo = ""

💡 Note: While removing quote() fixes the immediate issue locally, a more robust upstream fix might be to pass credentials directly
into python_socks via kwargs instead of serializing them into a URI string and parsing them back out via from_url().

@SHAREN

SHAREN commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@rupebac could you please tell me whether you managed to properly set up a separate proxy for each account? I installed your build, but it still often asks me for SMS verification.

@rupebac

rupebac commented Jun 5, 2026 •

Copy link
Copy Markdown
Author

@rupebac could you please tell me whether you managed to properly set up a separate proxy for each account? I installed your build, but it still often asks me for SMS verification.

yes, I think I have sorted it out... Since I changed my proxies from iproyal to seamlessproxies. I just got 1-2 deactivated accounts that I had to re-auth(out of my 8-9 test accounts) in like 4 days (and who knows if these deactivations were due to any signal from before the proxy change or something related to it)... You have to check the reputation of the ip's you are getting from your provider in ipqualityscore.com and scamalytics.com, cos a lot comes down to that I think. Also I noticed that refresh tokens get invalidated if the same account you're using it simulatenously in another IP (but this is not so common I think right?)

But I can´t be 100% sure if what fixed it in my case was just the proxy change, or my latest changes that I just pushed to this branch and documented in my previous comment. Maybe you can try with my latest changes and your current proxies? Because these changes I guess are not yet included in #875 PR.

Btw, if you are getting some http connections getting closed randomly by the proxy (I had this problem with seamlessproxies, but they just fixed it), these are mainly the /compact calls (they are not going through WS).... WS upgraded long connections are not being closed by seamlessproxies, only http ones. In my case it helped enabling remote_compaction_v2 hidden feature in Codex CLI, now the compactation is done over the WS.

@rupebac

rupebac commented Jun 5, 2026

Copy link
Copy Markdown
Author

fixed a problem where Import was requiring the refresh token to exist in auth.json when proxy is enabled.... @SHAREN should I merge anything into another branch, or a separated PR ? what you reckon?

@SHAREN

SHAREN commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@rupebac Do it whichever way is more convenient for you. I’ll also try to push my changes to the repository.

@SHAREN

SHAREN commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

@rupebac

rupebac commented Jun 12, 2026 •

Copy link
Copy Markdown
Author

I am continuing in my branch, differences just got too much, and anyway I think it is good to have 2 forks that can test multiple things in terms of account burns.... I have to say I don´t agree with the proxy implementation on #875, the use case should be simpler I think, 1 account -> 1 proxy... there is no need for pools, or failovers... it makes sense to be more like a kill switch... you don´t want to change the ip ever for one account.

In my last commit, I am injecting a real User Agent and "originator" in all usages of aiohttp, instead of the default one from the aiohttp session. This I think was the biggest red flag, they could easily identify 3rd party proxy with this.... Also I made sure the JA3 and JA4 fingerprints for TLS are exactly the same as Codex CLI.. And I also implemented a shifting of the refreshes, so they are not matching at the same time...

I have also implemented an egress verification, to make sure the public IP that OpenAI is seeing is not matching more than 1 account on our side (it warns)... Also a detection that the dns resolution is not leaking outside the proxy...

I have imported also your new routing strategies, I think they are good, however later I realized that better strategies are the one that uses more accounts simultaneously, not less, because I think we want to reduce the load per account... We need a option on the strategy to allow a max concurrency of 1 per account, and even a cold down period... Now what I am wondering is, if somehow they use the content of the context, to connect multiple accounts...

I have also redesigned the accounts sections from the Dashboard, now look more compact, clear and nicer (to my liking :) ). And no scrollbar in that section.

All is done vibe coding, I haven´t analized the code... only tested it... we gotta move faster I think...

Also the warm-up thing, is very very suspicious, last week I got one account banned, the only one that was using warm-up.... A smarter and more randomized warm-up would be required if we want such feature... like the warm-up message being a real random query, not a static text... And also the time patterns to be random and let miss some.

Would be good if more people can try my branch and report.... Also I am running out of accounts, if anyone can help here...

@Komzpa

Komzpa commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

@rupebac @SHAREN please send pull requests if you have fixes or branches

@rupebac

rupebac commented Jun 12, 2026

Copy link
Copy Markdown
Author

@rupebac @SHAREN please send pull requests if you have fixes or branches

I did rebase some of my changes on top of #875 and put a comment there but got no reply... I did try to communicate and sync up, but I ain´t wasting time for nothing... I will continue on my fork and my branch from this PR, and when you merge #875 to master I will try to rebase what makes sense. For now, I want to implement ton of stuff... working now on a hard cap on concurrency and load per account...

Komzpa pushed a commit to Komzpa/codex-lb that referenced this pull request Jun 14, 2026
Construct account-bound SOCKS connectors from structured endpoint fields so usernames/passwords with reserved characters are not percent-encoded and reparsed by aiohttp-socks/python-socks.

Source: Soju06#804 (comment)
Komzpa pushed a commit to Komzpa/codex-lb that referenced this pull request Jun 15, 2026
Construct account-bound SOCKS connectors from structured endpoint fields so usernames/passwords with reserved characters are not percent-encoded and reparsed by aiohttp-socks/python-socks.

Source: Soju06#804 (comment)
@bjspi

bjspi commented Jun 20, 2026

Copy link
Copy Markdown

@rupebac May I ask you how much you pay for your proxies and if you really think / consider using Proxys per account to be safer w.r.t. account banning? ( I assume account-banning from OpenAI side is the only reason to use proxys right?)?

@SHAREN

SHAREN commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

@rupebac May I ask you how much you pay for your proxies and if you really think / consider using Proxys per account to be safer w.r.t. account banning? ( I assume account-banning from OpenAI side is the only reason to use proxys right?)?

It took me 0.5-1 GB per day, it turned out to be a lot for me.

glopyglerky pushed a commit to glopyglerky/codex-lb that referenced this pull request Dec 2, 2026
Construct account-bound SOCKS connectors from structured endpoint fields so usernames/passwords with reserved characters are not percent-encoded and reparsed by aiohttp-socks/python-socks.

Source: Soju06#804 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

db migration PR changes Alembic database migrations; maintainer must coordinate merge order

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants