Coder Social home page Coder Social logo

Comments (10)

dharmaquark avatar dharmaquark commented on July 30, 2024 1

@mbektas any local workaround you could suggest? Or could we help in pushing a patch upstream to address?

from galata.

mbektas avatar mbektas commented on July 30, 2024 1

Hi @dharmaquark and @bsyouness! I have been looking into this issue. I have a solution that seems to work for remote connected and new browser instances for chromium. Created this PR (#66) with my changes, please test it well and push your additional changes to that branch. I didn't get chance to test thoroughly and with other browser types.

from galata.

bsyouness avatar bsyouness commented on July 30, 2024 1

Awesome! I will test soon and keep you posted. Thank you so much @mbektas !!

from galata.

legendb317 avatar legendb317 commented on July 30, 2024 1

Hi! @mbektas. Yeah I will do some testing and get back to you. Thank you!

from galata.

legendb317 avatar legendb317 commented on July 30, 2024 1

Hi @mbektas. I have tested with chrome and edge and everything works as expected. However, I was not able to successfully test firefox. The process hangs here:

browser = await pwBrowser.connectOverCDP({
Upon further investigation, it seems that firefox has an issue with setting up a remote debugging port. To reproduce the issue, I set up an alias for firefox using alias firefox=/Applications/Firefox.app/Contents/MacOS/firefox. Next, I enabled add-on debugging toolboxes and remote debugging in the browser. Finally, I ran firefox --remote-debugging-port which outputs a ws link that DevTools is listening on. When placing this link into a browser, it does not load. I suspect this to be the reason why the pwBrowser.connectOverCDP never resolves.

There seems to be an issue with firefox rather than Galata. Does it make sense to open a separate issue to investigate this further so that we do not hold up the fix with chromium browsers?

from galata.

bsyouness avatar bsyouness commented on July 30, 2024 1

+1
I also tried to run firefox --remote-debugging-port and saw the same symptoms as Legend. I think it makes sense to patch this in to get something working and tackle the Firefox issue separately. I would also report the issue to Mozilla so they can assist.

from galata.

welcome avatar welcome commented on July 30, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

from galata.

mbektas avatar mbektas commented on July 30, 2024

@bsyouness I am able to reproduce the issue. Looks like we need to handle remote connection to chromium browser specially.

from galata.

legendb317 avatar legendb317 commented on July 30, 2024

Hi @mbektas. We have tested the PR with chromium and the process no longer hangs. Thank you for fixing this issue.

from galata.

mbektas avatar mbektas commented on July 30, 2024

hi @legendb317 thanks! We also need to test with Firefox (--browser-type firefox) and Microsoft Edge (--browser-type chromium --browser-path /path/to/edge") before merging. Would you have some time to do that testing?

from galata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.