Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ayush-kaushik
Contributor
Contributor

How to disable proxy while connecting to gateway

As I don't have an proxy on my server, but I have accidently added an proxy url which is invalid and now my gateway is not able to make a successfull connection-

Ayushkaushik_0-1724325337630.png


I have also tried a command mentioned in a forum to disable proxy but it throws an error that no proxyurl value was passed-
'.\connectoragent qcs set_config --proxy_url ""'

Labels (2)
2 Replies
diegozecchini
Specialist
Specialist

Hello!

To solve the issue of disabling the proxy while connecting to the gateway you can try the following steps:

Check existing proxy configuration: First, verify the current proxy settings to ensure the proxy URL is set incorrectly. You can usually do this via the command line.

.\connectoragent qcs get_config --proxy_url
This command should show you the current proxy configuration.

Disable proxy conf: Since the command you tried resulted in an error, it may be related to the way the command was structured or due to the environment setup. Here's another approach you can try:


.\connectoragent qcs set_config --proxy_url "null"
Or you can try:
.\connectoragent qcs set_config --proxy_url none
These commands set the proxy URL to null or none, effectively disabling it.

Reset conf to default: Some tools allow resetting the configuration to default, which can remove any proxy settings:
.\connectoragent qcs reset_config
Be cautious with this command, as it may reset other settings as well.

Manually edit conf file: If you have access to the configuration file where the proxy URL is stored, you can manually edit this file to remove or correct the proxy setting. The file's location may vary, but it's usually in the installation directory or a specific configuration folder.

Restart the service: After making changes, ensure that you restart the relevant service to apply the new configuration.
net stop QlikConnectorService
net start QlikConnectorService

mshann01
Creator
Creator

That looks like the correct way to disable the proxy assuming you restarted after that step.  You can use 

connectoragent qcs show_config

to confirm your settings and make sure there's no proxy_url and proxy_username populated.  If it's still not working, you may want to uninstall and reinstall from scratch since it's probably quicker than troubleshooting.