Closed ZJUguquan closed 7 years ago
Hmm... I cannot reproduce your error on our Ubuntu system, so I suspect it's local. Do you get it if you set (showcase = FALSE)
As for 2, I suspect this is a firewall problem and not really related to fiery
- 0.0.0.0
should allow others to access your server...
@thomasp85, thanks for your kind reply.
I'm sorry, for question 2, actually setting app$host <- '0.0.0.0'
works well.
For question 1, I still get the same error on node of 192.168.1.22
... >_<!
And my traceback
is
...
> app$ignite(showcase = F)
Fire started at 192.168.1.22:19177
Error in attributes(.Data) <- c(attributes(.Data), attrib) :
'names' attribute [8] must be the same length as the vector [7]
ERROR: [on_request_read] parse error
> traceback()
4: Sys.sleep(self$refresh_rate)
3: private$run_blocking_server(showcase = showcase)
2: private$run(block = block, showcase = showcase, ...)
1: app$ignite(showcase = F)
I should have tested the code on other server nodes before submitting issues... sorry...
Under the same Ubuntu cluster on 192.168.1.25
, it goes with no problems...
Thanks again !!
Happy one problem is solved. Have you run update.packages()
(though this is a shot in the dark)
Did you close it because you got it fixed?
Hi, @thomasp85 I've run your example code on both Windows 10(my own PC) and Linux Ubuntu(on the server). When on Windows, it runs OK, but when on Ubuntu, it comes with "Error in attributes(.Data)... "
My Ubuntu environment is below,
And my code is just yours, (some rows deleted)
The same code I run on Windows do not come with any error (the host I set is '127.0.0.1'). However, when on Windows, I couldn't let other people in the local area network(LAN) visit my app whatever host I set(e.g.
app$host <- '0.0.0.0'
orapp$host <- '127.0.0.1'
orapp$host <- '192.168.1.144'
(my IPv4 address on Windows))So, there are 2 questions I want to consult, 1, how to solve the Ubuntu 'Error in attributes(.Data)...'? 2, how to set the host address to let others visit my app if I use Windows 10?
Waiting for your reply~ Thank you~