Code Monkey home page Code Monkey logo

Comments (15)

yuya-oc avatar yuya-oc commented on July 21, 2024 1

Sorry for late. Does --ignore-certificate-errors have effect? If so, this is adhoc solution.

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

For now, please try command line switches such as --proxy-server.

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

Hi there,

that doesn't quite do the trick.
I see that data is sent through the proxy when I do a reload now (my proxy
shows bytes received and sent).
But I still get an empty page.
Is there any way to troubleshoot?

Greetings,
Malte

On 3 February 2016 at 16:22, Yuya Ochiai [email protected] wrote:

For now, please try command line switches such as --proxy-server.

http://peter.sh/experiments/chromium-command-line-switches/#proxy-server

http://electron.atom.io/docs/v0.36.5/api/chrome-command-line-switches/#proxy-server-address-port


Reply to this email directly or view it on GitHub
#26 (comment)
.

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

I tried with electron-mattermost.exe --proxy-server=<IP>:<PORT> on Windows, it works. (I chose an open proxy by serching with google.)
The app won't work in your environment even if I add proxy options.

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

Do you have any idea, how I can find out, what's not working, then?
Like I said, my screen stays blank. I only see the teams I added in tabs,
but the tabs remain blank.

Greetings,
Malte

On 8 February 2016 at 13:12, Yuya Ochiai [email protected] wrote:

I tried with electron-mattermost.exe --proxy-server=: on
Windows, it works. (I chose an open proxy by serching with google.)
The app won't work in your environment even if I add proxy options.


Reply to this email directly or view it on GitHub
#26 (comment)
.

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

I have to check webview tag events like did-fail-load to know what happened. However, I don't know whether I can fix it.

BTW, I tried with a proxy in intranet (it requires authentication for internet). Then, I couldn't see mattermost content. electron-mattermost.exe --proxy-server=<USER>:<PASSWORD>@<SERVER>:<PORT>
It seems that Electron doesn't support all proxies.

Just an idea, how about using local proxy?

app -> local proxy -> the proxy -> Mattermost

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

Assuming that, I can't guess why the app doesn't see Mattermost. It's difficult.

btw, would you test this build with --proxy-server switch? It shows detailed logs in devTools console. Although, I think we will see mere connection error...

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

Hi Yuya,

I get a bunch of messages on the console, that don't look too good to me.
;-)
Maybe it helps...

Greetings,
Malte

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

Thank you! errorCode: -501 means INSECURE_RESPONSE (e.g. there was a cert error).

So I want to know following points.

  • Are there any SSL/TLS cert issues on the sever or the proxy?
    • e.g. older version, expired cert, self-signed cert, or intermediate cert
  • Can the app browse https://google.com? (HTTPS content)
  • Can the app browse http://example.com? (HTTP content)

You can add a URL as a team to browse website.

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

Hi,

yes, the Certificate is self signed.
https://google.com and http://example.com work both fine.

Thanks,
Malte

On 16 February 2016 at 12:56, Yuya Ochiai [email protected] wrote:

Thank you! errorCode: -501 means INSECURE_RESPONSE (e.g. there was a cert
error)
https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h&l=712
.

So I want to know following points.

  • Are there any SSL/TLS cert issues on the sever or the proxy?
    • e.g. older version, expired cert, self-signed cert, or
      intermediate cert
  • Can the app browse https://google.com? (HTTPS content)
  • Can the app browse http://example.com? (HTTP content)

You can add a URL as a team to browse website.


Reply to this email directly or view it on GitHub
#26 (comment)
.

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

Hey,

That does the trick!
Thanks,
Malte

On 24 February 2016 at 13:37, Yuya Ochiai [email protected] wrote:

Sorry for late. Does --ignore-certificate-errors has effect? If so, this
is adhoc solution.


Reply to this email directly or view it on GitHub
#26 (comment)
.

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

Excuse me, what does "trick" mean? Were you able to see your Mattermost?

from desktop.

finsterwalder avatar finsterwalder commented on July 21, 2024

Yes. It works now.

"That does the trick" is a general saying.

So I'm sure now, that the certificate is somehow invalid.

Thanks,
Malte

On 24 February 2016 at 14:03, Yuya Ochiai [email protected] wrote:

Excuse me, what does "trick" mean? Did you able to see your Mattermost?


Reply to this email directly or view it on GitHub
#26 (comment)
.

from desktop.

yuya-oc avatar yuya-oc commented on July 21, 2024

I haven't know, thank you.

conclusion:

  • --proxy-server=<SERVER>:<PORT> set the proxy
    • Authentication not working.
    • Electron might follow system's proxy settings. need to research.
  • --ignore-certificate-errors ignores some https certificate errors.
    • When certificate is invalid (self-signed, expired, etc. The case Chrome shows warning.)

from desktop.

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.