virtualstaticvoid / heroku-buildpack-r

Heroku buildpack for R - Makes deploying R on Heroku easy
MIT License
304 stars 235 forks source link

Timeout when installing #156

Closed StephenDarcy closed 2 years ago

StephenDarcy commented 2 years ago

remote: g++ -std=gnu++11 -I"/app/R/lib/R/include" -DNDEBUG -Iinclude -DDUCKDB_DISABLE_PRINT -Iduckdb/src/include -Iduckdb/third_party/fmt/include -Iduckdb/third_party/re2 -Iduckdb/third_party/miniz -Iduckdb/third_party/utf8proc/include -Iduckdb/third_party/hyperloglog -Iduckdb/third_party/tdigest -Iduckdb/third_party/utf8proc -Iduckdb/third_party/libpg_query/include -Iduckdb/third_party/libpg_query -Iduckdb/third_party/concurrentqueue -Iduckdb/third_party/pcg -Iduckdb/extension/parquet/include -Iduckdb/third_party/parquet -Iduckdb/third_party/snappy -Iduckdb/third_party/thrift -Iduckdb/third_party/zstd/include -Iduckdb -DBUILD_PARQUET_EXTENSION -DDUCKDB_BUILD_LIBRARY -I/usr/local/include -fpic -g -O2 -c duckdb/amalgamation-1.cpp -o duckdb/amalgamation-1.o

During each of the installation of 'duckdb/amalgamation-1.o' and the following iterations of duckdb/amalgamation-2.o the download speed slows down. I am in Ireland. Heroku then times out as this is taking too long

virtualstaticvoid commented 2 years ago

Hi @StephenDarcy

I haven't been able to replicate the timeout issue.

I created this sample to test, and this was the console output.

Perhaps you could give it a try to see whether it fails for you.

virtualstaticvoid commented 2 years ago

Closing due to inactivity

MislavSag commented 2 years ago

Hi,

I have also get timeout error when tried to install buildpack on heroku server. After I execute:

git push heroku main

After some time I get an error:

nclude  -fpic -fpic  -g -O2  -c stri_search_class_locate.cpp -o stri_search_class_locate.o
remote:        g++ -std=gnu++11 -I"/app/R/lib/R/include" -DNDEBUG -I.    -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/usr/local/include  -fpic -fpic  -g -O2  -c stri_search_class_replace.cpp -o stri_search_class_replace.o
remote:        g++ -std=gnu++11 -I"/app/R/lib/R/include" -DNDEBUG -I.    -UDEBUG -DNDEBUG -DU_HAVE_ELF_H  -I/usr/local/include  -fpic -fpic  -g -O2  -c stri_search_class_split.cpp -o stri_search_class_split.o
remote: -----> Timed out running buildpack R (plumber)
remote:
remote:  !     Push failed
remote: Verifying deploy....
remote:
remote: !       Push rejected to frozen-island-38316.
remote:
To https://git.heroku.com/frozen-island-38316.git
 ! [remote rejected] main -> main (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/frozen-island-38316.git'