Skip to content

Splash 3.5 docker image hangs forever #1179

@r0oth3x49

Description

@r0oth3x49

First of thanks you so much for this great project.

I am facing an issue with latest splash docker image 3.5 as well as 3.4 both. when we try to run it against https://securityfoster.com it never responds back, even timeout is not triggering, i tried the following lua_script (default ones) within the splash.

function main(splash, args)
  local ok, result = splash:with_timeout(function()
    -- try commenting out splash:wait(3)
    -- splash:wait(3)
    assert(splash:go(args.url))
  end, 2)

  if not ok then
    if result == "timeout_over" then
      return "Cannot navigate to the url within 2 seconds"
    else
      return result
    end
  end
  return "Navigated to the url within 2 seconds"
end

and

function main(splash, args)
  assert(splash:go(args.url))
  assert(splash:wait(0.5))
  return {
    html = splash:html(),
    png = splash:png(),
    har = splash:har(),
  }
end

with both of the script splash is not responding and hangs, I have to stop and re-run the image.
OS: Ubuntu 20.04.6 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions