After installing MAMP 4.0 for mac. I click on "Start Servers", then chrome shows a page (http://localhost:8888/MAMP/) with (Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.) The same thing when I click on "Open WebStart Page".
Related
I'm working on several websites locally on my Mac. They all use PHP. Using MAMP PRO I would like to be able to set it up, so that I can see all the websites in browsers on my computer.
In MAMP PRO I have clicked 'Add Host'. Then named the site (I presume this can be anything?). Then chosen the existing website folder as the 'Document Root' and saved the new host. But when I click 'Open' I get the following message:
Safari can't find the server. Safari can't open the page "https://www.lastveneer:8888" because Safari can't find the server "www.lastveneer". (lastveneer was the name I gave it)
How do I add an existing website to MAMP PRO?
I am trying to configure one localhost using MAMP Pro (6.x) on MacOS. The SSL checkbox is also yes but when I load the site, it shows "Error code: SEC_ERROR_UNKNOWN_ISSUER" in the Firefox and same error in console of Chrome.
Attached are the error screenshots from Chrome, Firefox and localhost settings from MAMP Pro.
Stack info
MAMP Pro 6.x.
Mac OS Monterey
WordPress (siturl and homeurl in DB are using https. wp-config.php forcing https too)
hostname: movecn.dev
What I tried till now?
Tried Self-signed certificate
Tried ports (80, 443, 8890)
I figured it after spending hours and hours. MAMP / MAMP pro creates "MAMP_PRO_Root_CA" which suppose to be added and trusted in MACos keychain. It will be used to sign all the future/custom SSL certs.
In my case, "MAMP_PRO_Root_CA" was already added in the keychain but it was not trusted by the system. Steps to resolve.
Open Keychain Access and click "System Root" left side
Click "Certificates" on the top and then search for "MAMP_PRO_Root_CA" select and click "Get info"
In Trust section/dropdown, choose "always trust"
close it. (It may ask for your password etc)
Close and restart your browser.
I have a nodejs server and ionic client.
When I run my server with "node ." and go to http://localhost:3000/#/login everything works fine.
When I run my client with "ionic server" the application loads in my browser and I see my login screen, but when I enter the details and click login I see in my chrome debug console :
I notices that the same happens for any button that needs to send a request to the server.
I tried adding <allow-navigation href="*"> to my config.xml and it didn't help, also tried to play with the ip and port with no luck.
Any idea how I can solve this?
I am creating a simple app using Eclipse and Blackberry JRE 7.0 as per the example given at:
http://docs.blackberry.com/en/developers/deliverables/11958/Configure_a_browser_field_825671_11.jsp
I am trying to load a simple HTML page hosted on a remote server inside browser field in the app.
When running the app on 9930 Simulator I always get the error 'Local connection timeout after 120000 on simulator'. The same remote page shows up fine on the web browser of the same simulator..
I am making sure to start the MDS simulator.
The same link shows up fine in simulator browser. Its only when using browserfield, I am having the problem.
I get the folling error when clicking the icon to launch the app:
Error displaying content for: http://yahoo.com
Error message: java.lang.runtimeException:ApplicationRegistry:waitFor
(0xd0fe7d7338fourd7f0d) timeout
....
On waiting further I get the 'Local connection timeout error..
I know that in Android one has to enable internet connection when using the webview in the manifest file - is there any similar setting one has to do in blackberry?
I tried to run the BrowserField demo app on 9930 (JRE 7.0.0) and encounter the same issues as you did. On the other hand, the demo worked fine on 9800 (JRE 6.0.0). I tried again on 9930 and noticed that though I definitely enabled MDS (enabled the 'Launch Mobile Data System Connection Service (MDS-CS) with simulator' in the Run/Debug Configurations in Eclipse), the MDS window didn't appear which seemed very strange.
I googled a little and found this post on BlackBerry's forums. According to this post:
An incorrect version of MDS-CS simulator was included in 7.0. To correct it you can delete it and copy the version from 6.0.
Well done, RIM!
Then, I deleted the MDS folder from JRE 7.0.0 and copied the one from JRE 6.0.0 as described in the aforementioned post. Closed and rerun simulator and voilà, the MDS window appeared. Rerun application, and everything worked like a charm!
Why chrome is not showing my canvas application on facebook ?
It will show it when you surft direct to it om our domain. But it will give the error below when accessing it it through the apps.facebook.com domain.
We are running on a self signed certificate. Using Firefox on fb canvas app gives you an option if i want to continue surfing an insecure site. Chrome will show an error with no options.
This webpage is not available
might be temporarily down or it may have moved permanently to a new web address.
Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.
Google chrome version 16.0.912.63 m
Had the same problem and solved it by going to my local canvas site, exported the certificate (as p7b) and imported it again into Chrome. There was an older local certificate installed, maybe that was the problem.