-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
updated to work with one.com #2276
Conversation
rev command not found on OpenWrt CURL does not work, using wget JSESSIONID replaced with OneSIDCrmAdmin CSRF_G_TOKEN not needed
dnsapi/dns_one.sh
Outdated
# | ||
# export ONECOM_User="username" | ||
# export ONECOM_Password="password" | ||
# export ONECOM_USER="username" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not change the name from ONECOM_User
to ONECOM_USER
.
The existing users will kill you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was my fault. I misread.
#2098 (comment)
See my second commit.
Revert ONECOM_PASSWORD back to ONECOM_Password and ONECOM_USER back to ONECOM_User
dnsapi/dns_one.sh
Outdated
|
||
#CURL does not work | ||
local tmp_USE_WGET=$ACME_USE_WGET | ||
ACME_USE_WGET=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, never select to use wget or curl in your script.
It's control by acme.sh
if curl does not work, you can display an _err
message to ask the user to use wget wih --use-wget
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand why curl is not working ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the response from curl is every time the login page.
the same results on other devices.
i will try to get more info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the follow redirects (Option) "-L" it works with curl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i fixed to work with curl
Now works with curl. Check the root domain.
fix the CI errors first. |
would you like to create an issue for bug report: |
rev command not found on OpenWrt
CURL does not work, using wget
JSESSIONID replaced with OneSIDCrmAdmin
CSRF_G_TOKEN not needed