How do i solve laravel new command 403 error? - laravel

When I've used "laravel new" command. Every time it shows this error -
In RequestException.php line 113:
Client error: GET http://cabinet.laravel.com/latest.zip resulted in a 403
Forbidden response:
new [--dev] [-f|--force] [--] []
I've tried to fix this by composer update and laravel installer update but this error doesn't fixed.
In RequestException.php line 113:
Client error: GET http://cabinet.laravel.com/latest.zip resulted in a 403
Forbidden response:
new [--dev] [-f|--force] [--] []
Please give me the solution of this problem.

Looks like a problem with the connection (firewall or anything else).
Have you tried to check http://cabinet.laravel.com/latest.zip link in your browser or to download it in a console?
wget http://cabinet.laravel.com/latest.zip
Both options should start the download.

Related

Laravel websockets throwing curl error when trying to publish an event

Good day everyone, i have setup laravel websockets but when i try to publish a public event i get this curl error
cURL error 77: error setting certificate verify locations:\n CAfile: /etc/ssl/certs/ca-certificates.crt\n CApath: /etc/ssl/certs..
if i change the filename of my certs to ca-certificates.crt.. the websocket wont connect and when i try to publish event, it throws the curl error
Pusher error: cURL error 35: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure..
What do i need to do to solve this...Thanks

composer-playground EACCES error when lauching

When I'm trying to start composer-playground from ubuntu I got the error:
$ composer-playground info: [Hyperledger-Composer] :LoadModule
:loadModule() Loading composer-wallet-filesystem from
/home/rui.oliveira/.nvm/versions/node/v8.11.3/lib/node_modules/composer-playground/node_modules/composer-wallet-filesystem
info: [Hyperledger-Composer] :PlaygroundAPI :createServer()
Playground API started on port 8080 events.js:183
throw er; // Unhandled 'error' event
^
Error: EACCES: permission denied, open '/home/...log'
When I go to the log file the only entry I've got is:
2018-09-21T20:38:52.508Z ERROR :HLFConnectionManager
:fabric-client() [ChannelEventHub.js]: _connect - timed out
after:300000 {}$
My current log level is: composer[debug]:*
I'm using REST Server with oauth and multi-user and I can do GET or POST with success (HTTP200) but when I do a POST transaction nothing is set to the peers.
Can someone help trying to debug this?
EACCES is permission denied but not sure what is really being denied here...
Thanks in advance.

ProxyAuthentication fails while updating conda

I keep getting an error while updating conda:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/r/noarch/repodata.json.bz2
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
ProxyError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443):
Max retries exceeded with url:
/pkgs/r/noarch/repodata.json.bz2 (
Caused by ProxyError(
'Cannot connect to proxy.',
OSError('Tunnel connection failed: 407 Proxy Authentication Required',)))",
),
)
A reportable application error has occurred. Conda has prepared the above report.
Upload did not complete.
I tried this in the .condarc file
proxy_servers:
http: http://proxy.corp.local:8080
https: https://proxy.corp.local:8080
and
proxy_servers:
http: http://user:pass#corp.com:8080
https: https://user:pass#corp.com:8080
ssl_verify: True
ssl_verify: False
Regards
Bjorn
I also got the same error message and it is solved after googling so much.
Steps for solving the problem is given below
Create a .condrac file using the conda config command in command prompt or use a text editor to create a text file. I used conda config for creating the .condrac file
You can add following line into the .condrac file located in your user home directory or home
directory
proxy_servers:
http: http://username:password#proxyIP/Proxy URL:port no
https: http://username:password#proxyIP/ProxyURL:port no
ssl_verify: True
Same file can be copied into your anaconda home directory.(C:\ProgramData\Anaconda3 in my case)
Then run > conda update conda command from your prompt
Then you will be getting the result like below. C:\Users\USER.DESKTOP-BQVL8L4>conda update conda
Solving environment: done
Rerun your installation command. This solution worked well for me. Please try and let me know.
Copy files libcrypto-1_1-x64.dll and libssl-1_1-x64.dll
from the directory ./Anaconda3/Library/bin/
to ./Anaconda3/DLLs.
This method solved the problem that I had

Magento worldpay Error ukdc1-pz-cen09:callbackFailureEmail-1312:MerchReq-626-40

I have installed WorldPay Extension and its was working fine but from last few days I face issue. Response URL not call and through fatal error
I got email each time from worldpay and they mentioned they got following error
"
failed CAUSED BY Received fatal
alert: internal_error
Server Reference: ukdc1-pz-cen09:callbackFailureEmail-1312:MerchReq-626-40
"
can one have idea how to solve this?

getting Error while installing the magento2

I am installing the Magento and followed all the steps and passed all the requirements, yet it throws an error at the last step of installation.
Error Log:
[ERROR] exception 'InvalidArgumentException' with message 'Invalid backend frontname ' in /var/www/mysite/magento2/lib/internal/Magento/Framework/App/DeploymentConfig/BackendConfig.php:32
You can solve this error by giving full permissions right (777) to magento folder. Also check your database name.

Resources