having problems with installing composer - composer-php

I'm having problems installing composer. The error being displayed is:
Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org
Proxy http####://10.50.7.154:3128### [from Internet Settings] failed with errors:
Failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Request to https://getcomposer.org/installer failed with errors:
Failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

That's a proxy problem, right there. Please step away from the building you are in and find a regular coffeeshop with regular broadband WiFi.
Hope this helps.

Related

Can't connect to external API using Laravel Sail

The project was working fine, suddenly I couldn't connection to Stripe nor Mailtrap APIs.
Stripe error
Could not connect to Stripe (https://api.stripe.com/v1/setup_intents). Please check your internet connection and try again. If this problem persists, you should check Stripe's service status at https://twitter.com/stripestatus, or let us know at support#stripe.com. (Network error [errno 6]: Could not resolve host: api.stripe.com)
Mailtrap error
Connection could not be established with host "smtp.mailtrap.io:587": stream_socket_client(): php_network_getaddresses: getaddrinfo for smtp.mailtrap.io failed: Temporary failure in name resolution
I tried to delete the containers and build them again with --no-cache
sail down -v
sail build --no-cache
But I got an error running apt-get commands because it can't reach to the endpoint.

Can't connect to Solana devnet/testnet

I've been trying to connect to solana devnet/testnet through cli and python solana SDK, but both without success, getting below error from CLI:
"Error: RPC request error: cluster version query failed: error sending request for url (https://api.devnet.solana.com/): operation timed out"
and from python SDK:
"requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.devnet.solana.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f492ffa4490>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"
I CAN connect to localhost using the same method with CLI. Strangely, I can't even find similar issues by googling, so I had to ask here by myself.
Any help will be much appreciated.

WebSocket connection to 'protocol=7&client=js&version=4.3.1&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I was implementing laravel websockets package in project it is working fine in my local machine but on server first it was giving error of Connection timeout That problem was solved when add TCP port in aws security group but after that it starts giving new error
WebSocket connection to 'ws://52.64.101.38:6001/app/ABCDEF?protocol=7&client=js&version=4.3.1&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Here are errors I am getting in console when try to connect websocket server
I was searching about this error i found this github thread . Which is saying try to bound with 0.0.0.0 but I dont know what does it means,
https://github.com/GeniusesOfSymfony/WebSocketBundle/issues/251
I was also getting this error on local machine but was later resolved when i downgrade package version 1.6
NOTE: I am using ubuntu server aws services

Can Hyperledger-fabric samples be hosted in Windows 10 Home edition?

I get errors while building your first network
I was able to run this command ./byfn.sh generate and can see peers and orderer generated.
With the command ./byfn.sh up I get the following error:
ERROR: SSL error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) ERROR !!!! Unable to start network.

Failed to open TCP connection to 127.0.0.1:9515

I'm new to Ruby, and I'm getting the following error when I try to execute my script
Failed to open TCP connection to 127.0.0.1:9515
I got some posts related to the same error but all of them are for Linux or Mac. I'm using Windows.
Any idea?

Resources