Difficulty getting error when running flutter doctor - download

It ran smoothly in the beginning, but after a while I get this :
Downloading windows-x64 tools...
Download failed.
URL:
https://storage.googleapis.com/flutter_infra/flutter/1c26bf8c4b55f4fa5f0d175768a1a0cc115c70b2/windows-x64/artifacts.zip
Error: 403 Forbidden"
I have tried to change flutter directory, but it didn't help.

If you are behind a proxy or firewall follow the instructions in these documents
https://flutter.io/community/china
https://www.dartlang.org/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall
export https_proxy=hostname:port
https://github.com/flutter/flutter/wiki/Workarounds-for-common-issues#hot-reload-not-working
export NO_PROXY=127.0.0.1,localhost

I had Same issue and i resolve that with do following tips.
if you are Forced to use proxy for any reason, you need to set proxy true.
to do that, at first run this in terminal:
On Linux/macOS:
export https_proxy=hostname:port
On Windows Command Prompt:
set https_proxy=hostname:port
On Windows PowerShell
$Env:https_proxy="hostname:port"

I am using linux ,
in terminal i ran
export https_proxy=10.32.0.1:8080
// It is my proxy:port
and then ran
flutter run

Related

Jenkins with flutter 'flutter clean' is showing 'Operation not permitted'

I was trying to do CI with Jenkins for Flutter project on MAC.
I have added the environment variables for HOME, ANDROID_HOME and PATH. But, flutter commands are not working. They are showing 'Operation not permitted'.
This is exact error:
bash: /Users/mdhasnain/Documents/flutter/bin/flutter: Operation not permitted
What I have tried so far:
1. Changed admin user's sudo command NOPASSWD and tried flutter command with sudo.
2. Tried to change flutter file's permission in flutter/bin folder: chmod a+x+w+r /Users/username/Documents/flutter/bin/flutter
3. Also tried to change the permission manually.
N.B. flutters commands are working fine from terminal.
I am stuck. Advance thanks for your help.
You need to grant Java with Full Disk Access privileges.
Please see: https://stackoverflow.com/a/62678687/1844385

openssl config failed: error:02001003:system library:fopen:No such process in Appcelerator studio

I'm getting this error in appcelerator studio:
openssl config failed: error:02001003:system library:fopen:No such process
I could not find anyone with the same problem so far.
Tried a few suggestions from the npm repository issues:
Remove environment variable OPENSSL_CONF using command
set OPENSSL_CONF=
This works but after restarting the computer the error is back again.
Removed OPENSSL_CONF from Environment Variables
Go to the Windows Environment Variables and remove OPENSSL_CONF from the System variables. Save it and restart the editor and it works like a charm.
It looks like a NPM error with OpenSSL according to this SO question: https://stackoverflow.com/a/52188374/5193915
or the included GitHub link (https://github.com/npm/npm/issues/17261)
I had the same issue , you should install open ssl :
openssl

ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process

i am trying to configure debugging port for google chrome extension for Visual studio for client side debugging in terminal using below commands and getting the below error,
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
[96138:85251:0321/103001.249367:ERROR:browser_gpu_channel_host_factory.cc(121)] Failed to launch GPU process.
Created new window in existing browser session.
i have tried export BROWSER=google-chrome too, but its not working. i hope i have to type this command in terminal . I am using MAC high Sierra , How can i resolve it.
I had a similar error when working with the bokeh python3 library on Ubuntu 16.04. I found a solution on a thread for jupyter notebook on github.
From: Github Issue
I had this same error
("ERROR:browser_gpu_channel_host_factory.cc(108)] Failed to launch GPU
process"). After running jupyter notebook, I would get a new tab in
google-chrome, but it would be blank.
Following but slightly modifying #wewan's advice, I ran "export
BROWSER=google-chrome". Then running jupyter notebook worked as
expected. I am using Ubuntu 16.04, Google Chrome 62.0.3202.62, and
Jupyter 4.3.0. Also, if this works, you'll obviously want to add the
export command to your .bashrc or .bash_profile
I did a raw export at the command line, and it corrected my issue.
export BROWSER=google-chrome
If this works, you will want to add this to your profile. I am not well-versed with Macs, but I believe there is a .bashrc file to which you can add the export.

Installing Blackfire prob issue

Having some issue trying to get Blackfire.io set up on my homestead box.
Followed the installation guide a couple of times now, and no having no errors.
When I try to use the chrome companion I get the follow error ...
Are you authorized to profile this page? Probe not found, invalid signature
Also when I try to check out what version of the prob I am using via php --ri blackfire I get the follow message despite installing it as per the guide
Extension 'blackfire' not present.
Any ideas!?
Many thanks!
in my case (i'm using vagrant) this helped:
in file
/etc/php5/mods-available/blackfire.ini
add
extension=blackfire.so
In my case, I had to check the black-fire agent status, and when I found out it was not active I restart it and it works fine.
To check the status:
sudo /etc/init.d/blackfire-agent status
To restart :
sudo /etc/init.d/blackfire-agent restart
I had the same problem when installing blackfire probe as mentionned in the official documentation. And here is how i solved it.
Since I am using MAMP's php in my terminal i installed the PHP Probe manually instead of installing it with homebrew.
In fact in the first place i tried to instal it with homebrew and that's how i get the same error as you :
When i run this command :
php --ri blackfire
I get :
Extension 'blackfire' not present.
To fix this issue i had to install the probe manually by following theses steps:
download the probe library as mentionoed in the blackfire doc
You should have a file like this : blackfire-php-**********.so
rename it to: blackfire.so
execute this command in your terminal, it should tell you where you can put the downloaded file:
php -i | grep 'extension_dir'
move the blackfire.so file to the mentionned directory.
Close all your terminal windows and restart mamp
Execute php -m in your terminal; if you can see blackfire in the list that means that your extension is working correctly.

Installing sensu, sensu-dashboard does not install

I am installing a sensu server inside a docker container running ubuntu 14.04 but when I install it for some reason it does not install the sensu-dashboard.
When I run the following command to set up the defaults I get a file does not exist error
> Command: update-rc.d sensu-dashboard defaults
Error: update-rc.d: /etc/init.d/sensu-dashboard: file does not exist
I have searched for the file but does not seem to be installed anywhere.
Has anyone else had this problem before when installing sensu or know how to fix it?
Thank you
The default Dashboard was removed on July 28th so you missed it by a day!! :( You now have to use a different dashboard. Uchiwa is a great choice and is under very heavy development, so I am sure it will continue to become more feature rich.
link to uchiwa's github page
The default Dashboard was removed that is true but if want to use sensu-dashboard then go for Sensu-Enterprise.
Here is the link: http://sensuapp.org/enterprise

Resources