-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geocode.arcgis.com Bad HTTP Request #82
Comments
Looks like a Cross-Origin Resource Sharing (CORS) issue. This is a setting which is defined by the host and enforced by the browser. There really isn't much you can do to work around this and it is a security feature of the web. |
Okay, I followed your advice and created a SSL certificate for the local host by running the following command in PowerShell. Once I did that, I went to Microsoft Management Console (run mmc.exe in the run window) and went to File -> Add or Remove Snap-ins -> Certificates -> Add -> Computer account -> Local computer Under the Personal folder, I copied the localhost certificate there and pasted it in the Trusted Root Certification Authorities, closing the window and saving the changes. In IIS, I went to the page where WeatherStar is and went to Bindings -> Edit -> and changed http to https and set the SSL certificate to localhost. Then I went to https://localhost:XXX/ws4kp and it works perfect! |
@TheAwesomeGcdm great job!!! Thank you for posting detailed steps on what you did to solve your issue. 🧑💻😎 |
When trying to choose a location when hosting on a local server, I get a bad HTTP request, even though I can access the host on another tab.
Browser: Firefox
OS: Windows 11
The text was updated successfully, but these errors were encountered: