Skip to content
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: Something went wrong, try again later" caused by nginx redirect #207

Open
regisb opened this issue Dec 6, 2022 · 3 comments · Fixed by #223
Open

"Error: Something went wrong, try again later" caused by nginx redirect #207

regisb opened this issue Dec 6, 2022 · 3 comments · Fixed by #223
Labels
bug Something isn't working

Comments

@regisb
Copy link

regisb commented Dec 6, 2022

When sharing a recording to terminalizer.com, the command fails in every case:

$ terminalizer share myrecoding
Please enter some details about your recording
? Title Test
? Description Desc
? Tags such as git,bash,game linux

Error: 
  Error: Something went wrong, try again later

Hint:
  Use the --help option to get help about the usage

I added a console.log(response) to commands/share.js which shows that the error comes from the fact that terminalizer.com is redirecting to www.terminalizer.com:

  body: '<html>\r\n' +
    '<head><title>301 Moved Permanently</title></head>\r\n' +
    '<body bgcolor="white">\r\n' +
    '<center><h1>301 Moved Permanently</h1></center>\r\n' +
    '<hr><center>nginx/1.12.2</center>\r\n' +
    '</body>\r\n' +
    '</html>\r\n',
  [Symbol(kCapture)]: false
}

Changing the BASEURL to "https://www.terminalizer.com" in app.js solved the problem.

@oliverkane
Copy link

I am having this issue as well.

@regisb
Copy link
Author

regisb commented Apr 4, 2023

@faressoft would you like me to open a PR?

@you-n-g you-n-g mentioned this issue Jun 14, 2023
@you-n-g
Copy link
Contributor

you-n-g commented Jun 14, 2023

@regisb Thanks for your suggestion. I have submitted the PR. Hoping it will be merged soon.

@faressoft faressoft linked a pull request Jul 6, 2023 that will close this issue
@faressoft faressoft added the bug Something isn't working label Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants