ani-memes / AMII

A plugin that adds Anime Memes to your JetBrains IDEs
https://plugins.jetbrains.com/plugin/15865-amii
Apache License 2.0
268 stars 15 forks source link

IDE HTTP proxy support #93

Closed Unthrottled closed 3 years ago

Unthrottled commented 3 years ago

Changes

  1. Using the platform's HTTP API.
  2. Removed remote asset update checks.

Motivation

  1. Potentially fixes #91
  2. Assets don't change, they only get removed and created as a new asset.

Notes

I installed Squid on my Ubuntu box and ran with this configurations, and it appears to still work!

Screenshot from 2021-03-27 07-25-57

Unthrottled commented 3 years ago

@MagicGJ I was unable to replicate the issue you were experiencing. I configured my IDE to use an HTTP proxy, and it still worked... I suspect that there is some other JVM configurations in play that are blocking HTTP requests.

However, since your IDE still works for other platform plugins, I decided to just migrate to using the platform's HTTP API. So in theory it should work and use proxy configurations. :crossed_fingers:

Here is the build for this PR Anime Memes-0.9.0.zip install it manually using Preferences > Plugins > βš™οΈ > Install plugin from disk...

I can provide instructions if you wanted to build it yourself :smiley:

Anyways, if that doesn't work. Could you provide some useful log statements perhaps here's how to find the log file. I have some other theories if this doesn't work.

MagicGJ commented 3 years ago

@MagicGJ I was unable to replicate the issue you were experiencing. I configured my IDE to use an HTTP proxy, and it still worked... I suspect that there is some other JVM configurations in play that are blocking HTTP requests.

However, since your IDE still works for other platform plugins, I decided to just migrate to using the platform's HTTP API. So in theory it should work and use proxy configurations. 🀞

Here is the build for this PR Anime Memes-0.9.0.zip install it manually using Preferences > Plugins > βš™οΈ > Install plugin from disk...

I can provide instructions if you wanted to build it yourself πŸ˜ƒ

Anyways, if that doesn't work. Could you provide some useful log statements perhaps here's how to find the log file. I have some other theories if this doesn't work.

Problem solved, thxπŸ˜ƒ