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

Failed to rename ‘._httptmp’ to ‘’ #8234

Closed
d954mas opened this issue Nov 13, 2023 · 1 comment · Fixed by #8906
Closed

Failed to rename ‘._httptmp’ to ‘’ #8234

d954mas opened this issue Nov 13, 2023 · 1 comment · Fixed by #8906
Assignees
Labels
bug Something is not working as expected engine Issues related to the Defold engine html5 Issue related to the HTML5 platform network Issue related to network connectivity

Comments

@d954mas
Copy link
Contributor

d954mas commented Nov 13, 2023

Describe the bug (REQUIRED)

https://forum.defold.com/t/error-failed-to-rename-httptmp-to-n/74935

I have this error in poki dashboard.

‘’’
“DEFOLD:ERROR:SCRIPT: Failed to rename ‘._httptmp’ to ‘’\n”
‘’’
_httptmp failed to rename to empty string.

8% of user report error.
This is web build. I can't reproduce it.

https://github.com/defold/defold/blob/dev/engine/script/src/script_http_util.h#L26

Looks like path required. But you not set it value in http js version. What value have m_Path now.

So 8% of user get empty string '' in m_path, and 92% of user have 0 in m_path value.

I can be wrong but in js version of http.requests you can't use path.

Mb you need set it to 0 here?

resp.m_ResponseLength = response_length;

To Reproduce (REQUIRED)
Can't reproduce

Expected behavior (REQUIRED)
http.request not try to save something in path l

Defold version (REQUIRED):

  • Version 1.6.1

Platforms (REQUIRED):

  • Platforms: HTML5
@d954mas d954mas added the bug Something is not working as expected label Nov 13, 2023
@britzl britzl added the network Issue related to network connectivity label Nov 22, 2023
@AGulev AGulev added the html5 Issue related to the HTML5 platform label Feb 4, 2024
@AGulev
Copy link
Contributor

AGulev commented Feb 4, 2024

CleanShot 2024-02-04 at 23 12 14@2x
the same

@AGulev AGulev added the engine Issues related to the Defold engine label May 3, 2024
@ekharkunov ekharkunov self-assigned this May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected engine Issues related to the Defold engine html5 Issue related to the HTML5 platform network Issue related to network connectivity
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants