Defold Asset Portal 403 (SOLVED)

I wanted to leave a comment on LuaSocket on the Asset Portal, so I went ahead and logged in, but then whenever I loaded the page I got the message:

36%20PM

and the comment section gets stuck loading. I checked other projects, and it’s only LuaSocket that gives the error. There isn’t a Bugs category for the Asset Portal, so that’s why I posted this here.

Ping @samuel.nystedt

Thanks for the report, we will investigate why this happens.

1 Like

Thank you!

Anyway, the thing I wanted to comment is if you could port over LuaSec? It’s similar to LuaSocket, but it has support for things like HTTPS which I need.

You can get it here: https://github.com/britzl/defold-luasec/

1 Like

It doesn’t seem like britzl’s fork includes the HTTPS module, but I don’t know much about this stuff.

LuaSec will patch LuaSocket automatically so that it supports socket connections over HTTPS. It is also used in LuaWebsocket to support wss://.

1 Like

Thanks for the help! I’ve got just one more question: If you downloaded an HTML file and save it to a variable, would it be a string? And if not, how would you convert it? I tried to use Defstring functions on one I downloaded, but it doesn’t seem to work.

For me, there’s another error while trying to comment:
image

2 Likes

This issue should be fixed now. Sorry for the inconvenience.

4 Likes