Re: [I] Sandbox editor having trouble working with GitHub [incubator-kie-issues]
ckeller-microstar commented on issue #2214: URL: https://github.com/apache/incubator-kie-issues/issues/2214#issuecomment-3785445202 Thanks for the compose def! It looks like the CORS Proxy fixes the issue: https://github.com/user-attachments/assets/394660e7-1b37-4736-9462-1d2d747c907f"; /> I might suggest using this ticket to improve the error messaging and point folks towards CORS Proxy. Thanks again! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Sandbox editor having trouble working with GitHub [incubator-kie-issues]
thiagoelg commented on issue #2214: URL: https://github.com/apache/incubator-kie-issues/issues/2214#issuecomment-3781193993 Yes, CORS Proxy is its own service. Looks like our deployment failed at some point, and both Extended Services and CORS Proxy are not up 😕. You can run the project yourself, building it locally after reading our [README](https://github.com/apache/incubator-kie-tools/blob/main/README.md) and [MANUAL](https://github.com/apache/incubator-kie-tools/blob/main/repo/MANUAL.md). Or run the published images (10.1.0) using this docker compose: ``` version: "3.8" services: kie_sandbox: container_name: kie_sandbox image: docker.io/apache/incubator-kie-sandbox-webapp:10.1.0 ports: - 9090:8080 environment: KIE_SANDBOX_EXTENDED_SERVICES_URL: "http://localhost:21345"; KIE_SANDBOX_CORS_PROXY_URL: "http://localhost:7081"; depends_on: - extended_services_java - cors_proxy extended_services_java: container_name: extended_services_java image: docker.io/apache/incubator-kie-sandbox-extended-services:10.1.0 ports: - 21345:21345 cors_proxy: container_name: cors_proxy image: docker.io/apache/incubator-kie-cors-proxy:10.1.0 ports: - 7081:8080 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Sandbox editor having trouble working with GitHub [incubator-kie-issues]
ckeller-microstar commented on issue #2214: URL: https://github.com/apache/incubator-kie-issues/issues/2214#issuecomment-3778935696 Maybe CORS Proxy is not part of Extended Services? I see an [npm package](https://www.npmjs.com/package/@kie-tools/cors-proxy) that looks like a standalone service, I'll try that as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Sandbox editor having trouble working with GitHub [incubator-kie-issues]
ckeller-microstar commented on issue #2214: URL: https://github.com/apache/incubator-kie-issues/issues/2214#issuecomment-3778899894 For my Sandbox instance I'm using the hosted page, https://sandbox.kie.org/. I don't have a CORS Proxy running at the moment. That's part of Extended Services, right? I went to download that from https://kie.apache.org/docs/start/download/#sandbox-extended-services but the Windows zip file doesn't contain an executable which seems odd. The Linux one does have an executable so I'll see if I can SSH tunnel from Windows to my dev box to get Extended Services connected and the CORS Proxy enabled. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [I] Sandbox editor having trouble working with GitHub [incubator-kie-issues]
thiagoelg commented on issue #2214: URL: https://github.com/apache/incubator-kie-issues/issues/2214#issuecomment-3761977074 How are you running your KIE Sandbox instance? Is your CORS Proxy service up and running? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
[I] Sandbox editor having trouble working with GitHub [incubator-kie-issues]
ckeller-microstar opened a new issue, #2214: URL: https://github.com/apache/incubator-kie-issues/issues/2214 Greetings, I'm attempting to connect Sandbox with a GitHub repo as described in this [KIE blog post](https://blog.kie.org/2023/02/synchronize-your-kie-sandbox-workspace-with-bitbucket-or-github.html), but I'm seeing issues. I'm able to generate a Classic GitHub Personal Access Token with `repo` and `gist` scopes and Sandbox's authentication system is able to use that. https://github.com/user-attachments/assets/afb383b3-01aa-4ba8-983b-5f9a1fd46945"; /> However, I can't import my desired private repository from GitHub into Sandbox because it `Can't determine Git refs`. https://github.com/user-attachments/assets/2b9d9092-043d-403c-a6b1-dc6f6661aeab"; /> Even trying to import a public repository, I get the same error. https://github.com/user-attachments/assets/fb5e1be0-ba78-4f24-af62-0f4b3a05f309"; /> Creating is perhaps the most interesting failure mode: The GitHub repository is created, but after that Sandbox reports `Error creating GitHub repository. Error: Failed to fetch` without making an API call (that I can tell). https://github.com/user-attachments/assets/d454af17-ebcf-4d79-a6d5-451ef7b413e8"; /> https://github.com/user-attachments/assets/b323c415-5c4f-41bf-a456-72195d769ae2"; /> https://github.com/user-attachments/assets/5c26132a-c634-4d39-bab0-2905a1a213cf"; /> This appears to be similar to #2103 and may be the same underlying issue, but that one is related to GitLab instead of GitHub, so I'll let you investigate and dedup if necessary. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
