question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to set up proxy?

See original GitHub issue

Form

Put an [x] if you meet the condition, else leave [ ].

Question

How to set up proxy? My provider gives me IP, port, username and password. This lib only receive ig.proxyUrl. Where can I put username and password?

should I put “IP:PORT”?

example: ig.proxyUrl = "290.292.28.22:8080";

But then where I put username and password? Thanks for the awesome lib!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
diazndccommented, Jun 26, 2020

@Nerixyz could you please provide an example of using a proxy with username/password for this repository? The documentation isn’t clear for this and the StackOverflow link above does not provide clarity.

I manage to enable ip authentication from my provider website so I didn’t need username and password I just did:

ig.state.proxyUrl = "http://727.38.288.2:8080"

Where 8080 is the port and 727.38.288.2 is the ip

If you need username and password what the stackoverflow page says is that you do this:

ig.state.proxyUrl = "http://myusername:mypassword@727.38.288.2:8080"

You just need to set that variable.

Btw thanks for the help Nerixyz

0reactions
RiaanJacobs76commented, Jun 26, 2020

@Nerixyz could you please provide an example of using a proxy with username/password for this repository? The documentation isn’t clear for this and the StackOverflow link above does not provide clarity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Set Up a Proxy Server on Your PC, Mac, or Web Browser
Press the Windows + I keys simultaneously to access the Windows Settings menu. · On Windows 10, click Settings > Network & Internet...
Read more >
How to Create Your Own Online Proxy Server in Minutes
First, open your Settings, then click the Network & Internet section. Click Proxy, then make sure Automatically detect settings is turned on.
Read more >
Connecting to a proxy server - IBM
Open Chrome. · Open the Customize and control Google Chrome menu. · Click Settings > System > Open proxy settings. · Use Internet...
Read more >
How to Set Up a Proxy in Windows 10 - Dummies.com
Set up a proxy manually · Open Settings. · Click Network & Internet. · Click Proxy. · In the Manual Proxy Setup section,...
Read more >
How to Connect to a Proxy Server - Alphr
On your computer, go to Start > Settings. Windows Start Menu · Click on the Network & Internet option. · Within the side...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found