Closed
Bug 568216
Opened 15 years ago
Closed 15 years ago
Cannot use a different port for the same keypair.
Categories
(Firefox :: Sync, defect)
Tracking
()
RESOLVED
FIXED
2.0
People
(Reporter: peter, Unassigned)
References
Details
(Whiteboard: [qa-])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: 1.0
in order to get get sync to work when using a non standard ssl port i had to edit cef.php.
i changed:
$this->data['extension']['request'] = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
to
$this->data['extension']['request'] = 'https://' . $_SERVER['HTTP_HOST'] . 'Port#Here' . $_SERVER['REQUEST_URI'];
it should detect what port your using there.
Keep up the good work--Thanks,
Peter
Reproducible: Always
| Reporter | ||
Comment 1•15 years ago
|
||
The web server is Ubuntu 10.04 w/ apache if that matters
OS: Windows 7 → Linux
Hardware: x86 → All
| Reporter | ||
Comment 2•15 years ago
|
||
ok there is an issue but my "fix" didn't help. Thought it was working but i guess not.
| Reporter | ||
Comment 3•15 years ago
|
||
2010-05-26 12:23:12 Service.Main DEBUG Weave Version: 1.3b7 Local Storage: 2 Remote Storage: 2
2010-05-26 12:23:33 PrivKeyManager DEBUG Failed to import record: NS_ERROR_NET_TIMEOUT JS Stack trace: Channel_onStopRequest([object XPCWrappedNative_NoHelper],null,2152398862)@resource.js:333 < Res__request(...)@resource.js:208 < Res_get()@resource.js:271 < RecordMgr_import([object XPCWrappedNative_NoHelper])@wbo.js:119 < RecordMgr_get([object XPCWrappedNative_NoHelper])@wbo.js:142 < WeaveSvc__remoteSetup()@service.js:897 < ()@service.js:1216 < WrappedNotify()@util.js:114 < WrappedLock()@util.js:86 < WrappedCatch()@util.js:65 < sync()@service.js:1166 < (6)@sync.js:336
2010-05-26 12:23:33 Service.Main DEBUG Could not get private key
2010-05-26 12:23:33 Service.Main WARN Couldn't download keys from server, aborting sync
2010-05-26 12:23:33 Service.Main DEBUG PubKey HTTP status: 200
2010-05-26 12:23:33 Service.Main DEBUG PrivKey HTTP status: undefined
2010-05-26 12:23:33 Service.Main DEBUG Exception: aborting sync, remote setup failed No traceback available
also wireshark trace show it trying to connect to 443 even thought i have set it to use another port in about:config.
| Reporter | ||
Comment 4•15 years ago
|
||
here is the problem:
GET success 200 https://xxx.com/1.0/xxx/storage/keys/privkey
^ no port #
| Reporter | ||
Comment 5•15 years ago
|
||
Also:
GET success 200 https://xxx.com/1.0/XXX/storage/crypto/clients
^ no port #
Comment 6•15 years ago
|
||
did you enter the port when you entered the custom server URL.
| Reporter | ||
Comment 7•15 years ago
|
||
originally no--i then set extensions.weave.clusterURL and extensions.weave.serverURL are to "https://xxx.com:4443/" through about:config.
Let me know if i there is any other places i need to have the port.
Comment 8•15 years ago
|
||
if you do that + restart the browser, it should be okay... can you paste a full log (or email if, if you're worried about posting it publicly)?
| Reporter | ||
Comment 9•15 years ago
|
||
email sent!
I am hosting this over my DSL connection so i can't use 443 b/c verizon blocks it. Anyway attached is the log that i see when i am not at my house. To test things i VPN-ed to my home network and ran a sync. That's how i could see that it was connecting to the urls above with out the :4443 suffix. All the other connections look to have the port number in them.
Thanks for the help!
~Peter
Comment 10•15 years ago
|
||
So we cache the URL of the privkey in the pubkey, so using different ports to access the same keypair doesn't work. Not sure how much we can do here.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: firefox sync not working with non standard SSL port → Cannot use a different port for the same keypair.
Comment 11•15 years ago
|
||
There was talk of using a relative URL to better enable migration. Probably would fix this, not sure if there's a bug yet.
Component: Sync → Crypto
QA Contact: sync → crypto
Comment 12•15 years ago
|
||
We now use relative URIs for the crypto records.
Status: NEW → RESOLVED
Closed: 15 years ago
Component: Firefox Sync: Crypto → Firefox Sync: Backend
QA Contact: sync-crypto → sync-backend
Resolution: --- → FIXED
Updated•15 years ago
|
Whiteboard: [qa-]
| Assignee | ||
Updated•7 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•