stanfordnlp / CoreNLP

CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
http://stanfordnlp.github.io/CoreNLP/
GNU General Public License v3.0
9.68k stars 2.7k forks source link

Local Server Run Fails Due to Main Website Outage #1447

Open mkarmona opened 5 months ago

mkarmona commented 5 months ago

@AngledLuffa The local version of CoreNLP isn't working because it's missing some JavaScript fetches from the main online website, which is currently down. What could be the potential solution?

Screenshot 2024-05-22 at 13 36 00
mkarmona commented 5 months ago

I see there a reference to same issue time ago here

AngledLuffa commented 5 months ago

Yes, I can see the advantage of that (in particular, our own demo is currently toast as well)

On Wed, May 22, 2024 at 5:37 AM Miguel Carmona @.***> wrote:

@AngledLuffa https://github.com/AngledLuffa The local version of CoreNLP isn't working because it's missing some JavaScript fetches from the main online website, which is currently down. What could be the potential solution?

  • Provide a hosted version of those files?
  • Or include them within the built package?

Screenshot.2024-05-22.at.13.36.00.png (view on web) https://github.com/stanfordnlp/CoreNLP/assets/5394232/a62ae41f-ddae-4e16-9e1f-205cf365ced2

— Reply to this email directly, view it on GitHub https://github.com/stanfordnlp/CoreNLP/issues/1447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2AYWJJBY3ZGVU5NMG35R3ZDSGPXAVCNFSM6AAAAABIDRXJN6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTANBSGY4DIOI . You are receiving this because you were mentioned.Message ID: @.***>

AngledLuffa commented 5 months ago

A big limitation here is that the CoreNLP server doesn't serve arbitrary pages. I have to imagine that would be a big security risk. Again I think the best solution is to wrap it in nginx or apache and serve the static files that way. One limitation would be the landing page might need some edits to actually connect to the right host. I can spend a little time working on that