omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. tomomo

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    tomomo

    @tomomo

    0
    Reputation
    338
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tomomo Unfollow Follow

    Latest posts made by tomomo

    • RE: proxy or sshtunnel (Dynamic Port Forwarding)

      @mikael
      123.123.123.123 is dummy ip address.
      ssh username and password is dummy.

      from sshtunnel import SSHTunnelForwarder
      import ui
      
      with SSHTunnelForwarder(
      	'serveripaddress',
      	ssh_username='user',
      	ssh_password='pass',
      	remote_bind_address=('127.0.0.1',80),
      	local_bind_address=('127.0.0.1',80)
      ) as server:
      	wv = ui.WebView()
      	wv.load_url('http://127.0.0.1')
      	#wv.load_url('https://www.google.co.jp')
      	wv.present('panel')
      

      I also put apache in the jump server for testing.

      I tried to change the source code, but I was logged in with ssh.However, the ssh session seems to be closed immediately and the process will not continue.

      posted in Pythonista
      tomomo
      tomomo
    • RE: proxy or sshtunnel (Dynamic Port Forwarding)
      from sshtunnel import SSHTunnelForwarder
      import ui
      
      server = SSHTunnelForwarder(
      	'123.123.123.123',
      	ssh_username='user',
      	ssh_password='pass',
      	remote_bind_address=('127.0.0.1',3128)
      )
      server.start()
      
      main = ui.ScrollView(frame=(0, 0, 375, 812))
      main.content_size = (375, 812)
      wv = ui.WebView(frame=(0, 0, *main.content_size))
      wv.load_url('http://10.10.10.254')
      main.add_subview(wv)
      main.present('panel')
      
      posted in Pythonista
      tomomo
      tomomo
    • RE: proxy or sshtunnel (Dynamic Port Forwarding)

      @mikael
      Tried sshtunnel.
      I was connected to the jump server, but I could not access the site via the jump server.

      posted in Pythonista
      tomomo
      tomomo
    • RE: proxy or sshtunnel (Dynamic Port Forwarding)

      I also want to access the web site via the jump server in addition to the intranet access.

      posted in Pythonista
      tomomo
      tomomo
    • RE: proxy or sshtunnel (Dynamic Port Forwarding)

      @mikael
      Yes, I would like to access the sshtunnel or proxy on the jump server to connect to the intranet.

      posted in Pythonista
      tomomo
      tomomo
    • proxy or sshtunnel (Dynamic Port Forwarding)

      Is it possible to use proxy or sshtunnel (Dynamic Port Forwarding) in uiwebview?

      posted in Pythonista
      tomomo
      tomomo
    • RE: It's like a bug.

      @cvp Thank you for the several amendments.
      I will try my best to change the contents of the alert dynamically.

      posted in Pythonista
      tomomo
      tomomo
    • RE: It's like a bug.

      @cvp I will try it.

      posted in Pythonista
      tomomo
      tomomo
    • RE: It's like a bug.

      Thank you.
      It ’s full.

      posted in Pythonista
      tomomo
      tomomo
    • RE: It's like a bug.

      Since you cannot press the OK button, you can only delete the app from the task.

      How can I use Pythonista 3.3 beta?

      posted in Pythonista
      tomomo
      tomomo