Skip to content
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

Proxy settings #2

Open
beckel opened this issue May 24, 2016 · 1 comment
Open

Proxy settings #2

beckel opened this issue May 24, 2016 · 1 comment
Assignees

Comments

@beckel
Copy link

beckel commented May 24, 2016

Hello,

I wasn't able to connect to the dataset from the gitty tool.
Modifying the RepositoryCachedReadingStrategyBinding helped:

import de.ecclesia.kipeto.repository.HttpRepositoryStrategy;
ReadingRepositoryStrategy readingStrategy = StrategySelector.getReadingStrategy(server);

if (readingStrategy instanceof HttpRepositoryStrategy) {
    ((HttpRepositoryStrategy)readingStrategy).setProxy("127.0.0.1", 3128);
    System.out.println("Set proxy to 127.0.0.1:3128");
}

Obviously, this is a quick hack instead of a clean solution, but maybe you can include setting the proxy in a config file in a future release.

Thanks for the tool!

Christian

@hintzed hintzed self-assigned this May 24, 2016
@hintzed
Copy link
Contributor

hintzed commented May 24, 2016

Hi Christian,

thanks for the report. I'll look into it!

Best, Daniel

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

No branches or pull requests

2 participants