Debian 9 application can't access external url

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a strange issue on my Debian 9 (KDE as window manager) : when I open an app like Telegram, Gitkraken or Atom, I can't access the internet externally; I get the error :



"impossible to connect to the host , the connection to the proxy server has been closed" from "KIO Client" (translated from french)



When I launch my apps with the sudo comand, the internet can be reached. I don't really like launching my apps with sudo, can you help me out?







share|improve this question






















  • I don't think it's a vendor problem, i have internet with firefox for example. It may be a privilege problem, and I never used privilege much. (or did I misunderstood your reply?)
    – Ronan Robineau
    Feb 27 at 11:21











  • Forget my comments, the question of things working as sudo is a good clue.
    – Rui F Ribeiro
    Feb 27 at 11:37










  • see my answer, reread your question better.
    – Rui F Ribeiro
    Feb 27 at 11:40






  • 1




    Please do not edit the question to add the solution, but accept the answer that helped you to resolve the problem or post a self answer (you need to wait a day before you can accept it), so question and answer are separated.
    – allo
    Feb 27 at 14:07














up vote
0
down vote

favorite












I have a strange issue on my Debian 9 (KDE as window manager) : when I open an app like Telegram, Gitkraken or Atom, I can't access the internet externally; I get the error :



"impossible to connect to the host , the connection to the proxy server has been closed" from "KIO Client" (translated from french)



When I launch my apps with the sudo comand, the internet can be reached. I don't really like launching my apps with sudo, can you help me out?







share|improve this question






















  • I don't think it's a vendor problem, i have internet with firefox for example. It may be a privilege problem, and I never used privilege much. (or did I misunderstood your reply?)
    – Ronan Robineau
    Feb 27 at 11:21











  • Forget my comments, the question of things working as sudo is a good clue.
    – Rui F Ribeiro
    Feb 27 at 11:37










  • see my answer, reread your question better.
    – Rui F Ribeiro
    Feb 27 at 11:40






  • 1




    Please do not edit the question to add the solution, but accept the answer that helped you to resolve the problem or post a self answer (you need to wait a day before you can accept it), so question and answer are separated.
    – allo
    Feb 27 at 14:07












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a strange issue on my Debian 9 (KDE as window manager) : when I open an app like Telegram, Gitkraken or Atom, I can't access the internet externally; I get the error :



"impossible to connect to the host , the connection to the proxy server has been closed" from "KIO Client" (translated from french)



When I launch my apps with the sudo comand, the internet can be reached. I don't really like launching my apps with sudo, can you help me out?







share|improve this question














I have a strange issue on my Debian 9 (KDE as window manager) : when I open an app like Telegram, Gitkraken or Atom, I can't access the internet externally; I get the error :



"impossible to connect to the host , the connection to the proxy server has been closed" from "KIO Client" (translated from french)



When I launch my apps with the sudo comand, the internet can be reached. I don't really like launching my apps with sudo, can you help me out?









share|improve this question













share|improve this question




share|improve this question








edited Feb 27 at 22:25









roaima

39.5k545107




39.5k545107










asked Feb 27 at 11:13









Ronan Robineau

11




11











  • I don't think it's a vendor problem, i have internet with firefox for example. It may be a privilege problem, and I never used privilege much. (or did I misunderstood your reply?)
    – Ronan Robineau
    Feb 27 at 11:21











  • Forget my comments, the question of things working as sudo is a good clue.
    – Rui F Ribeiro
    Feb 27 at 11:37










  • see my answer, reread your question better.
    – Rui F Ribeiro
    Feb 27 at 11:40






  • 1




    Please do not edit the question to add the solution, but accept the answer that helped you to resolve the problem or post a self answer (you need to wait a day before you can accept it), so question and answer are separated.
    – allo
    Feb 27 at 14:07
















  • I don't think it's a vendor problem, i have internet with firefox for example. It may be a privilege problem, and I never used privilege much. (or did I misunderstood your reply?)
    – Ronan Robineau
    Feb 27 at 11:21











  • Forget my comments, the question of things working as sudo is a good clue.
    – Rui F Ribeiro
    Feb 27 at 11:37










  • see my answer, reread your question better.
    – Rui F Ribeiro
    Feb 27 at 11:40






  • 1




    Please do not edit the question to add the solution, but accept the answer that helped you to resolve the problem or post a self answer (you need to wait a day before you can accept it), so question and answer are separated.
    – allo
    Feb 27 at 14:07















I don't think it's a vendor problem, i have internet with firefox for example. It may be a privilege problem, and I never used privilege much. (or did I misunderstood your reply?)
– Ronan Robineau
Feb 27 at 11:21





I don't think it's a vendor problem, i have internet with firefox for example. It may be a privilege problem, and I never used privilege much. (or did I misunderstood your reply?)
– Ronan Robineau
Feb 27 at 11:21













Forget my comments, the question of things working as sudo is a good clue.
– Rui F Ribeiro
Feb 27 at 11:37




Forget my comments, the question of things working as sudo is a good clue.
– Rui F Ribeiro
Feb 27 at 11:37












see my answer, reread your question better.
– Rui F Ribeiro
Feb 27 at 11:40




see my answer, reread your question better.
– Rui F Ribeiro
Feb 27 at 11:40




1




1




Please do not edit the question to add the solution, but accept the answer that helped you to resolve the problem or post a self answer (you need to wait a day before you can accept it), so question and answer are separated.
– allo
Feb 27 at 14:07




Please do not edit the question to add the solution, but accept the answer that helped you to resolve the problem or post a self answer (you need to wait a day before you can accept it), so question and answer are separated.
– allo
Feb 27 at 14:07










1 Answer
1






active

oldest

votes

















up vote
2
down vote













Somehow you have setup a (wrong?) proxy variable in your user, or you setup it up in another different network and is not working in the current.



You get way running software as root (sudo), because the root user environment is then different, and then a proxy is not defined. (btw, you should not run a browser as root, it is insecure)



Search in you user startup scripts for http_proxy and https_proxy directives, and comment them out.



Alternatively, you may have setup a proxy in the interface of some specific software.






share|improve this answer




















  • I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
    – Ronan Robineau
    Feb 27 at 11:49











  • The same comments apply to atom/gitwhatever/telegram.
    – Rui F Ribeiro
    Feb 27 at 11:51










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426909%2fdebian-9-application-cant-access-external-url%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













Somehow you have setup a (wrong?) proxy variable in your user, or you setup it up in another different network and is not working in the current.



You get way running software as root (sudo), because the root user environment is then different, and then a proxy is not defined. (btw, you should not run a browser as root, it is insecure)



Search in you user startup scripts for http_proxy and https_proxy directives, and comment them out.



Alternatively, you may have setup a proxy in the interface of some specific software.






share|improve this answer




















  • I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
    – Ronan Robineau
    Feb 27 at 11:49











  • The same comments apply to atom/gitwhatever/telegram.
    – Rui F Ribeiro
    Feb 27 at 11:51














up vote
2
down vote













Somehow you have setup a (wrong?) proxy variable in your user, or you setup it up in another different network and is not working in the current.



You get way running software as root (sudo), because the root user environment is then different, and then a proxy is not defined. (btw, you should not run a browser as root, it is insecure)



Search in you user startup scripts for http_proxy and https_proxy directives, and comment them out.



Alternatively, you may have setup a proxy in the interface of some specific software.






share|improve this answer




















  • I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
    – Ronan Robineau
    Feb 27 at 11:49











  • The same comments apply to atom/gitwhatever/telegram.
    – Rui F Ribeiro
    Feb 27 at 11:51












up vote
2
down vote










up vote
2
down vote









Somehow you have setup a (wrong?) proxy variable in your user, or you setup it up in another different network and is not working in the current.



You get way running software as root (sudo), because the root user environment is then different, and then a proxy is not defined. (btw, you should not run a browser as root, it is insecure)



Search in you user startup scripts for http_proxy and https_proxy directives, and comment them out.



Alternatively, you may have setup a proxy in the interface of some specific software.






share|improve this answer












Somehow you have setup a (wrong?) proxy variable in your user, or you setup it up in another different network and is not working in the current.



You get way running software as root (sudo), because the root user environment is then different, and then a proxy is not defined. (btw, you should not run a browser as root, it is insecure)



Search in you user startup scripts for http_proxy and https_proxy directives, and comment them out.



Alternatively, you may have setup a proxy in the interface of some specific software.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 27 at 11:35









Rui F Ribeiro

34.9k1269113




34.9k1269113











  • I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
    – Ronan Robineau
    Feb 27 at 11:49











  • The same comments apply to atom/gitwhatever/telegram.
    – Rui F Ribeiro
    Feb 27 at 11:51
















  • I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
    – Ronan Robineau
    Feb 27 at 11:49











  • The same comments apply to atom/gitwhatever/telegram.
    – Rui F Ribeiro
    Feb 27 at 11:51















I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
– Ronan Robineau
Feb 27 at 11:49





I don't use my browser on sudo, only my atom/gitkraken/telegram. I can access internet with my firefox as default user. In my /etc/profile, i don't have any http_proxy or https directives
– Ronan Robineau
Feb 27 at 11:49













The same comments apply to atom/gitwhatever/telegram.
– Rui F Ribeiro
Feb 27 at 11:51




The same comments apply to atom/gitwhatever/telegram.
– Rui F Ribeiro
Feb 27 at 11:51












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f426909%2fdebian-9-application-cant-access-external-url%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)