e-alfred / epubreader

EPUB/CBR/PDF reader app for Nextcloud
GNU Affero General Public License v3.0
79 stars 21 forks source link

Browser hangs #7

Open borekon opened 4 years ago

borekon commented 4 years ago

Trying to open an epub (4 Mb) freezes the browser. Tried Chrome and Firefox with no luck. It only freezes when the ebook already opened before, so i think it has to be a bookmark issue. Don't know if it happens to anyone else.

borekon commented 4 years ago

In another nextcoud instante (another different server for testing purposes) it doesn't hang up, but it doesn't save settings nor the reading position.

borekon commented 4 years ago

There you go for testing purposes: https://nextcloud.ws (user: demo | pass: demostration) https://cayuela.eu (user: demo | pass: demostration) There is an epub file already uploaded

e-alfred commented 4 years ago

@borekon Thanks for giving me access to your demo instances, I tested them out. On nextcloud.ws, I was able to open the provided Epub file and saved bookmarks and reading position. On cayuela.eu, saving bookmarks and reading position aren't saved showing this error in the browser console:

POST https://cayuela.eu/apps/epubreader/bookmark
301 Moved Permanently 73ms  
jquery.....2.0072 (line 4)
"NetworkError: 403 Forbidden - https://cayuela.eu/apps/epubreader/bookmark/"
/apps/e...okmark/
DELETE https://cayuela.eu/apps/epubreader/bookmark/1811/epubcfi6298id2868136224page222222ch13lvl1sec14110
405 Method Not Allowed 236ms    
jquery.....2.0072 (line 4)
"NetworkError: 405 Method Not Allowed - https://cayuela.eu/apps/epubreader/bookmark/1811/epubcfi6298id2868136224page222222ch13lvl1sec14110"
borekon commented 4 years ago

In nextcloud.ws instance, the two tabs use 100% of processor and make the browser unable to respond (it hangs). Then I should close two tabs.Try opening a couple of times On Jun 11, 2020 21:47, e-alfred notifications@github.com wrote: @borekon Thanks for giving me access to your demo instances, I tested them out. On nextcloud.ws, I was able to open the provided Epub file and saves bookmarks and reading position. On cayuela.eu, saving bookmarks and reading position aren't saved showing this error in the browser console: POST https://cayuela.eu/apps/epubreader/bookmark 301 Moved Permanently 73ms
jquery.....2.0072 (line 4) "NetworkError: 403 Forbidden - https://cayuela.eu/apps/epubreader/bookmark/" /apps/e...okmark/ DELETE https://cayuela.eu/apps/epubreader/bookmark/1811/epubcfi6298id2868136224page222222ch13lvl1sec14110 405 Method Not Allowed 236ms
jquery.....2.0072 (line 4) "NetworkError: 405 Method Not Allowed - https://cayuela.eu/apps/epubreader/bookmark/1811/epubcfi6298id2868136224page222222ch13lvl1sec14110"

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.