desktop
desktop copied to clipboard
[Bug]: Can not retrieve http://example.com on MacOS m1
What happened?
I can not access http://example.com out of desktop app
Steps to reproduce?
Installed app,
opened it,
entered http://example.com into address bar,
hit "Send"
got
"Connection refused
Check the URL and try again."
Message
What did you expect to happen?
See example.com site being loaded into the app as online version shows.
Platform
macOS
HTTPie Desktop version
2022.5.1
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Don't you have any relevant records in your /etc/hosts
? I can't reproduce the problem on my m1 macbook
Nothing related to example.com, moreover I can reach that site via web version, or any other way
btw, from terminal:
http http://example.com
http: error: ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x101e8d810>: Failed to establish a new connection: [Errno 61] Connection refused')) while doing a GET request to URL: http://example.com/
Now it gives status 400 Version 2023.3.0 (2023.3.0)
http --version 3.2.1
http http://example.com
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 480987
Cache-Control: max-age=604800
Content-Encoding: gzip
Content-Length: 648
Content-Type: text/html; charset=UTF-8
Date: Thu, 29 Jun 2023 14:44:21 GMT
Etag: "3147526947+gzip"
Expires: Thu, 06 Jul 2023 14:44:21 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (nyb/1D13)
Vary: Accept-Encoding
X-Cache: HIT
<!doctype html>
<html>
<head>
...