Skip to content
This repository has been archived by the owner on Dec 24, 2017. It is now read-only.

Error: IcoMoon app "http://icomoon.io/app-old" could not be opened. #19

Open
nalbion opened this issue May 21, 2014 · 12 comments
Open

Error: IcoMoon app "http://icomoon.io/app-old" could not be opened. #19

nalbion opened this issue May 21, 2014 · 12 comments

Comments

@nalbion
Copy link

nalbion commented May 21, 2014

When this error occurs, your tool captures a screen shot:

Redirecting... Click here if you do not want to wait.
@twolfson
Copy link
Owner

Interesting, can you provide me the following information:

  • What version of grunt/node are you on?
  • What version of grunt-fonsmith are you on?
  • Please upload the screenshot that is returned
  • How many SVGs are you compiling?
  • What is the output of grunt --verbose font?

@twolfson
Copy link
Owner

Oh and one more, please copy/paste the grunt-fontsmith config you are using

@nalbion
Copy link
Author

nalbion commented May 29, 2014

I'm running Windows 7 behind a corporate proxy which requires authentication.
I get the same error regardless of whether I use 1 or 70 SVGs.

grunt-cli v0.1.13
grunt v0.4.4
node v0.10.26

"grunt-fontsmith": "^0.9.1"

    font: {
        dev: {
            src: 'app/img/icons/*.svg',
            fontFamily: 'my-icons',
            destCss: 'app/styles/my-icons.css',
            destFonts: 'app/fonts'
        },
        dist: {
            src: 'app/img/icons/*.svg',
            fontFamily: 'my-icons',
            destCss: 'dist/styles/my-icons.css',
            destFonts: 'dist/fonts'
        }
    },


Running "font:dev" (font) task
Verifying property font.dev exists in config...OK
Files: app/img/icons/alert.svg, app/img/icons/zoom-in.svg, app/img/icons/zoom-out.svg
Fatal error: Command failed: Error: IcoMoon app "http://icomoon.io/app-old" could not be     opened.
Saving debug screenshot to "icomoon-phantomjs-debug.png"

Screenshot:
icomoon-phantomjs-debug

@nalbion
Copy link
Author

nalbion commented May 29, 2014

icomoon-phantomjs needs to be able to support proxies with authentication.
ariya/phantomjs#10811

I've tried grunt font --proxy=http://my-proxy:8000 --proxy-auth=username:password but that didn't work.

I've also tried editing lib/engines/icomoon-phantom.js line 48 (with and without the 'http://') but still no luck:

exec(quote(['phantomjs', icomoonPath, tmpPath, '--proxy=my-proxy:8000', '--proxy-auth=username:password']), cb);

Would this help? cobrateam/splinter#279

@twolfson
Copy link
Owner

Ah, cool. Thanks for the insight =)

It looks like if your patch for icomoon-phantom.js doesn't work then there anything else we can do with that solution.

When you visit the site in your browser, how long does it take before it redirects? We might be able to make icomoon-phantomjs act a little smarter when it comes to loading the page.

http://icomoon.io/app-old

@Ser-Gen
Copy link

Ser-Gen commented Jun 30, 2014

Proxy is real problem. I had Fatal error: connect ETIMEDOUT everytime until set Proxyfier for phantomjs.exe.

@twolfson
Copy link
Owner

@Ser-Gen Can you detail your solution more for disseminated knowledge?

@Ser-Gen
Copy link

Ser-Gen commented Jun 30, 2014

Tools like Proxyfier

allows network applications that do not support working through proxy servers to operate through a SOCKS or HTTPS proxy and chains.

If I can't to set up proxy in icomoon-phantom.js or somewhere inside an app, then I can to do this for all apps that needs it with Proxifier.
I have setted up my proxy, and added a rule for node.exe and phantomjs.exe.

proxifier_rules

@twolfson
Copy link
Owner

Neat, thanks for the info! =)

@porseland
Copy link

Any news on this?
I just started getting this issue 2 days ago. I had my setup working for weeks before this issue occurred.

@twolfson
Copy link
Owner

@porseland Your issue is unrelated to this issue. This one is about handling a corporate proxy. Yours is most likely the SSL issue. Please see #27 for resolution.

@porseland
Copy link

@twolfson thank you for the quick respond and fix!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants