Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

FileNotFoundException in food crawler #66

Open
JonasWanke opened this issue Jan 31, 2020 · 0 comments
Open

FileNotFoundException in food crawler #66

JonasWanke opened this issue Jan 31, 2020 · 0 comments

Comments

@JonasWanke
Copy link
Member

Starting crawler HPI-MobileDev-Crawler[Food]/1.0.0 - mensaGriebnitzsee
Using User-Agent="HPI-MobileDev-Crawler[Food]/1.0.0 klaxon/5.0.11 Kotlin-runtime/1.3.50"
Date 2020-01-31: 7 meals
Starting crawler HPI-MobileDev-Crawler[Food]/1.0.0 - ulfsCafe
Using User-Agent="HPI-MobileDev-Crawler[Food]/1.0.0 klaxon/5.0.11 Kotlin-runtime/1.3.50"
Date 2020-01-31: Exception in thread "main" java.io.FileNotFoundException: https://openmensa.org/api/v2/canteens/112/days/2020-01-31/meals
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1915)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:251)
        at de.hpi.cloud.food.crawler.utils.UrlUtilsKt.openStreamWith(UrlUtils.kt:11)
        at de.hpi.cloud.food.crawler.OpenMensaCrawler.streamJsonApi(OpenMensaCrawler.kt:32)
        at de.hpi.cloud.food.crawler.OpenMensaCrawler.queryMeals(OpenMensaCrawler.kt:51)
        at de.hpi.cloud.food.crawler.MainKt$main$1.invoke(Main.kt:51)
        at de.hpi.cloud.food.crawler.MainKt$main$1.invoke(Main.kt)
        at de.hpi.cloud.common.utils.couchbase.CouchbaseClusterKt.withBucket(CouchbaseCluster.kt:35)
        at de.hpi.cloud.common.utils.couchbase.CouchbaseClusterKt.withBucket$default(CouchbaseCluster.kt:32)
        at de.hpi.cloud.food.crawler.MainKt.main(Main.kt:35)```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants