Chromium cannot connect to Internet when using custom useragent string
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Chromium cannot connect to Internet when using custom useragent string
When setting a custom useragent in chromium via the command-line, I cannot connect to the internet. Chromium tells me that it is unable to contact the proxy server. I am not using a proxy server of any kind, however. Here is the full message:
Quote:
Unable to connect to the proxy server
A proxy server is a server that acts as an intermediary between your computer and other servers. Right now, your system is configured to use a proxy, but Chromium can't connect to it.
Here are some suggestions:
If you use a proxy server, check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server, adjust your proxy settings: Go to the wrench menu > Settings > Show advanced settings... > Change proxy settings... and make sure your configuration is set to "no proxy" or "direct."
Error 130 (net::ERR_PROXY_CONNECTION_FAILED): Proxy server connection failed.
Here is how I launch Chromium:
Code:
chromium --user-agent="Arch/Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.81 Safari/537.1"
Furthermore, I get this error on the command-line every time I launch Chromium.
Code:
[16516:16527:22661126624:ERROR:object_proxy.cc(495)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/NetworkManager: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
Thanks! This worked! However, I am still puzzled as to why it does not work on the command line... I'll look into this a bit more before marking it solved as it is not entirely solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.