QueryException
PHP 8.1.10
9.34.0
SQLSTATE[HY000] [1045] Access denied for user 'ctsgbcom_cchnorth'#'127.0.0.1' (using password: YES)
I am facing an issue in cpanel The hosting is Hostbreak.
I have tried to fix :
using double for password and usersname in .env
clear cache
but not resolve this.
The issue has been resolved.
This issue has just come in only one hosting. the same project deployed into another hosting and domain works fine.
I contacted support and ask him for the scenario of this issue than support asked me for the public IP of my and added my IP to our firewall.
Just contact support for your hosting.
Thanks
Related
I have a React website hosted on Github Pages, and a Flask Server running to put information on my ArangoDB server which is hosted on a machine that has HTTP address lets call it (http://21.23.24.25:8352)
The problem is that I try to show images which are stored on my local server for e.g.: http://21.23.24.25:8352/data/images/image.jpg
and I'm getting an error: net::ERR_SSL_PROTOCOL_ERROR
How can I bypass this other than creating a new ArangoDB server hosted on another machine, or creating a SSL Certificate on the machine.
I also paid for the pythonanywhere subscription, I thought maybe it was required to bypass the SSL issue. Any ideas?
I have a website for a client which I am wanting to host on Heroku with a custom domain from https://www.names.co.uk/. https://www.names.co.uk/ has the domain name (example.co.uk) and a GeoTrust QuickSSL Premium Certificate connected to it.
I need the website to work from the following URLS and force HTTPS if someone uses HTTP:
http://www.example.co.uk
https://www.example.co.uk
http://example.co.uk
https://example.co.uk
I understand that names.co.uk does not support using CNAMES (which Heroku provides) on the root domain (example.co.uk) but I cannot figure out what I am doing wrong to prevent it from working.
I am unsure what domain names I need to add in Heroku each of them and whether I need to use the SSL certificate offered by Heroku. I also am unsure as to what I need to provide in names.co.uk in terms of A-NAMES, CNAMES and Web Forwards.
It would be much appreciated if anyone has any advice on how I can configure this properly, if it is even possible to get all these URLS to work with Heroku and Namesco.
Apologies if I haven't explained anything clearly, I'm relatively new to DNS and deployment and cannot seem to solve the issue by following Heroku's or Namesco's documentation.
Thanks in advance
Using Heroku's SSL certificate would make the process easier, so unless you have a reason to use Namecheap's SSL certificate, I recommend going with Heroku.
The Heroku certificate is automatically applied and Heroku automatically forces HTTPS.
It's recommended to use either example.com or www.example.com. Assuming you want to use the www subdomain this is how to proceed:
Redirect from example.com to www.example.com by following Namecheap's documentation on how to create a URL redirect.
Then follow the Heroku documentation to add your custom domain to Heroku:
heroku domains:add www.example.com
Then update your DNS settings. By default your DNS provider is Namecheap. See Namecheap documentation on how to create a CNAME record. Namecheap recommends against setting up a CNAME record for a bare domain, so if you want to use example.com as your preferred domain this step would be slightly different.
And that's it!
Keep in mind that the website will still be available on your Heroku domain: example.herokuapp.com. You may also want to redirect this to your preferred domain.
I have deployed my MERN application to Alibaba ECS instance. Is there any way to access it in the browser, just like AWS public DNS? In AWS you use the public DNS to access your deployed application. I am not sure what to use to achieve the same. Below is the NGINX config present in the /etc/nginx/sites-available/default. I am using Ubuntu 18.04.
Surprisingly, I was able to hit the APIs without any issue. you can check the pm2 logs below
I am new to cloud deployment. If I have missed anything or if you need more information please let me know. Any help would be highly appreciated.
Maybe you can find solution on this two articles on Alibaba Cloud documentation for that problem, if I understood your question correctly:
IP addresses of ECS instances within VPCs: https://www.alibabacloud.com/help/doc-detail/25434.htm
Connect to a Linux instance by using a username and password: https://www.alibabacloud.com/help/doc-detail/25434.htm
Hope this would help
I have got the problem. In ECS I didn't set up the security group for HTTP(port 80). When I added the security group and tweaked the NGINX configuration a bit, it worked like a charm. Marking my own answer as acceptable
This is a very critical issue.
I recently upgraded from Magento CE 2.2.5 to CE 2.2.6 using the Web Setup Wizard.
The upgrade went fine and the site is working.
When I try to access Web Setup Wizard in 2.2.6, I get a 404 Not Found response.
What I already tried:
I removed all files and contents from /var/
I cleaned Magento cache
I tried accessing the setup from a different browser
Tried solutions such as accessing through http and https and activated/deactivated HTTP Strict Transport Security
The Document Root points to /path/to/magento/ and not /path/to/magento/pub/
Please note that I have a test instance on a different machine, this one was upgraded to 2.2.6 using composer. On this instance, /setup/ is working fine.
Any suggestion?
It seems that you have tried almost everything.
You can also try to check the access to the setup folder in the root folder of Magento, and check the rules in the .htaccess file there. Hope it will help you.
I have a JSF application deployed on GlassFish
I am able to access the application from another computer
When I try to access the application from a mobile device (iPod Touch) , I got this error telling the server couldn't be found
The iPod is connected on Internet via my home router. Exactly as the other computers
Is there anything to configure in glassfish ?
Thanks for your advice.
I have find my solution :
The URL to access my web application is something like:
http://mymachinename:port/ApplicationName
PC can resolve DNS
iPod / iPad is not able to resolve the DNS
When I use the IP address instead of the machine name, everything works fine
Hope it will help someone else