Skip to content

fix: Follow JetBrains IDE proxy settings #6531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

exigow
Copy link
Collaborator

@exigow exigow commented Jul 9, 2025

🚧


Summary by cubic

Updated authentication in the JetBrains extension to use the IDE's HttpRequests API, so proxy settings are now respected during token refresh. This improves compatibility for users behind a proxy.

  • Refactors
    • Replaced OkHttp with HttpRequests for token refresh calls.
    • Improved error handling and logging during authentication.

Copy link

netlify bot commented Jul 9, 2025

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit 0b0d89e
🔍 Latest deploy log https://app.netlify.com/projects/continuedev/deploys/6870f7deada63e000860f613
😎 Deploy Preview https://deploy-preview-6531--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@exigow exigow force-pushed the exigow/use-httprequests-proxy branch from da8f206 to a339163 Compare July 9, 2025 14:30

kotlinx.coroutines.delay(15 * 60 * 1000) // 15 minutes in milliseconds
log.info("Token refreshed, retrying in 15 minutes")
delay(10.minutes)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
delay(10.minutes)
delay(15.minutes)

I think this should still be 15?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, that's a typo, thanks

Fixed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants