-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got 403 for configuration service url #2
Comments
@saurabhPV can you share the logs of docker container of nginx + arc Also do check if any other service is not running on port 80 |
thanks @lakhansamani for quick response! these are the logs from arc service these are the logs from nginx service Also I tried to access the nginx access and error logs from |
@saurabhPV seems some issues with windows and docker networking. Till we resolve this for windows can you try following setup mentioned below.
|
@saurabhPV If you have a cluster within the appbase.io dashboard, that would be appbase.io cloud running the cluster for you or you using it with Bring Your Elasticsearch mode. If you're looking to run this with Docker (i.e. self-hosting appbase.io), this is the path to follow: https://docs.appbase.io/docs/hosting/byoc/#using-docker. You will have to register an appbase.io instance, and you will receive APPBASE_ID in the e-mail. This is a required value for configuring an appbase.io instance with Docker. |
Thanks a lot @siddharthlatest @lakhansamani !!!
|
@siddharthlatest , @lakhansamani could you please help me to understand why it throws permission error and how do I fix it ? |
@saurabhPV The permission error isn't an actual error. We have fixed this (will be out in the next release). Are you able to get see the logs? |
@siddharthlatest no I don't see the logs I thought because of this error. Other than this I don't see any more logs in any container. |
@siddharthlatest could it be the reason I don't see logs ? |
@saurabhPV We tried replicating the above issue. While doing that, there was another issue that we saw with how nginx wasn't setting CORS headers. After fixing this, I can see that all the services work well. I'm running the following command: The es.json file gets created in the appbase container. And the logs are getting indexed and visible in the appbase.io dashboard. Can you try with the updated files here and let me know if it works well for you now? |
Thanks a lot @siddharthlatest. I am using the updated however I could not test request logs because Do I need the subscription for running open source feature on my local environment too? |
@siddharthlatest Also can you please confirm if it capture user's info? worried because I could not find it in the api documentation example response. |
@saurabhPV It would capture Elasticsearch requests / responses, and store them within your Elasticsearch upstream cluster. It wouldn't capture any user info (i.e. cookies) outside of what you send to the endpoint explicitly. There is no separate collection to a third-party service. For using the open-source version, you can update the Arc image in the docker compose file to |
@siddharthlatest thanks a lot! It worked!!! I can see the logs now using the logs endpoint. I expected it would catch the user details since the basic auth is used for an api call. Nevertheless I would like to add this functionality into arc-oss. |
I am using dev mode
docker-compose -f docker-compose-with-elasticsearch.yaml up -d
I can see
nginx
and all other containers are running other than arc service because it doesn't have env I suppose since it throws an error for the samebut then 403
The text was updated successfully, but these errors were encountered: