-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error 502 and Base URL #42
Comments
Hi @navneethc, Based on the information provided, it's difficult to determine the root cause of the 502 error code. To capture additional information, you could try setting Generally speaking, a 502 Bad Gateway would indicate that the GitHub runner cannot connect to the Posit Connect server. You mentioned that your GitHub runner is internal, so it seems you have considered that. But it may be worth making that CURL command call from the GitHub Action to verify the network configuration. If necessary, see the section on Authentication for additional examples on how to configure your API key https://docs.posit.co/connect/api/#overview--authentication |
Hi @tdstein, thanks for the reply. I set With respect to the CURL command, I did run it from within another workflow in the same repository, using the same runner. (This was created specifically to test the connectivity.) Is that what you meant or did you mean that I should somehow do it from within |
Yes, it is. Thank you. Are there any additional logs that you can provide that give additional insights into where in the execution of the action the 502 error is occurring? Additionally, can you confirm that a request to |
I'm trying to set up an automated deployment pipeline for RShiny Apps in a RStudio/Posit Connect server hosted on-prem.
At the stage where the
connect-publish
action runs, I get a 502 Gateway Error.Output from the workflow run in debug mode:
A few things to note:
https://rstudio-connect.internal.domain/__api__/v1/server_settings/r
-- but I hardcoded it.The text was updated successfully, but these errors were encountered: