WebUI is not opening. not able to hit the mock URL

Issue #66 new
Former user created an issue

karishma@karishma-VirtualBox:~$ sudo docker pull localstack/localstack Using default tag: latest latest: Pulling from localstack/localstack Digest: sha256:2463f11a25188ca2f94f1206fa9bebd763663cb85707846b1f3eb8b83ac4691d Status: Image is up to date for localstack/localstack:latest karishma@karishma-VirtualBox:~$ sudo docker run localstack/localstack Waiting for all LocalStack services to be ready 2019-09-25 10:10:34,489 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2019-09-25 10:10:34,493 INFO supervisord started with pid 13 2019-09-25 10:10:35,496 INFO spawned: 'dashboard' with pid 19 2019-09-25 10:10:35,498 INFO spawned: 'infra' with pid 20 (. .venv/bin/activate; bin/localstack web) 2019-09-25 10:10:35,519 INFO success: dashboard entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) (. .venv/bin/activate; exec bin/localstack start --host) 2019-09-25 10:10:36,521 INFO success: infra entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Waiting for all LocalStack services to be ready 2019-09-25T10:10:43:WARNING:bootstrap.py: Unable to load plugins from file /opt/code/localstack/.venv/lib/python3.6/site-packages/localstack_ext/plugins.py: No module named 'localstack_ext.utils.dashboard' 2019-09-25T10:10:43:ERROR:localstack.services.generic_proxy: Exception running proxy on port 8081: [Errno 13] Permission denied: '/tmp/localstack/server.test.pem' Traceback (most recent call last): File "/opt/code/localstack/localstack/services/generic_proxy.py", line 382, in run_cmd combined_file, cert_file_name, key_file_name = GenericProxy.create_ssl_cert(serial_number=self.port) File "/opt/code/localstack/localstack/services/generic_proxy.py", line 399, in create_ssl_cert return generate_ssl_cert(SERVER_CERT_PEM_FILE, serial_number=serial_number) File "/opt/code/localstack/localstack/utils/common.py", line 803, in generate_ssl_cert save_file(target_file, file_content) File "/opt/code/localstack/localstack/utils/common.py", line 622, in save_file with open(file, mode) as f: PermissionError: [Errno 13] Permission denied: '/tmp/localstack/server.test.pem'

Starting local dev environment. CTRL-C to quit. 2019-09-25T10:10:43:WARNING:bootstrap.py: Unable to load plugins from file /opt/code/localstack/.venv/lib/python3.6/site-packages/localstack_ext/plugins.py: No module named 'localstack_ext.utils.dashboard' Starting mock ES service (http port 4578)... Starting local Elasticsearch (http port 4571)... Starting mock S3 (http port 4572)... Starting mock SNS (http port 4575)... 2019-09-25T10:10:45:INFO:localstack.multiserver: Starting multi API server process on port 51492 Starting mock SQS (http port 4576)... Starting mock SES (http port 4579)... Starting mock SSM (http port 4583)... Starting mock STS (http port 4592)... Starting mock IAM (http port 4593)... Starting mock Secrets Manager (http port 4584)... Starting mock API Gateway (http port 4567)... Starting mock DynamoDB (http port 4569)... Starting mock DynamoDB Streams service (http port 4570)... Starting mock Firehose service (http port 4573)... Starting mock Lambda service (http port 4574)... Starting mock Kinesis (http port 4568)... Starting mock Redshift (http port 4577)... Starting mock Route53 (http port 4580)... Starting mock CloudFormation (http port 4581)... Starting mock CloudWatch (http port 4582)... Starting mock CloudWatch Events (http port 4587)... Starting mock CloudWatch Logs (http port 4586)... Starting mock StepFunctions (http port 4585)... Starting mock EC2 (http port 4597)... Waiting for all LocalStack services to be ready Waiting for all LocalStack services to be ready Waiting for all LocalStack services to be ready 2019-09-25T10:11:08:WARNING:infra.py: Service "elasticsearch" not yet available, retrying... Waiting for all LocalStack services to be ready Waiting for all LocalStack services to be ready 2019-09-25T10:11:22:WARNING:infra.py: Service "elasticsearch" not yet available, retrying... Waiting for all LocalStack services to be ready Waiting for all LocalStack services to be ready Waiting for all LocalStack services to be ready Ready.

======

karishma@karishma-VirtualBox:~$ aws --endpoint-url=http://localhost:4572 s3 mb s3://demo-bucket make_bucket failed: s3://demo-bucket Unable to locate credentials karishma@karishma-VirtualBox:~$ export AWS_ACCESS_KEY_ID=foobar karishma@karishma-VirtualBox:~$ export AWS_SECRET_ACCESS_KEY=foobar karishma@karishma-VirtualBox:~$ export AWS_DEFAULT_REGION=us-east-1 karishma@karishma-VirtualBox:~$ aws --endpoint-url=http://localhost:4572 s3 mb s3://demo-bucket make_bucket failed: s3://demo-bucket Could not connect to the endpoint URL: "http://localhost:4572/demo-bucket" karishma@karishma-VirtualBox:~$ aws --endpoint-url=http://localhost:4574 lambda create-function --function-name=f1 --runtime=python2.7 --role=r1 --handler=lambda.handler --zip-file fileb://lambda.zip

Error parsing parameter '--zip-file': Unable to load paramfile fileb://lambda.zip: [Errno 2] No such file or directory: 'lambda.zip' karishma@karishma-VirtualBox:~$ aws --endpoint-url=http://localhost:4574 lambda create-function --function-name=f1 --runtime=python2.7 --role=r1 --handler=lambda.handler --zip-file b://lambda.zip

--zip-file must be a zip file with the fileb:// prefix. Example usage: --zip-file fileb://path/to/file.zip karishma@karishma-VirtualBox:~$

Comments (0)

  1. Log in to comment