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

500 Internal Server Error at https://opm.openresty.org/ #45

Closed
bungle opened this issue Jan 7, 2017 · 7 comments
Closed

500 Internal Server Error at https://opm.openresty.org/ #45

bungle opened this issue Jan 7, 2017 · 7 comments

Comments

@bungle
Copy link
Member

bungle commented Jan 7, 2017

I am currently trying to update one of my modules, but I'm getting this (this is from OpenResty 1.11.2.2):

(master) bungle@mbp13tb:~/Sources/lua-resty-reqargs$ opm upload --verbose
found license: BSD 2-Clause "Simplified" or "FreeBSD" license.
Package lua-resty-upload-0.09 already installed.
derived main_module file lib/resty/reqargs.lua
a lua-resty-reqargs-1.4
a lua-resty-reqargs-1.4/Changes.md
a lua-resty-reqargs-1.4/dist.ini
a lua-resty-reqargs-1.4/lib
a lua-resty-reqargs-1.4/README.md
a lua-resty-reqargs-1.4/lib/resty
a lua-resty-reqargs-1.4/lib/resty/reqargs.lua
HTTP/1.1 100 Continue

HTTP/1.1 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Date: Sat, 07 Jan 2017 19:43:45 GMT
Server: openresty
Content-Length: 186
Connection: keep-alive

<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>
@bungle
Copy link
Member Author

bungle commented Jan 7, 2017

My .opmrc

# your github account name (either your github user name or github organization that you owns)
github_account=bungle

# you can generate a github personal access token from the web UI: https://github.com/settings/tokens
# IMPORTANT! you are required to assign the scopes "user:email" and "read:org" to your github token.
# you should NOT assign any other scopes to your token due to security considerations.
github_token=...

# the opm central server for uploading openresty packages.
upload_server=https://opm.openresty.org

# the opm server for downloading openresty packages.
download_server=https://opm.openresty.org

@agentzh
Copy link
Member

agentzh commented Jan 7, 2017

@bungle Will you try uploading again now? For some reasons, the nginx temp directory on the server was removed by something, leading to your problem. I've just restored it. Thanks for the report!

@bungle
Copy link
Member Author

bungle commented Jan 7, 2017

Works now. Thanks.

@bungle bungle closed this as completed Jan 7, 2017
@yangm97
Copy link

yangm97 commented Oct 22, 2017

I’m having a very similar issue:

~/P/y/lua-telegram-bot-api ❯❯❯ opm upload                                                                      master ◼
found license: MIT license.
Package lua-resty-http-0.11 already installed.
extracted verson number 3.4.0.0 from main_module file lib/telegram-bot-api/methods.lua.
a lua-telegram-bot-api-3.4.0.0
a lua-telegram-bot-api-3.4.0.0/README.md
a lua-telegram-bot-api-3.4.0.0/lib
a lua-telegram-bot-api-3.4.0.0/dist.ini
a lua-telegram-bot-api-3.4.0.0/lib/telegram-bot-api
a lua-telegram-bot-api-3.4.0.0/lib/telegram-bot-api/methods.lua
HTTP/1.1 100 Continue

HTTP/1.1 500 Internal Server Error
Server: openresty+
Date: Sun, 22 Oct 2017 01:36:07 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 186
Connection: keep-alive

<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>

.opmrc:

github_account=yangm97
github_token=[redacted]
download_server=https://opm.openresty.org
upload_server=https://opm.openresty.org

@agentzh
Copy link
Member

agentzh commented Oct 22, 2017

@yangm97 OK, we've fixed this issue for real this time. Please try again. Thanks for the report! And sorry for the inconvenience.

@yangm97
Copy link

yangm97 commented Oct 22, 2017

Thank you!

@xiaooloong
Copy link

@agentzh i hava the same issue just now

# opm upload -verbos
found license: MIT license.
Package lua-resty-http-0.12 already installed.
extracted verson number 0.1.2 from main_module file lualib/eureka/client.lua.
lua-resty-eureka-client-0.1.2/
lua-resty-eureka-client-0.1.2/README.md
lua-resty-eureka-client-0.1.2/lib/
lua-resty-eureka-client-0.1.2/lib/eureka/
lua-resty-eureka-client-0.1.2/lib/eureka/client.lua
lua-resty-eureka-client-0.1.2/lib/eureka/workerservice.lua
lua-resty-eureka-client-0.1.2/dist.ini
HTTP/1.1 100 Continue

HTTP/1.1 500 Internal Server Error
Server: openresty+
Date: Thu, 10 May 2018 06:42:43 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 190
Connection: keep-alive
Req-ID: 00000200000405537f105ce3

<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>openresty</center>
</body>
</html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants