Error putting my github repository in heroku - heroku

sorry for the inconvenience, I am new to this heroku and try to upload my github repository, and it throws an error and I don't know how to handle it, I would like some help in this, thanks.
I will add a photo showing the error, so that it is displayed better.

Related

Why do I need to log in to Github

Because xlsx tag v1.1.0 does not contain the latest features, I use the following command to update the xlsx package to master
# go get github.com/bingoohuang/xlsx#master
Username for 'https://github.com':
Why do I still need to login to download the github public code, this does not happen when I download packages from other go get
The strange thing is that I can execute it on windows, but the above login question occurs on centos7.
what caused this to happen? I really appreciate any help with this.
It looks like github.com/bingoohuang/xlsx#master depends on github.com/bingoohuang/go-yaml, which either does not exist or is private.
Because GitHub responds with a 404 error for private repositories, it is likely this missing repository is causing go get to issue a password prompt.
A go get for a library without missing dependencies (e.g., go get github.com/rs/zerolog#master) works without a problem.

Heroku : Edit file without edit on github

I have a discord bot on heroku and I am using automatic deployment with github. I have a .json data file and I am trying to write data to it, but it doesn't seem to work. I guess this takes my data file straight from github and therefore remains empty. On my computer, it works well, I manage to write in my db.json but on heroku it does not work, I have no errors. I am using a relative path and not abosulu so I don't think the error is with my code. I don't know if I was clear
Thank you in advance

Error getting valid response from API. Check log file for error details

I cant seem to find the error log of authorize.net api.
I have Laravel application which uses "authorizenet/authorizenet" package and the code where I try to create a customer profile, I get following error:
"Error getting valid response from API. Check log file for error details"
Can anyone tell me whereto find these logs? and what it's name?
I tried in /var/logs folder but i cant seem to find it.
if someone else has this issue, here is the solution.
The authorize.net has changed their endpoints from https://api.authorize.net to https://api2.authorize.net which is one of the possible reasons that you might get this error.
So if you are hardcoding these endpoints in your code then update it to the new one or if you are using library constant for it, same as me:
\net\authorize\api\constants\ANetEnvironment::SANDBOX
\net\authorize\api\constants\ANetEnvironment::PRODUCTION
Then simply update your library by running:
composer update authorizenet/authorizenet
This is how I resolved it and it seems to be the best way so far because it will update their library to take everything up to date if they have changes something else and you started experiencing this issue.
I hope it helps

Github Permission Error

I created a new branch from master just testing it and pushed "publish", but it says this:
Authentication Failed
You may not have permission to access c. Check Preferences to make sure you’re still logged in.
But when I got to preferences, I am logged in.
"c" is the name of the folder.
The problem was I had cloned someone else's repository and it was trying to publish to their repository rather than my own.
I had the same issue after cloning someone else's repo and the advice to fork it resolved the issue.

Getting "Unable to connect to a repository" error in CodePlex with TortoiseSVN

I just created a project over at codeplex and tried committing the sourcecode (so my project can be available publicly).
TortoiseSVN just doesn't work with CodePlex anymore it seems. And codeplex doesn't let you change source uploading options without contacting them first.
The errors in get when I try to checkout are:
Unable to connect to a repository at URL 'http://onthefly.codeplex.com'
The OPTIONS request returned invalid XML in the response: XML parse error at
line 1: no element found (https://onthefly.svn.codeplex.com/svn)
and
OPTIONS of 'http://onthefly.codeplex.com': could not connect to server
I tried the repo-browser just now and it still won't work.
Here's a screenshot of one of the errors:
Why are these errors happening?
You're not using the correct URL for repo. The correct URL is:
https://<projectname>.svn.codeplex.com/svn
I've got it working. Follow instructions on this page if you're having these same issues.

Resources