We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

Bug Sailfish emulator not refresh repository [answered]

asked 2014-02-11 11:45:31 +0300

norguhtar gravatar image

updated 2014-03-03 16:27:31 +0300

veskuh gravatar image

I really not understand why pkcon not work in sailfish emulator. I'm set developer password, connect by ssh to emulator run pkcon refresh. And get this:

pkcon refresh Refreshing cache [=========================]
Waiting in queue [=========================]
Waiting for authentication [=========================]
Waiting in queue [=========================]
Starting [=========================]
Refreshing software list [=========================]
Fatal error: Download (curl) error for 'http://releases.sailfishos.org/sdk/latest/nemo/adaptation-x86-common/i486/repodata/repomd.xml': Error code: HTTP response: 407 Error message: The requested URL returned error: 407

But if i'm run curl --head http://releases.sailfishos.org/sdk/latest/nemo/adaptation-x86-common/i486/repodata/repomd.xml

HTTP/1.1 200 OK Content-Type: text/xml Content-Length: 1624 Connection: keep-alive Server: nginx/0.7.67 Date: Fri, 13 Dec 2013 13:37:06 GMT Last-Modified: Fri, 13 Dec 2013 13:35:47 GMT Cache-Control: max-age=60 Accept-Ranges: bytes X-Cache: RefreshHit from cloudfront Via: 1.1 27749bfb500ac4c42334d65501bb14d7.cloudfront.net (CloudFront) X-Amz-Cf-Id: Bg8-J5Q0fQ1FOTZkWgSehdkS27NsdFEf6FquGVEP5ZbQ2XmT2ffxLQ==

It's fine and not need any proxy. Also tcpdump not show me anything request to proxy port or http port

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by norguhtar
close date 2014-02-21 09:10:42.398191

1 Answer

Sort by » oldest newest most voted
1

answered 2014-02-11 13:25:42 +0300

norguhtar gravatar image

updated 2014-02-11 14:09:23 +0300

Okay i'm found it. Connman get local corp proxy. Find it. For disable use local dns need disable forward dns to emulator

VBoxManage modifyvm "SailfishOS Emulator" --natdnshostresolver1 on

On Mer SDK is already set.

edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2014-02-11 11:45:31 +0300

Seen: 270 times

Last updated: Mar 03 '14