tenox7 / wrp

Web Rendering Proxy: Use vintage, historical, legacy browsers on modern web
Apache License 2.0
1.08k stars 52 forks source link

Context Canceled using latest version on RPi3 #57

Closed brunocastello closed 3 years ago

brunocastello commented 5 years ago

I tried it on a Dosbox with WFWG 3.11 & IE5, iPadOS 13 with Safari, and RPi3 with Chromium, they all end with the same message: context cancelled.

I am running the wrp-arm-Linux version on RPi3. What am I doing wrong?

tenox7 commented 5 years ago

can you attach the whole log output of wrp?

brunocastello commented 5 years ago

can you attach the whole log output of wrp?

How do I make a log? I can try again or just print screen what the console is showing to me.

tenox7 commented 5 years ago

You could just copy and paste output of wrp running on RPI and upload it here. Or redirect it to a file using > and then attach the file. Thanks :)

brunocastello commented 5 years ago

Hey! Ok. There you go... the first attempt I just ran ./wrp-arm-linux and... NOTE: I tested on Safari iOS tonight, but the result is the same I have when I try IE5 on my DOSBox Win3.x or Chromium on my RPI3.

2019/09/16 23:02:00 Web Rendering Proxy Version 4.4 2019/09/16 23:02:00 Starting WRP http server on :8080 2019/09/16 23:02:11 10.0.1.18:56523 Page Request for / [] 2019/09/16 23:02:11 10.0.1.18:56523 WrpReq from Form: &{U: W:1152 H:600 S:1 C:256 X:0 Y:0 K: F:} 2019/09/16 23:03:21 10.0.1.18:56524 Page Request for / [] 2019/09/16 23:03:21 10.0.1.18:56524 WrpReq from Form: &{U:http://www.google.com/search?q=Google.com W:1152 H:600 S:1 C:256 X:0 Y:0 K: F:} 2019/09/16 23:03:21 10.0.1.18:56524 Processing Capture Request for http://www.google.com/search?q=Google.com 2019/09/16 23:03:26 10.0.1.18:56524 Contex cancelled, try again

Didn’t work, so... Second attempt with more debugging enabled...

I just ran ./wrp-arm-linux -d this time...

2019/09/16 23:05:51 Web Rendering Proxy Version 4.4 2019/09/16 23:05:51 Starting WRP http server on :8080 2019/09/16 23:05:57 10.0.1.18:56527 Page Request for / [] 2019/09/16 23:05:57 10.0.1.18:56527 WrpReq from Form: &{U: W:1152 H:600 S:1 C:256 X:0 Y:0 K: F:} 2019/09/16 23:06:07 10.0.1.18:56527 Page Request for / [] 2019/09/16 23:06:07 10.0.1.18:56527 WrpReq from Form: &{U:http://www.google.com/search?q=Google.com W:1152 H:600 S:1 C:256 X:0 Y:0 K: F:} 2019/09/16 23:06:07 10.0.1.18:56527 Processing Capture Request for http://www.google.com/search?q=Google.com 2019/09/16 23:06:08 -> {"id":1,"method":"Target.setDiscoverTargets","params":{"discover":true}} 2019/09/16 23:06:08 <- {"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"65812f5e-b7f7-40e0-b339-e671bc57653c","type":"browser","title":"","url":"","attached":false}}} 2019/09/16 23:06:08 <- {"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"879de24e-451b-4035-84b8-956141406b96","type":"browser","title":"","url":"","attached":true}}} 2019/09/16 23:06:08 <- {"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E","type":"page","title":"","url":"about:blank","attached":false,"browserContextId":"408960EB3B568DDBC43A1ED94A69228D"}}} 2019/09/16 23:06:08 <- {"id":1,"result":{}} 2019/09/16 23:06:08 -> {"id":2,"method":"Target.attachToTarget","params":{"targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:08 <- {"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E","type":"page","title":"","url":"about:blank","attached":true,"browserContextId":"408960EB3B568DDBC43A1ED94A69228D"}}} 2019/09/16 23:06:08 <- {"method":"Target.attachedToTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","targetInfo":{"targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E","type":"page","title":"","url":"about:blank","attached":true,"browserContextId":"408960EB3B568DDBC43A1ED94A69228D"},"waitingForDebugger":false}} 2019/09/16 23:06:08 <- {"id":2,"result":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:08 -> {"id":4,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":3,\"method\":\"Log.enable\"}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:08 <- {"id":4,"result":{}} 2019/09/16 23:06:08 <- {"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E","type":"page","title":"about:blank","url":"about:blank","attached":true,"browserContextId":"408960EB3B568DDBC43A1ED94A69228D"}}} 2019/09/16 23:06:08 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":3,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:08 -> {"id":6,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":5,\"method\":\"Runtime.enable\"}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":6,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Runtime.executionContextCreated\",\"params\":{\"context\":{\"id\":1,\"origin\":\"://\",\"name\":\"\",\"auxData\":{\"isDefault\":true,\"type\":\"default\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\"}}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":5,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 -> {"id":8,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":7,\"method\":\"Inspector.enable\"}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":7,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"id":8,"result":{}} 2019/09/16 23:06:09 -> {"id":10,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":9,\"method\":\"Page.enable\"}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":10,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":9,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 -> {"id":12,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":11,\"method\":\"DOM.enable\"}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":12,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":11,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 -> {"id":14,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":13,\"method\":\"CSS.enable\"}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":14,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":13,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 -> {"id":16,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":15,\"method\":\"Target.setDiscoverTargets\",\"params\":{\"discover\":true}}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"65812f5e-b7f7-40e0-b339-e671bc57653c\",\"type\":\"browser\",\"title\":\"\",\"url\":\"\",\"attached\":false}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"879de24e-451b-4035-84b8-956141406b96\",\"type\":\"browser\",\"title\":\"\",\"url\":\"\",\"attached\":true}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"type\":\"page\",\"title\":\"about:blank\",\"url\":\"about:blank\",\"attached\":true,\"browserContextId\":\"408960EB3B568DDBC43A1ED94A69228D\"}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":15,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"id":16,"result":{}} 2019/09/16 23:06:09 -> {"id":18,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":17,\"method\":\"Emulation.setDeviceMetricsOverride\",\"params\":{\"width\":1152,\"height\":600,\"deviceScaleFactor\":1,\"mobile\":false}}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":18,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Page.frameResized\",\"params\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.mediaQueryResultChanged\",\"params\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":17,\"result\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 -> {"id":20,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":19,\"method\":\"Page.navigate\",\"params\":{\"url\":\"http://www.google.com/search?q=Google.com\"}}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":20,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":19,\"result\":{\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"loaderId\":\"E2AFA320B670A67F814CF76A627C7CFD\"}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Page.frameStartedLoading\",\"params\":{\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\"}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E","type":"page","title":"https://www.google.com/search?q=Google.com&gws_rd=ssl","url":"https://www.google.com/search?q=Google.com&gws_rd=ssl","attached":true,"browserContextId":"408960EB3B568DDBC43A1ED94A69228D"}}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Target.targetInfoChanged\",\"params\":{\"targetInfo\":{\"targetId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"type\":\"page\",\"title\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"url\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"attached\":true,\"browserContextId\":\"408960EB3B568DDBC43A1ED94A69228D\"}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Runtime.executionContextDestroyed\",\"params\":{\"executionContextId\":1}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Runtime.executionContextsCleared\",\"params\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Page.frameNavigated\",\"params\":{\"frame\":{\"id\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"loaderId\":\"E2AFA320B670A67F814CF76A627C7CFD\",\"url\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"securityOrigin\":\"https://www.google.com\",\"mimeType\":\"text/html\"}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Runtime.executionContextCreated\",\"params\":{\"context\":{\"id\":2,\"origin\":\"https://www.google.com\",\"name\":\"\",\"auxData\":{\"isDefault\":true,\"type\":\"default\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\"}}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.documentUpdated\",\"params\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 -> {"id":22,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":21,\"method\":\"DOM.getDocument\",\"params\":{}}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:09 <- {"id":22,"result":{}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":21,\"result\":{\"root\":{\"nodeId\":1,\"backendNodeId\":3,\"nodeType\":9,\"nodeName\":\"#document\",\"localName\":\"\",\"nodeValue\":\"\",\"childNodeCount\":2,\"children\":[{\"nodeId\":2,\"parentId\":1,\"backendNodeId\":4,\"nodeType\":10,\"nodeName\":\"html\",\"localName\":\"\",\"nodeValue\":\"\",\"publicId\":\"\",\"systemId\":\"\"},{\"nodeId\":3,\"parentId\":1,\"backendNodeId\":5,\"nodeType\":1,\"nodeName\":\"HTML\",\"localName\":\"html\",\"nodeValue\":\"\",\"childNodeCount\":1,\"children\":[{\"nodeId\":4,\"parentId\":3,\"backendNodeId\":6,\"nodeType\":1,\"nodeName\":\"HEAD\",\"localName\":\"head\",\"nodeValue\":\"\",\"childNodeCount\":11,\"attributes\":[]}],\"attributes\":[\"itemscope\",\"\",\"itemtype\",\"http://schema.org/SearchResultsPage\",\"lang\",\"pt-BR\"],\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\"}],\"documentURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"baseURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"xmlVersion\":\"\"}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":4,\"childNodeCount\":12}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":4,\"childNodeCount\":13}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeInserted\",\"params\":{\"parentNodeId\":3,\"previousNodeId\":4,\"node\":{\"nodeId\":5,\"backendNodeId\":7,\"nodeType\":1,\"nodeName\":\"BODY\",\"localName\":\"body\",\"nodeValue\":\"\",\"childNodeCount\":0,\"attributes\":[\"jsmodel\",\"jivSc\",\"class\",\"srp tbo vasq\",\"jscontroller\",\"aCZVp\",\"marginheight\",\"3\",\"topmargin\",\"3\",\"jsaction\",\"rcuQ6b:npT2md\",\"id\",\"gsr\"]}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":1}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":2}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":3}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":4}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":5}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":6}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":7}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":8}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":9}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:09 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":10}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.0\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":8,\"disabled\":false,\"isInline\":true,\"startLine\":5,\"startColumn\":2838,\"length\":5675}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.1\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":9,\"disabled\":false,\"isInline\":true,\"startLine\":5,\"startColumn\":8540,\"length\":14255}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.2\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":10,\"disabled\":false,\"isInline\":true,\"startLine\":5,\"startColumn\":22810,\"length\":561}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.3\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":11,\"disabled\":false,\"isInline\":true,\"startLine\":5,\"startColumn\":23893,\"length\":94}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.4\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":12,\"disabled\":false,\"isInline\":true,\"startLine\":109,\"startColumn\":39,\"length\":24785}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.5\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":13,\"disabled\":false,\"isInline\":true,\"startLine\":110,\"startColumn\":197,\"length\":24290}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.6\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":14,\"disabled\":false,\"isInline\":true,\"startLine\":110,\"startColumn\":24664,\"length\":605}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.7\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":15,\"disabled\":false,\"isInline\":true,\"startLine\":110,\"startColumn\":25920,\"length\":291}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.8\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":16,\"disabled\":false,\"isInline\":true,\"startLine\":110,\"startColumn\":27103,\"length\":3956}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.9\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":17,\"disabled\":false,\"isInline\":true,\"startLine\":110,\"startColumn\":38492,\"length\":964}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.10\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":18,\"disabled\":false,\"isInline\":true,\"startLine\":110,\"startColumn\":50027,\"length\":333}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.11\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":19,\"disabled\":false,\"isInline\":true,\"startLine\":111,\"startColumn\":401,\"length\":891}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":11}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":12}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":13}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":14}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":15}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":5,\"childNodeCount\":16}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":4,\"childNodeCount\":14}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.documentUpdated\",\"params\":{}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 -> {"id":24,"method":"Target.sendMessageToTarget","params":{"message":"{\"id\":23,\"method\":\"DOM.getDocument\",\"params\":{}}","sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87"}} 2019/09/16 23:06:10 <- {"id":24,"result":{}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"Page.domContentEventFired\",\"params\":{\"timestamp\":3516.040472}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"CSS.styleSheetAdded\",\"params\":{\"header\":{\"styleSheetId\":\"1000001216.12\",\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\",\"sourceURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"origin\":\"regular\",\"title\":\"\",\"ownerNode\":20,\"disabled\":false,\"isInline\":true,\"startLine\":114,\"startColumn\":789,\"length\":5577}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"id\":23,\"result\":{\"root\":{\"nodeId\":6,\"backendNodeId\":3,\"nodeType\":9,\"nodeName\":\"#document\",\"localName\":\"\",\"nodeValue\":\"\",\"childNodeCount\":2,\"children\":[{\"nodeId\":7,\"parentId\":6,\"backendNodeId\":4,\"nodeType\":10,\"nodeName\":\"html\",\"localName\":\"\",\"nodeValue\":\"\",\"publicId\":\"\",\"systemId\":\"\"},{\"nodeId\":8,\"parentId\":6,\"backendNodeId\":5,\"nodeType\":1,\"nodeName\":\"HTML\",\"localName\":\"html\",\"nodeValue\":\"\",\"childNodeCount\":2,\"children\":[{\"nodeId\":9,\"parentId\":8,\"backendNodeId\":6,\"nodeType\":1,\"nodeName\":\"HEAD\",\"localName\":\"head\",\"nodeValue\":\"\",\"childNodeCount\":14,\"attributes\":[]},{\"nodeId\":10,\"parentId\":8,\"backendNodeId\":7,\"nodeType\":1,\"nodeName\":\"BODY\",\"localName\":\"body\",\"nodeValue\":\"\",\"childNodeCount\":17,\"attributes\":[\"jsmodel\",\"jivSc\",\"class\",\"srp tbo vasq\",\"jscontroller\",\"aCZVp\",\"marginheight\",\"3\",\"topmargin\",\"3\",\"jsaction\",\"rcuQ6b:npT2md\",\"id\",\"gsr\"]}],\"attributes\":[\"itemscope\",\"\",\"itemtype\",\"http://schema.org/SearchResultsPage\",\"lang\",\"pt-BR\"],\"frameId\":\"C14A6ABEA06CD4A4D2CB5907B8E33B6E\"}],\"documentURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"baseURL\":\"https://www.google.com/search?q=Google.com&gws_rd=ssl\",\"xmlVersion\":\"\"}}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":9,\"childNodeCount\":15}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:10 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":9,\"childNodeCount\":16}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:11 <- {"method":"Target.receivedMessageFromTarget","params":{"sessionId":"A44CBB4D6355850A24F8AE3BAD8CFC87","message":"{\"method\":\"DOM.childNodeCountUpdated\",\"params\":{\"nodeId\":10,\"childNodeCount\":18}}","targetId":"C14A6ABEA06CD4A4D2CB5907B8E33B6E"}} 2019/09/16 23:06:11 10.0.1.18:56527 Contex cancelled, try again

�Both attempts I just tried to load google.com and failed. I don’t think that there is much data for you, but...

tenox7 commented 5 years ago

Can you run it in headed mode with -h and see what happens?

tenox7 commented 5 years ago

Also please send me additional details on what OS you running on RPI3. Distro name, version, kernel, chromium version. I will see if I can reproduce it.

brunocastello commented 5 years ago

Can you run it in headed mode with -h and see what happens?

Just did it. And it works when run in headed mode. But we can agree that its not optimal to run it this way (with Chromium open on host machine).

brunocastello commented 5 years ago

Also please send me additional details on what OS you running on RPI3. Distro name, version, kernel, chromium version. I will see if I can reproduce it.

Raspbian Buster 10, XFCE desktop environment with a custom theme Linux 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux Chromium Version 74.0.3729.157 (Official Build) Built on Raspbian , running on Raspbian 10 (32-bit)

brunocastello commented 4 years ago

Is there any way to keep it running as a macOS service every time I reboot the system? Something that could allow me to disable it when convenient?

tenox7 commented 4 years ago

Of course, just use Launchd https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html

brunocastello commented 4 years ago

Thanks. I wanted to ask you another question: Do I really need to have Google Chrome installed for this script to run? Because I have an app on my iPad, called iSH, which I use to run a stunnel for my old email clients on Windows 3.x and I wanted to try out your script there. What exactly are the dependencies? If it works, I don't even need to have a mac as the man in the middle, just my iPad, and it would be freaking awesome! I'm already running a Win 3.x VM on my iPad thanks to other app named UTM.

For reference, the iSH app is: https://github.com/ish-app/ish

tenox7 commented 4 years ago

Yes WRP requires Google Chrome. iSH says it can run Linux applications. Why don't you just install Chrome and WRP on iSH?

brunocastello commented 4 years ago

Yes WRP requires Google Chrome. iSH says it can run Linux applications. Why don't you just install Chrome and WRP on iSH?

Oh, hi! Well... because apparently, iSH is just terminal, a CLI, its just a lightweight alpine linux, and does not have a graphical desktop interface.

tenox7 commented 4 years ago

"iSH gives you the ability to run Linux applications and programs on iOS using a usermode x86 emulator."

brunocastello commented 4 years ago

Yeah, I went there to ask about. If it allows to install a XFCE desktop, then I can install Chrome to run the script. But I am doubting the efficiency and speed of this, not to mention the dependencies required for it to run - iSH is bare metal alpine linux, you have to install what you want to use.

brunocastello commented 4 years ago

I've been told by iSH guys that their emulator certainly will not be fast enough to try it out. dang...

tenox7 commented 4 years ago

You could run it on Rasbperry PI or perhaps in the cloud. GCP has always free tier for micro instances.

brunocastello commented 4 years ago

The cloud seems to be a more tangible idea, thanks. The rPi3 I’ve already abandoned, I was disappointed with it.

tenox7 commented 4 years ago

I have not tested it much on RPI3. I probably will do some more work on it. Currently WRP suffers pretty bad performance issue to do with GIF encoding. I'm trying to improve it.

For cloud GCP has always free tier that may be enough. I'm also working on getting Cloud Run to work so you don't have to have VM to run WRP.

tenox7 commented 4 years ago

WRP can now run on Google Cloud Run and Azure Container Instances. I have updated the readme with examples of how to run it.

tenox7 commented 3 years ago

I'm going to close this for now. Please feel free to reopen as needed.

brunocastello commented 3 years ago

No need to reopen. Just one more question. Can it run on AWS ?

tenox7 commented 3 years ago

Yes it can, however I'm not sure under what service. GCP and AZ have a "single container" service. AWS only has ECS which is a whole Kubernetes deployment. Perhaps just run it under docker container on a micro instance.