RStudio/Git trouble pushing - github

Hello I am running RStudio 2022.07.1+554 "Spotted Wakerobin" Release (7872775ebddc40635780ca1ed238934c3345c5de, 2022-07-22) for macOS and I can not push to GitHUb.
I have tried to change from HTTPS to SSH but nothing worked so far, I have all the identifications but I do not how to solve it, please could you please help me. I am lost
I want to push projects to GitHub, I have tried many times change from HTTPS to SSH and a new key , also I have verify the connection to ssh and everything seems to work.
Any help is really appreciated.

One option is to stick with HTTPS URL, and use:
credentials::set_github_pat("my_pat")
(Use your Personal Access Token)
That should be enough to allow you to push from RStudio.

Related

Github enterprise webhook - localhost not recheable over Internet error

After upgrading githubEnterprise from 2.19.4 to 3.0.25 one issue appeared.
When I try to create git webhooks with POST request from my local instance or from my CI machine I receive response from git:
{"message":"Validation Failed","errors":[{"resource":"Hook","code":"custom","message":"Sorry, the URL host localhost is not supported because it isn't reachable over the public Internet"}],"documentation_url":"https://docs.github.com/enterprise/3.0/rest/reference/repos#create-a-repository-webhook"}
I know the root cause - creating webhook with localhost callback, but I would like to keep it as it worked before.
I've tried to find some setting/property to set in the config to force github instance to accept that url but I haven't found anything.
Do you know how to tell github to accept this callback urls or any workaround?I don't want to change my tests and CI. I want to configure github that way.
P.S. I've found POST with explanation this behaviour but there is no solution.

Typicode My json server shows "404 error Oops, can't find db.json file on main or master branch. Try to create one and retry."

I had configured JSON server and created a db.json file and even added in some data, everything worked fine so I pushed it to Github, I replaced my localhost JSON server port URL with the one of typicode i.e https://my-json-server.typicode.com/myGithubUsername/myRepository/resource and tested again, still, things worked but after changing my GitHub repository to private am now getting this when I try to access the resource!
404 error Oops, can't find db.json file in myGithubUsername/myRepository/resource on main or master branch. Try to create one and retry.
I changed my GitHub repository back to public and it solved the
problem but this was for my employees so it shouldn't remain public, I
don't know if anyone has a better way to fix this, but this worked!

PYTHONANYWHERE ... i've started to get a "403 FORBIDDEN" error when trying to access /admin/default/

thanks in advance for the help.
I need to access one of my apps admin area (I do this every day as I am constantly updating the code) but this morning I got the following error when trying to access "https://www.tenissocial.pt/admin/default" ..
"403 FORBIDDEN"
Any ideas? Many thanks, Pedro
. http://www.tenissocial.pt/ is working fine
. I've made no changes to the app or anywhere within the setup of my pythonanywhere services
. I've got other 2 apps/web services that are within the same pythonanywhere account still working fine. ie, I can access via https://.../default/admin/
. the app code is inside /web2py2 directory
I've managed to "solve" the issue by deleting the web app; creating a new one; recreating the app by using the backed-up package from a few days ago; adding missing data by hand; and changing the CNAME on my host....
A bit of a pain, but it worked.... I still don't know what caused the problem, but all is now good.
Thanks to all.
Kind regards,
Pedro

Github - Failed to clone/remote sync or clone or any github activity

I have github on Windows-7. The github doesn't seem to allow me to check in code as something is messed up.
I did try changing the credentials & so forth by looking up online but nothing seems to work.
I still see the Bad credentials error alongside some wamp developer errors.
I don't know how wamp developer is related to GitHub.
I did have WAMP developer once upon a time on the PC.
The log file for the attempt is here: Github log file.
The error:
2016-03-22 12:44:50.7329|
ERROR|thread: 5|StartupLogging| MISSING PATH!!: 'C:\WampDeveloper\Components\Apache\bin'
That simply means your %PATH% currently reference one non-existent path: you could clean-up your environment variable PATH which is currently quite large.
This is not-blocking for GitHub Desktop though.
The other error is linked to a key previously used for:
Logged user r... off of host 'https://<server_url>'
When that key "C:\Users\ffgr.ghjk\.ssh\github_rsa" is used to authenticate to github.com does not work.
Make sure that key (the public one github_rsa.pub) is added to your GitHub account: "Adding a new SSH key to your GitHub account"

Mulesoft - Uh-oh spaghettios! There's nothing here

This error is driving me nuts...
Situation:
I am trying to create a REST api and use a api-gateway proxy to access it. Proxy URL is HTTPS.
The deployment goes through fine. No errors reported in the logs. Worker assigned.
However when I try to access through browser get the "Uh-oh spaghettios! There's nothing here.".
Have tried all the usual things like making the https port dynamic using ${https.port} and using 0.0.0.0 instead of localhost in the http-listener config. But that does not help. Has this something to got to do with the proxy version ?
Any help or pointers will be great!
Make sure you follow Steps 2 from below link
Getting Started with Connectors
All,
Got the resolution. The problem was with the certificate chain. The keystore did not contain intermediate certificates. When added to the keystore the connectivity worked fine.
Only if Mulesoft provided correct errors or detailed logging, I would have saved lot of time over this.
Thanks for your inputs.