Skip to main content

Questions tagged [http]

Hyper-Text Transport Protocol, the system used on the Internet for serving and retrieving pages from web sites

Filter by
Sorted by
Tagged with
1 vote
2 answers
66 views

Is there a way to restart a launchd service if it stops responding on a port?

I have a service configured via launchd to automatically restart when it crashes. Unfortunately it will sometimes hang, and stop working, without actually crashing. I can detect when this has happens ...
DNS's user avatar
  • 153
1 vote
1 answer
325 views

Safari says IP address isn't valid but other browsers can access it

I have a Raspberry Pi set up with WordPress using a reserved IP address 192.168.x.yyy and I don't have SSL set up yet, so only HTTP not HTTPS. When I try to go to that address (http://192.168.x.yyy) ...
for coder in woods's user avatar
1 vote
0 answers
202 views

Intermittent "Operation not permitted", "Unable to start the server" error while running 'safaridriver'

I'm encountering an intermittent issue, while trying to run safaridriver on OSX Sonoma. Here are the details of the problem: I ran sudo /usr/bin/safaridriver -p0 --enable in the beginning. After that ...
Nimish Bansal's user avatar
1 vote
0 answers
208 views

Secure web proxy (HTTPs) settings sending plain http request

I have my Secure web proxy (HTTPs) setting as following. Server: my.proxy.net Port: 5000 It looks like my proxy server gets a request, but gives error like this. http: TLS handshake error from my.ip....
FlashAgain's user avatar
0 votes
1 answer
721 views

Where does Safari persist the credentials of HTTP(S) Basic Authentication?

Some websites use HTTP basic authentication. How can you save the credentials of this kind of login in macOS Safari? Where does Safari persist the credentials?
porg's user avatar
  • 978
1 vote
1 answer
340 views

macOS Safari can not delete stored http digest password

I enter a site with HTTP authentication, and use my credentials, username and password, and selected "remember password" option. After that, site is always accessible without login, which is ...
Asain Kujovic's user avatar
0 votes
1 answer
912 views

Safari redirecting to http instead of https

When using Safari 14.0.3 on Mojave, if I paste https://gramhum.com in the address bar, I am redirected to greatfon.com, but the "https://" part disappears and the query is sent unencrypted ...
Dale Cooper's user avatar
1 vote
0 answers
552 views

Cannot access a web server of macos from my android smartphone on same network

On macos, I did the following. $ mkdir foo $ cd foo $ vi index.html $ cat <<EOF > index.html > <!DOCTYPE html> > <html> > <head> > <meta charset="...
gogogogogo's user avatar
4 votes
1 answer
2k views

How to stop Safari on macOS from using https when I want http, when it's not in the HSTS listing

When I try to visit certain sites and force http (for good reasons that do not need to be discussed here), Safari (macOS) forces the URL to use https - and since the site currently has no https ...
Thomas Tempelmann's user avatar
0 votes
1 answer
109 views

Why I can still access Internet after I set the the HTTP proxy to a unknow address?

Why I set the HTTP proxy to a nono-proxy IP address, I can still access the Internet? I follow this tutorial, at the time 2:08, you see there should be can not access the Internet. but I set to a non-...
244boy's user avatar
  • 561
2 votes
0 answers
79 views

Non-HTTPS websites don't work over Anker ethernet adapter since Catalina

I'm having a weird bug where my Anker USB-C hub is messing with the ethernet connection. I can only visit HTTPS sites and HTTP sites get redirected to a page saying: Router Behind Router Detected ...
Leo Adberg's user avatar
2 votes
0 answers
247 views

Run a local http(s) proxy from command line using built-in commands

We've been using Charles Proxy during the development of a product, but now need to be able to script/automate the same behaviour using command line tools on macOS. My understanding is that Charles ...
Andrew Ebling's user avatar
0 votes
0 answers
162 views

Site accessed by Intel Mac OS X and iPhone OS at the same time

I have created my own logging in a PHP script on my website. While doing this, I record a timestamp, IP address and HTTP referrer. I notice that I often have two hits as follows where it looks like an ...
Baz's user avatar
  • 135
3 votes
0 answers
583 views

How can I create a wifi hotspot which passes all traffics to local proxy server?

I have a mitmproxy server listening on port 9999 and my macbook pro is connected to internet with usb tethering. I want to make a wifi hotspot which forwards all request to the mitmproxy server. How ...
kdy's user avatar
  • 131
1 vote
0 answers
373 views

Lynx Browser & HTTP Get Ignore Timeout Options

I'm working on my wifi-wand command line utility that manages wifi on the Mac (https://github.com/keithrbennett/wifiwand), and am trying to better understand how captive portals are managed in Mac OS. ...
Keith Bennett's user avatar
0 votes
1 answer
200 views

Account with parental controls enabled breaks proxy use

I have a MacBook Air running Mojave (10.14.2). My router is running a proxy using Squid that works fine on the Mac's administrator account and a user account. When the user account has Parental ...
BolsonConstructionCo's user avatar
-2 votes
2 answers
5k views

Searching Internet from Terminal

Is it possible to search the internet from the terminal? For instance, could I write some command followed by say https://github.com and it will automatically open a browser with that site through the ...
Cody Rutscher's user avatar
3 votes
1 answer
2k views

Can we setup a local HTTPS Server in Mac OS X using swift

I want to setup a local HTTP Server running in my Mac OSX machine which should be able to handle requests that are coming from web browser. But I am not sure whether we can setup HTTPS server using ...
MacDeveloper's user avatar
1 vote
1 answer
237 views

Setting up HTTP printer in High Sierra

I have been using my printer connected to my DLINK DSL-2750U router and had no problem using it with two windows PCs. Recently I've got a new MacBook Air (2017 13-inch model) and having some trouble ...
Sri Harsha Chilakapati's user avatar
1 vote
1 answer
192 views

HTTP URLs aren't working on OS X Yosemite

My OS X Yosemite 10.10.5 Mac seems to only be able to hit HTTPS URLs, but not HTTP URLs. I tested another computer on my network, and that machine seems to work fine. I tested using this URL: http://...
RobKohr's user avatar
  • 124
0 votes
1 answer
6k views

How to set up macOS High Sierra "wfsctl" WebDAV to use with an application that uses basic authentication?

How does one go about setting up a macOS High Sierra wfsctl WebDAV server to use with application such as Password Wallet? Does any one have a good set of notes for setting up a wfsctl server? Use ...
marc-medley's user avatar
2 votes
1 answer
434 views

How to unregister "httpd" after "wfsctl stop"?

How does one properly unregister httpd from launching at reboot following a sudo wfsctl start and subsequent sudo wfsctl stop? Background: wfsctl is a "WebDAV File Sharing control utility" ...
marc-medley's user avatar
4 votes
1 answer
2k views

Post data to url using AppleScript

I am trying to take user input and send the data to a url on my site to do some checks against my database. In my php script I cant display any of the POST variables. it seems like the data is not ...
Nick's user avatar
  • 163
17 votes
2 answers
7k views

How to change Safari HTTP header Accept-Language?

In Firefox Accept-Language is set globally for the browser in the general preferences or via an extension like "Modify Headers" for more frequent changes. But how to do that in Safari? Safari. On ...
Gustavo's user avatar
  • 645
1 vote
0 answers
718 views

Macbook Pro not loading insecure webpages/content in any browser

Forgive me if this is the wrong place to ask this, but I've run out of options. Within the past week or two my web browsers will not load anything unless it has 'https' in front of it. I am a web ...
Ty Bailey's user avatar
  • 111
0 votes
1 answer
113 views

MacBook Air - unable to access websites without http/https

I am using a MacBook air and I am unable to go to websites unless I specify http or https My version is 10.10.5 Websites which automatically have https work like youtube.com and netflix.com cnn.com ...
H P's user avatar
  • 1
0 votes
3 answers
3k views

macOS Server http(s) ports bound

I've got a Mac mini 2014 (running macOS Sierra 10.12.2) with the Server.app installed. I was planning on hosting a webserver on this device on the default http(s) ports. However, I've found that one ...
irundaia's user avatar
  • 101
18 votes
7 answers
24k views

Are there less expensive (or free) alternatives to Charles proxy?

Does anybody know a free alternative to Charles (an HTTP debugging proxy), preferably with a GUI and similar features? Features that I'm interested in: Inspect HTTP requests/responses (header, body, ...
iosdude's user avatar
  • 351
4 votes
1 answer
771 views

All HTTP requests get ERR_CONNECTION_REFUSED, HTTPS works - How to troubleshoot?

Trying to open a http website on any web browser (event telnet) gives a ‘ERR_CONNECTION_REFUSED’ or ‘connection timed out’. However, the same sites can be opened using https. I tried doing a ...
squgeim's user avatar
  • 143
0 votes
1 answer
85 views

Serve Application from my Mac over LAN

I am trying to serve an application I'm developing over the LAN at work. I'm doing this using Apache and this is working fine locally, but when I try to access from another client on the network the ...
Cathal's user avatar
  • 101
1 vote
2 answers
2k views

Python socket program taking forever to run

I tried to run following program on my Mac terminal. import socket mysock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) mysock.connect(('www.py4inf.com', 80)) mysock.send('GET http://www....
Amrit Joshi's user avatar
1 vote
1 answer
387 views

Getting full HTTP request from website

I am doing a project in which my Arduino needs to connect to a simple web page and retrieve the content of a text file. I want to use curl to see the response I would get if I sent the following HTTP ...
Richard Hausman's user avatar
0 votes
1 answer
196 views

Safari error in Intranet Http & Https

If I access my company's intranet using the https URL on Safari, the multiple login request doesn't happen (One time login only). But, the multiple login request happens when I use the http URL. Why ...
user3564082's user avatar
56 votes
6 answers
69k views

Safari Redirecting http to (non-existent) https

Safari forces a redirect to the https version of a site I previously visited via https. However, the https site no longer works and there is no way to prevent Safari form trying to load it. Here is ...
Richard Stelling's user avatar
0 votes
1 answer
239 views

Web and outbound ssh stopped working but ping and other network services work

Our home iMac running 10.6 suddenly stopped loading web pages. Also when trying to do a secure shell login to another host in Terminal.app it gives the error ssh: connect to host [hostname] port 22: ...
John's user avatar
  • 11
0 votes
1 answer
149 views

Does Apple accept apps which has a simple HTTPServer or FTPServer for transferring files via wi-fi?

I don't know is question silly but I couldn't find any answer. I am also an android developer and I built a file sharing application (for android) which allows two devices in the same wifi network to ...
charty's user avatar
  • 166
0 votes
1 answer
415 views

Cannot access Google services through HTTP (only HTTPS)

I recently reformatted my hard drive and installed OS X 10.10 Yosemite on my Late 2013 Macbook Pro. So far everything's great, but within the last two days I haven't been able to access any google ...
Kevin's user avatar
  • 101
0 votes
2 answers
3k views

Monitor HTTPS traffic on an ios device or maybe remotely on the Internet

I want to monitor HTTPS network traffic on the Internet and not Intranet. I would use a tool like Charles or Fiddler and setup a proxy but I could only host through Intranet. Plus, I have the issue ...
Berlin Brown's user avatar
1 vote
0 answers
10k views

Is there a Compatibility Mode for iOS Safari I can set?

I have an IIS hosted website. With iOS 8, some of the page looks ugly now in Safari. Until we have the resources to determine what's wrong so we can fix the website, I was hoping I can set an HTTP ...
ewitkows's user avatar
  • 111
3 votes
3 answers
2k views

Apple Shellshock patch for 10.6?

I am running a small HTTP server (Apache) off my Mac mostly as a hobby. If it becomes compromised it isn't the end of the world but it is something I would certainly like to prevent. I set up a ...
Reed Espinosa's user avatar
4 votes
0 answers
1k views

Using Charles web proxy with iPhone hotspot

I've been using Charles to sniff the requests that my iPhone is making for some time now. I've always got it to work by connecting both my iPhone and my MacBook to the same wireless network and then ...
Lance's user avatar
  • 281
1 vote
0 answers
390 views

MacBook Pro issue with local IP download over wifi

I am facing a strange situation on my MacBook Pro. I'm serving a file via http (whatever server I use, I get the same problem: apache, node.js, ...): [http://localhost:8080/myFile] with my wifi ...
pbr's user avatar
  • 111
1 vote
1 answer
996 views

Is there a way to log outbound HTTP requests that pass through my Airport Extreme?

My wireless router is an Airport Extreme. I would like to log all outbound HTTP requests (leaving my Mac for an internet web server) for later review. Is that possible?
james.garriss's user avatar
1 vote
3 answers
263 views

Can a Mac be controlled using an API?

I'm developing a plugin for Hubot (a scriptable chatbot) to take a URL, and display it on a Mac Mini connected to a TV in my office. However I'm not actually sure how feasible this is. Hubot is able ...
shauneba's user avatar
  • 243
2 votes
1 answer
70 views

How can I change web page requests coming from an application?

I'm using an app that makes http requests for content. I'd like to capture those requests and change them on the fly, so that a different request goes out to the http server, and thus different ...
Sparr's user avatar
  • 1,119
0 votes
2 answers
100 views

HTTP Get is not working stable after Netboot

I am booting a Netboot Image with a MacMini 5.1, after the system is up a shell script calls a server via curl. At the moment the Internet connection is up and running. I verify that doing a ping to ...
Dukeatcoding's user avatar
7 votes
5 answers
43k views

Access iCloud mail via http from iPhone

There are times when you can't use any TCP ports other than 80 (HTTP) or 443 (HTTPS), so you can't use Mail accounts that communicate with iCloud via IMAP/POP3/SMTP. But when you go to iCloud.com, it ...
Uko's user avatar
  • 957
0 votes
3 answers
217 views

How can I convince Safari to be responsible for ttp:// URLs as well as http:// URLs?

When somebody sends me a URL in an email, it is opened by Safari. But often people make a mistake when copying the links (how I do not know) and the URL starts with ttp:// instead of http://. Is ...
Andrew J. Brehm's user avatar
0 votes
3 answers
671 views

Safari (6) and HTTPS

Is there any method to make Safari (6) trying to connect to a website with HTTPS connection and switch to HTTP if HTTPS is not supported? (See HTTPS Everywhere for Firefox).
user avatar
26 votes
7 answers
93k views

Safari can't connect to https

Safari suddenly can't connect to any HTTPS site because it "can't establish a secure connection". This is on an administrator account, not a managed account. A different administrator account is ...
TJ Luoma's user avatar
  • 20.7k