Closed russorat closed 8 months ago
To continue using the service with only one authtoken, some changes need to be implemented:
docker-compose-ngrok.yaml
to only start one ngrok service:
version: "3"
services:
ngrok:
image: ngrok/ngrok
environment:
- NGROK_AUTHTOKEN=${NGROK_AUTHTOKEN}
ports:
- 4046:4040
command:
- "start"
- "--all"
- "--config"
- "/etc/ngrok.yml"
volumes:
- ./ngrok-dev.yml:/etc/ngrok.yml
networks:
- vc_auth
networks: vc_auth: driver: bridge
* create an `ngrok.yml` configurationf ile:
```yaml
version: 2
tunnels:
controller-ngrok:
addr: controller:${CONTROLLER_SERVICE_PORT}
proto: http
schemes:
- https
aca-py-ngrok:
addr: aca-py:${AGENT_HTTP_PORT}
proto: http
schemes:
- https
log: stdout
manage
script to create ngrok-dev.yml
as a copy of ngrok.yml
, with the service ports replaced with the desired targets (based on initialization script)manage
script to determine the controller/agent ngrok URLs by querying the endpoints exposed by the new unique ngrok serviceHi, I'm trying to run the vc-authn demo. Is this issue related to this problem I'm having when I run ./manage start (see screenshot image)? If so is there a workaround for this problem?
@esune Do you have an example of the project with the changes implemented that you mentioned in your comment above? Apologies if this is not the right place for this discussion.
I've implemented a quick hack using 2 ngrok keys in the mean time:
@Laderlappen yes, the issue you're experiencing is the same described in this issue. We have not implemented a permanent fix quite yet, the two key workaround you are using can work in the meantime.
PM from ngrok here. I'm opening this issue to let you know what ngrok has recently started requiring a free account and authtoken to start the agent. It looks like your software already works with an authtoken, but there might be users or integrations or docs that need to updated.
Please reach out to support@ngrok.com if you are having any issues.
Thanks again for using ngrok!
I've copied the original notice posted to twitter below: